Guides / Microsoft 365 with PowerShell
Microsoft 365 with PowerShell
Set up a sign-in that works without a person at the keyboard, so the M365 scripts can run on a schedule.
Setup time: 30 minutes, once · 9 steps
- 1PowerShell 7
- 2Install modules
- 3Certificate
- 4App registration
- 5Permissions
- 6Run
- 01Install PowerShell 7 (recommended)
- 02Install the two modules
- 03Make a certificate for the script
- 04Register an app for the scripts
- 05Upload the certificate
- 06Give it only the permissions you need
- 07Assign a role for Exchange scripts
- 08Run a script
- 09Prefer to sign in by hand?
Included with every paid plan
Members get the full guide: every command ready to copy, where to click, a check-it-worked list and links to the official downloads.
Members: the full guides are in the Setup-Guides folder of your library download.