Running fiddler tells me that it is a bad request.
{
"error": {
"code": "Request_BadRequest",
"message": "The property 'id' does not exist on type 'Microsoft.DirectoryServices.RequiredResourceAccess'. Make sure to only use property names that are defined by the type.",
"innerError": {
"date": "2020-08-26T21:28:30",
"request-id": "9b7797c7-161f-4a56-85b1-4f236f6276a8"
}
}
}
Initialize-PnPPowerShellAuthentication -ApplicationName pnprocks -Tenant tenantname.onmicrosoft.com -OutPath C:\TEMP\mycerts Initialize-PnPPowerShellAuthentication : Exception while invoking endpoint https://graph.microsoft.com/beta/applications. At line:1 char:1
Running fiddler tells me that it is a bad request. { "error": { "code": "Request_BadRequest", "message": "The property 'id' does not exist on type 'Microsoft.DirectoryServices.RequiredResourceAccess'. Make sure to only use property names that are defined by the type.", "innerError": { "date": "2020-08-26T21:28:30", "request-id": "9b7797c7-161f-4a56-85b1-4f236f6276a8" } } }
Using Graph Explorer, I am able to create new AAD application using same user that I use to login when executing Initialize-PnPPowerShellAuthentication. I am creating simple aad application as shown in below article via graph explorer https://docs.microsoft.com/en-us/graph/api/application-post-applications?view=graph-rest-1.0&tabs=http