can't enable Dkim-Key

Hicham Houmami 1 Reputation point


i can't enable Dkim-Key neither from 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

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

    @Hicham Houmami

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


    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 -KeySize 2048 -Enabled $false  


    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