Hi,
Im trying to execute Get-AzureADPolicy but im getting the following error:
PS C:\Windows\system32> Get-AzureADPolicy Get-AzureADPolicy : Error occurred while executing GetPolicies
Code: Request_InvalidRequestUrl
Message: Request url was invalid. The request should be like /tenantdomainname/Entity or /$metadata. Tenant domain name can be any of the verified, unverified domain names or context id.
InnerError:
RequestId: a0dbcd2e-5c62-4278-a6ed-b08deee60a55
DateTimeStamp: Tue, 06 Apr 2021 12:57:38 GMT
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed
At line:1 char:1
+ Get-AzureADPolicy
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AzureADPolicy], ApiException
+ FullyQualifiedErrorId : Microsoft.Open.MSGraphBeta.Client.ApiException,Microsoft.Open.MSGraphBeta.PowerShell.GetPolicy
Can someone please take a look on this? I found the same issue on the Microsoft Q&A page but it looks like it was already res
