Windows Azure – Sync Tip
This week I was creating new users on one of our domain controllers. TheÃ‚Â client has Office 365 so we used Windows Azure to sync the users to Office 365. ThatÃ‚Â way you only have to make the user once and you can enable password syncing. To manually run the sync you run the below commands in Powershell.
One of the errors I ran into while kicking off the sync is below. It caughtÃ‚Â me off guard because it usually runs flawlessly. Through quick research I found the resolution. If you see the below error when starting the import simply add the -ExecutionPolicy ByPass command. So to run Powershell you would type Ã¢â‚¬Å“Powershell -ExecutionPolicy ByPass.Ã¢â‚¬Â
*This is a veryÃ‚Â easy trick to know and could save you a lot of troubleshooting*
PS C:\Users\administrator.yourdomain > Import-Module Dirsync
Import-Module : File C:\Program Files\Windows Azure Active Directory
Sync\Dirsync\.\ImportModules.ps1 cannot be loaded because the execution of scripts is disabled on this
system. Please see “get-help about_signing” for more details.
Credit given to: