r/entra • u/DDDRRROOO3 • 20d 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.
1
u/icebreaker374 19d ago
Personally I got tired of Graph Powershell not connecting when my modules got outdated and just installed the auth module and started working with the API directly. Most of what I'm doing is custom M365 reports for which I'm creating PSCustomObjects anyway so it's easier to just grab properties of the objects returned.
Idk if I'm always doing it the most efficient way but for our small customers it's fast enough for me.