Powershell script to build UAG
Windows - Powershell.exe -File UAGDeployAZ.ps1
MacOS - pwsh -File UAGDeployAZ.ps1
Important - The script uses a settings file UAGSettings.json
. This file must be in the same folder as the script, and it must be that exact name (case sensitive if running on a Mac). The example is a working config file. I would suggest keeping the syntax of the Azure components the same as in the example file, meaning don't add spaces or special characters as the script doesn't do a lot of error checking.
Powershell Az Module - This script relies on the Az Module for cross platform compatibility. The script does check to make sure that it is installed, but to save time you may want to run Install-Module -Name Az -Force prior to running the script.
Location - The item in the settings file that may not be entirely clear is the location field. To find the name of the location you would like to use run the Get-AzLocation command to find the location to use.