Forum Discussion
Unable to setup DKIM via PS (empty selectors)
I'm trying to setup DKIM for my new Microsoft 365 instance. I created two CNAME entries, which I verified via dmarcanalyzer.com (selector1, selector2).
I got the selector names from:
Get-DkimSigningConfig | FL Identity,Selector1CNAME,Selector2CNAME
However, when I run:
Set-DkimSigningConfig -Identity my.domain -Enabled $true
CNAME record does not exist for this config. Please publish the following two CNAME records first.
{0}
{1}
I get the same two blank {0} and {1} when enabling DKIM from the Exchange protection console.
What's going on?
3 Replies
- If the records are in place and correct it may be a DNS issue? Best to contact MS support to get them to check.
- Traveler700Copper Contributor
SeanMcAvinue ya it was a typo in a DNS record that was causing the problem. However, the PS error and Exchange console could have returned more helpful information than just blank {0} and {1} data. But it's now working.
- Good to hear, I've been caught out on typos with DKIM before .