Unable to activate Domain Synchronization from the Microsoft Online Portal

Issue

When trying to activate domain synchronisation from the Microsoft Online at the following URL, there is an error:

https://portal.microsoftonline.com/DirSync/DirectorySynchronization.aspx

Sorry, we can't process your request.  
You donít have permission to access this page or perform this action.

Support Information 
Correlation ID: 
sea#579dde6b-9726-4b95-b181-86cbb4b4e893  
Session ID:  
Error code: 
0



Resolution

This can be done via PowerShell using the Windows Azure AD Module.

Download and install the Windows Azure AD Module for Windows PowerShell:
http://technet.microsoft.com/en-us/library/jj151815.aspx#bkmk_installmodule

Run the following PowerShell commands:
$cred = get-credential


Enter the admin@<company identifier>.onmicrosoft.com credentials then run the following commands:
Connect-MSOLService -credential $cred
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled


This will return the current state of activation. To activate Directory Synchronisation:
Set-MsolDirSyncEnabled -EnableDirSync $true


Re check that Directory Synchronisation is now activate. The following command should return True:
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled

References

Activate directory synchronization
http://technet.microsoft.com/en-us/library/dn144766.aspx

Directory synchronization for Office 365 can't be activated or deactivated
http://support.microsoft.com/kb/2654338

Products

Microsoft Office 365 (any)

Created: 11th May 2014
Updated: 18th May 2014


© 2005-2017 Jamie Morrison