Enterprise Application / Service Principal
Authenticating with a App secret
$password = ConvertTo-SecureString 'APP-SECRET' -AsPlainText -Force
$creds = New-Object System.Management.Automation.PSCredential('APP-ID', $password)
Connect-AzAccount -ServicePrincipal -Credential $creds -Tenant TENANT-IDLast updated