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?
3 Answers
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!
What exactly are the risks with the beta endpoints?
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!
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.
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!
Absolutely, that’s the way to go!
I appreciate the honesty! Definitely gives me some motivation to step up my game.