Hi,
I am trying to create ad application using powershell script and getting the permission denied error, I am logging in using Microsoft account( MSDN subscription). Please let me know if you have idea how to fix the issue. I can create application on the azure portal without issues.
New-AzureADApplication : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient privileges to complete the operation."}}}At line:1 char:1
+ New-AzureADApplication -DisplayName 'testss' -HomePage 'http:\\test.com' -Iden ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureADApplication], CloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.NewAzureADApplicationCommand