Collection of random scripts for Azure enviroments.
For the runbook scripts, please follow the below tutorials to deploy the prerequisites.
Required Setup for App-Only Authentication:
-
Build PowerShell scripts with Microsoft Graph https://docs.microsoft.com/en-gb/graph/tutorials/powershell?tabs=aad%2Cwindows&tutorial-step=1
-
Configure app-only authentication https://docs.microsoft.com/en-gb/graph/tutorials/powershell?tabs=aad%2Cwindows&tutorial-step=6
Full Tutorial: https://docs.microsoft.com/en-gb/graph/tutorials/powershell?tabs=aad%2Cwindows