Retrieving Device enrollment configurations not working anymore

Jay Goos 1 Reputation point
2022-02-25T14:50:47.03+00:00

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.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,323 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jason Doyle 1 Reputation point
    2022-05-17T06:23:08.477+00:00

    I am encountering the same issue, need assistance or answer here to help me in resolving.


  2. 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.

    0 comments No comments