Announcements
No record found.
Hi all,
I'm trying to connect my CRM on-premise with Exchange Online following this link https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/deploy/connect-dynamics-365-on-premises-exchange-online. At step 1 in Configure server-based authentication, it asks me to start Azure Active Directory Module for Windows PowerShell. How can I check if it started or not? If not, how can I start it?
Hello Chinh,
Thanks for reaching Dynamics community. For starting the Azure Active Directory Module for Windows PowerShell, you will have to basically install these PowerShell modules and force import them using PS on the local server as ::
Please note that the commands would require PS module version 5, which can be checked using the command :: $psversiontable.psversion
If it is not, you can download Windows Management Framework 5.1, which includes Windows PowerShell 5.1, from the Microsoft Download Center.https://www.microsoft.com/en-us/download/details.aspx?id=54616Post the above action, you may comfortably proceed to start the Azure Active Directory Module for Windows PowerShell and PowerShell module for Microsoft Dynamics as ::
Enable-PSRemoting -forceNew-PSSession
Install-Module MSOnline (https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-msonlinev1?view=azureadps-1.0#install-the-azure-ad-module)
Install-Module MSOnlineExtImport-Module MSOnline -forceImport-Module MSOnlineExt -force
Please mark my comment as answered if this helps.
Thanks,
Saurabh
I am having also this issue. How do I use a PowerShell script built using the Windows Active Directory module as an Active Roles Server Script Module? I am trying this I am getting an error that "GEt-ADGroupMember" is not recognized. I think this is because it does not recognize the cmdlet without the ActiveDirectory module.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 184 Super User 2026 Season 1
11manish 125
CU11031447-0 100