GetToken function

Works with Azure PowerShell Az module

Before running the ‘GetToken’ you have to Sign in to Azure obviously using ‘Connect-AzAccount’ cmdlet.

Thanks for reading!