I am encountering the same issue, need assistance or answer here to help me in resolving.
Retrieving Device enrollment configurations not working anymore
Hello all,
I have retrieved every device Enrollment Configurations from the Graph API by using: "https://graph.microsoft.com/v1.0/deviceManagement/deviceEnrollmentConfigurations?$select=id".
But suddenly i get a forbidden error:
"Application is not authorized to perform this operation as called in app only context but does not have application permissions configured.
I use an app registration with a token to authorize my requests. In the past it has always worked. Did something changed?
Update: Problem was on the Microsoft Side. They updated the Graph API and caused an authentication problem when you were authenticating as "app-only Context". Couple weeks ago they fixed it.
2 answers
Sort by: Most helpful
-
-
Jay Goos 1 Reputation point
2022-05-17T07:09:24.207+00:00 I created a ticket with Microsoft and they escalated it to the engineers. The engineers told it was on their side.
See solution: Problem was on the Microsoft Side. They updated the Graph API and caused an authentication problem when you were authenticating as "app-only Context". Couple weeks ago they fixed it.