can't enable Dkim-Key

Hicham Houmami 1 Reputation point
2022-11-17T01:25:19.123+00:00

hello,

i can't enable Dkim-Key neither from https://security.microsoft.com/dkimv2 neither from powershell.

the issue is that it keeps loading then finish with error also in powershell after proccesing comand New-DkimSigningConfig -DomainName <domain> -Enabled $false i get error "ConvertFrom-Json: Conversion from JSON failed".

you can find attached bellow image of error
261647-1.png

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,498 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,246 Reputation points
    2022-11-18T01:56:35.523+00:00

    @Hicham Houmami

    Use command below to check whether DKIM configuration exists for this domain:

    Get-DkimSigningConfig  
    

    If there exist a configuration for this domain, you need to use Set-DkimSigningConfig command to modify it.

    If there doesn't exist configuration for this domain, you could try to run this command as below:

    New-DkimSigningConfig -DomainName domain.com -KeySize 2048 -Enabled $false  
    

    261598-1.png

    If you still cannot run it, I would suggest you try to run this command in Exchange online module V2. I am using the V2 module.

    For protect personal privacy, I will help you remove domain name from your screenshot.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments