Get-DkimSigningConfig

This cmdlet is available only in the cloud-based service.

Use the Get-DkimSigningConfig cmdlet to view the DomainKeys Identified Mail (DKIM) signing policy settings for domains in a cloud-based organization.

Note: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see Connect to Exchange Online PowerShell.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-DkimSigningConfig
   [[-Identity] <DkimSigningConfigIdParameter>]
   [<CommonParameters>]

Description

DKIM in Microsoft 365 is an email authentication method that uses a public key infrastructure (PKI), message headers and CNAME records in DNS to authenticate the message sender, which is stamped in the DKIM-Signature header field. DKIM helps prevent forged sender email addresses (also known as spoofing) by verifying that the domain in the From address matches the domain in the DKIM-Signature header field.

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-DkimSigningConfig

This example shows a summary list of all DKIM signing policies in your organization.

Example 2

Get-DkimSigningConfig -Identity contoso.com | Format-List

This example shows detailed information for the DKIM signing policy for contoso.com.

Parameters

-Identity

The Identity parameter specifies the DKIM signing policy that you want to view. You can use any value that uniquely identifies the policy. For example:

  • Name: The domain name (for example, contoso.com).
  • Distinguished name (DN)
  • GUID
Type:DkimSigningConfigIdParameter
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

Inputs

Outputs