Create a Application in Azure AD with Azure PowerShell Certificate authentication
问题 I was trying to Create a Application in Azure AD with Azure PowerShell Certificate authentication, below is the Powershell snippet: Login-AzureRmAccount $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate("PATH_TO_CER_FILE") $key = [System.Convert]::ToBase64String($cert.GetRawCertData()) $app = New-AzureRmADApplication -DisplayName "SetupTet4" -HomePage "http://localhost" -IdentifierUris "http://localhost" -KeyValue $key -KeyType AsymmetricX509Cert New