https://www.locktar.nl/programming/powershell/connect-to-azuread-with-service-principal/
Connect to AzureAD with Service Principal