Is MS Graph Replacing All My Old PowerShell Cmdlets?

0
0
Asked By UserFriendly99 On

Hey everyone! I need some help with transitioning some of my PowerShell scripts that utilize older cmdlets like MSolService, AzureAD, and ExchangeOnlineManagement to use MS Graph instead. I heard that MS Graph is supposed to be replacing some of these older tools, particularly MSolService and AzureAD, but I'm confused about Exchange. I thought they just released a new version of Exchange Online PowerShell. Do I really need to rewrite all my scripts related to Exchange as well? I'm particularly struggling with exporting mail rules for users using Graph. Thanks for any insights!

5 Answers

Answered By TechSavvy23 On

As for Exchange Online, it’s not going anywhere just yet. They’ve updated the PowerShell module to use REST APIs and modern authentication, so it still works. Check out the details on their site to make sure you’re using the latest.

CuriousCoder88 -

I thought Entra PowerShell wasn't ready for widespread use yet—has there been an update on that?

GratefulUser67 -

Thanks! Really appreciate the clarity.

Answered By AdminExpert82 On

I’ve started converting some scripts to Graph too. One challenge I hit is that Graph can’t see mailbox delegation, so I had to stick with Exchange Online for that specific task. Also, Graph doesn’t support certain operations yet, like converting UserMailboxes to SharedMailboxes, which means I still need to rely on the Exchange cmdlets from time to time.

SkepticalTechie -

Honestly, using certs for authentication seems better anyway, but it's frustrating that not all services support them.

Answered By PlainSpeak360 On

Graph aims to centralize API access for Microsoft 365 apps. While not all the functionality is there yet, Microsoft’s goal will likely make older APIs obsolete in the future. Currently, Graph is missing some basics, but it’s supposed to facilitate smoother operations across different services.

SkepticalTechie -

Absolutely, but it's definitely a hefty task to fully transition to Graph.

Answered By FutureProof89 On

In the long run, I think all the PowerShell modules will be replaced with Graph as Microsoft seems to be taking steps towards simplifying how we access their services. It’s just that right now, there are still some features missing in Graph that we rely on from older modules.

Answered By ScriptWizard44 On

Graph is intended to be an all-in-one access point for Microsoft services via a REST API. While it can be a hassle to rewrite scripts to adapt to this new approach, that's the direction Microsoft is taking. They’re gradually moving everything over to Graph, so you're likely on the right track by making the switch, even if it feels daunting.

PowerShellJedi -

I've actually switched to using Python for this stuff. It suits my needs better for now.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.