I am getting error when i try to create DKIM key

SuperAdmin 5 Reputation points
2024-04-29T06:47:56.55+00:00

When i am click on this Button ( Create DKIM Key)

I am getting this error :

{"error":{"code":"BadRequest","message":"The cmdlet type is not supported via InvokeCommand","innererror":{"message":"The cmdlet type is not supported via InvokeCommand","type":"Microsoft.Exchange.Admin.OData.Core.ODataServiceException","stacktrace":" at Microsoft.Exchange.AdminApi.CommandInvocation.CommandInvocation.InvokeCommand(QueryContext queryContext, CmdletInvokeInputType cmdletInvokeInputType)\r\n at Microsoft.Exchange.Admin.OData.Core.PathSegmentToExpressionTranslator.Translate(OperationImportSegment segment)\r\n at Microsoft.Exchange.Admin.OData.Core.QueryContext.ResolveQuery(ODataContext context, Int32 level)\r\n at Microsoft.Exchange.Admin.OData.Core.Handlers.OperationHandler.ProcessAction(IODataRequestMessage requestMessage)\r\n at Microsoft.Exchange.Admin.OData.Core.Handlers.OperationHandler.Process(IODataRequestMessage requestMessage, IODataResponseMessage responseMessage)\r\n at Microsoft.Exchange.Admin.OData.Core.Handlers.RequestHandler.Process(Stream requestStream)","internalexception":{"message":"Cmdlet type is not supported. Please check the name of the cmdlet: New-DkimSigningConfig","type":"Microsoft.Exchange.AdminApi.CommandInvocation.CmdletNotAvailableException","stacktrace":""}}}}

How to fix it ?

Microsoft Exchange Online
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Noah Ma-MSFT 995 Reputation points Microsoft Vendor
    2024-04-29T09:50:30.3766667+00:00

    Hi @SuperAdmin,

    According to the information, I suggest you could try to use the PowerShell to run the ‘New-DkimSigningConfig’ cmdlet. For more information you can refer to Connect to Exchange Online PowerShell | Microsoft Learn.

    Also, please ensure that the account you are using has the necessary permissions to create DKIM key. You could refer to the document to find out what permissions need: Feature permissions in Exchange Online | Microsoft Learn.

    In addition, please pay attention to the safety of your personal privacy, including the information contained in the picture, I will help you remove it first since I have already known your issue.