-
Ensure you're running on a Windows OS since the 'AzureAD' module only support Windows PowerShell, not PowerShell v6.0 (x-plat)
-
Install the Azure PowerShell module
PS C:\> Find Module Az | Install-Module
-
Install the Azure AD Module
PS C:\> Find Module AzureAD | Install Module
- Clone this repo
- Change current directory to /deploy
PS C:/> cd ./deploy
- Ensure you're authenticated via PowerShell 'Login-AzAccount' and have selected the target subscription with 'Set-AzSubscription -SubscriptionId
- Execute the PowerShell script
PS C:/> ./deploy.ps1