Modules: ActiveDirectory, ExchangeOnline, Microsoft.Graph. Install once, reuse forever.
Microsoft Graph API (Application Programming Interface) exposes M365 (Microsoft 365) over REST. Use Invoke-RestMethod or the Graph SDK.
Rule of three: if you've done it manually three times, automate it. Commit scripts to a shared repo.
