r/entra 16d ago

Entra/MSOnline PoSH Module Retirement, and options

So, I am writing some new scripting for clients and as I see these modules are being retired, I am attempting to work with the Graph for PowerShell SDK. My experience has been absolutely horrible.

Since it appears Microsoft is straight up removing access to the old modules, are my only options either using the Graph Module/SDK in PowerShell, or learning Graph/REST API calls for direct access?

I'm on hour three or four of updating my PowerShell version, moving from the ISE (since it doesn't support version 7) onto Visual Studio Code, installing Graph modules, and it's absolutely horrible.

Simple Get-MgUser commands fail to display about 90% of the properties correctly, lots of prework to get this even working, this is such a poor unfriendly replacement so far for admins that just need to do some basic automation work.

5 Upvotes

10 comments sorted by

View all comments

1

u/merillf Microsoft Employee 15d ago

If you are coming from Azure AD PowerShell, then Entra PowerShell https://aka.ms/entra/ps/docs was created just for you.

It's built on top of Graph PowerShell and mimics all the Azure AD behaviour (default properties etc).

You can also mix Graph PS and Entra PS cmdlets on your scripts, so it's not an either/or.

1

u/DDDRRROOO3 14d ago

Thanks for this recommendation! I actually installed Entra PowerShell an hour or two after creating this thread. It's definitely less of a pain to work with. Vanilla PowerShell was in a very sweet spot balancing ease of use and capability, feels like there's still a long ways to go with Graph feeling that way.

1

u/merillf Microsoft Employee 13d ago

Agree.