Forum Discussion
Yash_Mudaliar
Apr 24, 2021Iron Contributor
Authentication issue while calling Graph Explorer via HTTP action
Hello, I am running a query for exporting device compliance reports via graph explorer in the HTTP action in the playbook. But all I am getting is the authentication issue, no matter what account I...
Thijs Lecomte
Apr 26, 2021Bronze Contributor
Check out this article, you need to use Active Directory Auth: https://gregramsey.net/2020/04/07/how-to-use-logic-apps-to-query-intune-for-device-information/
- Yash_MudaliarApr 26, 2021Iron Contributor
Thijs Lecomte , Thanks for your response.
Followed that step but got the below error:
"Message\": \"Application is not authorized to perform this operation. Application must have one of the following scopes: DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All, DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All, DeviceManagementManagedDevices.Read.All, DeviceManagementManagedDevices.ReadWrite.All- Thijs LecomteApr 26, 2021Bronze ContributorWhat permissions have you configured in your app? Did you add the permissions the error codes in mentioning?
- Yash_MudaliarApr 28, 2021Iron Contributor
Thijs Lecomte , Thank you for your previous reply. It was really helpful.
I got that point sorted. I got all the needed permissions for the app from which I used the secret. Screenshot attached.
Still I get the very same error. Do you have any other idea on how to resole this?