Blog Post
Action required: MSOnline and AzureAD PowerShell retirement - 2025 info and resources
This evening we're experiencing a MSOnline "fire drill" where it is temporarily blocked to "help" us find places that will be broken in a month or two.
One of the PowerShell scripts I have that uses it updates UserPrincipalName for users, because back in the day the sync process wouldn't. I went to see if what Copilot told me about the sync configuration to get it flowing automatically was on track but I couldn't because while authenticating I got the message "An error occurred while executing the An error occurred while executing the 'Get-MsolUserRole' command. Access Denied. You do not have permissions to call this cmdlet. command. Learn more" (The broken-sounding message is faithfully reproduced here.)
We are running version 2.3.20.0 which https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-version-history#retiring-microsoft-entra-connect-2x-versions states is supported until October 7, 2025. I don't know how it can be supported if it relies on the MSOnline module that will be gone months before.
I've got other projects with deadlines, too. I don't need this kind of fire drill and this uncertainty.
so far I see the version: 2.3.20.0 is supported until March 31st 2025:
| Version | End of support date |
|---|---|
| 2.3.2.0 | 31 Mar 2025 (To align with the security change released in version 2.4.18.0) |
| 2.3.6.0 | 31 Mar 2025 (To align with the security change released in version 2.4.18.0) |
| 2.3.8.0 | 31 Mar 2025 (To align with the security change released in version 2.4.18.0) |
| 2.3.20.0 | 31 Mar 2025 (To align with the security change released in version 2.4.18.0) |
from: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-version-history#retiring-microsoft-entra-connect-2x-versions
- ChrisClaytonSTLCCMar 03, 2025Brass Contributor
It was October 7th until February 21, and then they changed it. If you look, you'll see they changed it again to April 7th to align with what I pointed out they had announced in the Message Center last fall. If you click the pencil at the top of the document, you can see the edit history. https://github.com/MicrosoftDocs/entra-docs/blob/main/docs/identity/hybrid/connect/reference-connect-version-history.md
- Akos_RMar 03, 2025
Microsoft
yes. this is true. you can continue to use those versions - what I do not recommend as the product won't work as expected. Newer versions are not affected by this change.
I do not see any issue, why an in-place upgrade - takes max 15 min - would not be possible. If you need any further help, feel free to raise a support request.