Is it common for PowerShell scripts to break regularly due to Microsoft changes?
Asked by
~over by noon
I've been working on an onboarding script for my company that utilizes Graph and ExchangeOnline. It feels like my script stops functioning every month, and I'm not sure if it's because I'm not skilled enough or if this inconsistency is just how PowerShell works. Has anyone else experienced this?
Answers
I got tired of the Graph cmdlets and now I just do everything through API calls. Switching to API has made my scripts much more stable!
Reply to this answer
What sort of errors are you encountering? The Graph module itself works fine, but have you thought about the new Entra module? Itโs easier to use and feels more familiar than the old AzureAD modules. Check it out if you havenโt yet!
~52 cards shuffled: I didnโt realize there was an Entra module; I thought Graph was the latest. Iโll look into it! Regarding errors, I donโt have a specific example right now, but if I do, I might post again.
Reply to this answer
While it might sound harsh, I think your challenges stem from your current skills. The Microsoft Graph API doesnโt change too frequently unless youโre using beta endpoints, which come with their own risks. Most automations we do with Graph and ExchangeOnline remain pretty stable, with maybe just annual tweaks needed. You might want to focus on building your grounding in these tools!
!still listening: I appreciate the honesty! Definitely gives me some motivation to step up my game.
user-interface-copy: What exactly are the risks with the beta endpoints?
Reply to this answer
Add your answer
Answers are reviewed before publication.
~turn signal+: Absolutely, thatโs the way to go!