› Forums › Email Marketing › General Q&A › “No DKIM keys saved for this domain” for Office365 DKim
- This topic has 16 replies, 7 voices, and was last updated 1 month, 3 weeks ago by
Hasan AboulHasan.
- Post
-
- November 5, 2020 at 3:18 pm
While Setting up Office365 following this videoIn the Dkim Setup, it shows this:
No dkim saved for this domain
Any solution?
00
- Replies
-
- November 5, 2020 at 3:19 pm
Sometimes a newly added domain in Microsoft Office365 will not let you enable DKIM from the web user interface.YOu can Enable Dkim Keys, by manually creating it.
On Your Windows PC, Open Powershell as administrator
Then run the following commands one by one:
Command 1:
$UserCredential = Get-Credential
Enter your outlook account credentials
Command 2:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Command 3:
Import-PSSession $Session -DisableNameChecking
Wait for the process to finish, then run the following:
New-DkimSigningConfig -DomainName “mydomain.tld” -Enabled $true
*Replace mydomain.tld with your domain
This command will succeed in generating the DKIM keys
Last Command:
Remove-PSSession $Session
Now go to your office365 admin center, and check dkim settings.
Don’t forget to copy DNS records as explained in the video tutorial.
00- November 8, 2020 at 9:18 pm
Please Mr Hassan, whenever i try to run Powershell as an administrator i will get this error message” This operation has been cancelled due to restrictions in effects on this computer. Please contact your system administrator”
Please help with the solution, Thanks
00- November 9, 2020 at 3:08 pm
You Have to be a user with admin rights on your PC, this is user is limited.00- November 9, 2020 at 5:29 pm
I’m the owner and the only user of the laptop, so how do I become a user within the admin? Please kindly reply with steps. Thank you00- November 11, 2020 at 5:54 pm
Hi friend, this is totally out of scope, anyway, you have to create an admin user, just do a small google search, the problem is from you side.00- November 24, 2020 at 9:58 am
Hi,I can’t move forward from this point. I have issue with the commander.
Please see screenshot here -> https://drive.google.com/file/d/1pSlvbhy7pVJoXyDP9rqvS926-1e3UVjR/view?usp=sharing
Please help.
Thanks00- November 24, 2020 at 11:42 am
attach screenshots here, as I cant see your attachment.00- November 24, 2020 at 1:20 pm
This is the message that I keep getting in the console when running command no 3.Import-PSSession : Files cannot be loaded because running scripts is disabled on this system. Provide a valid
certificate with which to sign the files.
At line:1 char:1
+ Import-PSSession $Session -DisableNameChecking
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-PSSession], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.ImportPSSessionCommand-
This reply was modified 1 month, 4 weeks ago by
Martin.
00- November 25, 2020 at 7:01 pm
- November 26, 2020 at 8:52 am
when i enter the Command 2: this error i receive.New-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Conne …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed00- November 26, 2020 at 9:14 pm
Hi Hassan is there any way you can help with this errorNew-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Conne …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed00- November 28, 2020 at 10:09 am
can we get an answer to this, for this set up , it is not working as you stated00- November 28, 2020 at 2:21 pm
Hi Friend, if you are getting an authentication problem, then there is something wrong with the setup.did you enable SMTP access in the office65 dsahbord?
00- November 28, 2020 at 6:17 pm
Thank you Hassan i was able to solve the problem as i enable the smtp access but after setting everything up , , Smtp cant. be test or working yet and i checked my domain again , it was blacklisted , what can i do to remove domain from blacklisted or make smtp credential connect ..00
- You must be logged in to reply to this topic.