I am trying to create Azure AD application using below command but it is throwing exception of type System.Exception
New-AzureRmADApplication -DisplayName SampleADApp -HomePage "http://SampleApplication" -IdentifierUris "http://NewApplication"
I am using Azure Powershell version 3.0 and AzureRM 4.3.1
If I create AAD Application from azure portal then it works fine but again giving same error if I try to create :
New-AzureRMADServicePrincipal