r/PowerShell • • Jun 14 '26

Question PowerShell Universal vs Azure automation for scheduled scripts and front-end interfaces?

I've heard of and dabbled a little bit with both PowerShell Universal vs Azure automation but haven't got too deep in either. We have a hybrid AD/Entra environment and do a lot with Entra and Intune but still have an on-prem footprint.
Which one would be better if I'm going down the road of scheduling PowerShell scripts, scheduling scripts that generate reports and e-mail them to a distribution list, and also providing front-end interfaces for entering information to run a script against (i.e. entering an e-mail and getting a report of their group membership, etc.)
It seems like PowerShell Universal has a lot of features that are easy to see listed but I'm not sure if all of what it has are possible out of the box with built-in Azure tech.

12 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/rumham_86 Jun 18 '26

You can use a shared mailbox or user mailbox.

You can also run it via a relay, etc. look up azure app registrations and look up RBAC for mailbox as app permissions runs as daemon so default permission means send as ALL mailboxes so you should lock it down to single mailboxes. Easy to setup and supersedes app access policies.

With PSU I recommend looking up cache.

You can run daily caches to get daily updated info, hourly, every minute etc.

Your team can onboard users using live drop down menus etc for departments and steppers can be used a a switch statement for if development then auto add to these groups and perms, if hr access to this app, etc.

It’s all really powerful but keep in mind early on steep learning curve but once you get the hang it’s really well done and super powerful and easy to use.