Forum Discussion

Yash_Mudaliar's avatar
Yash_Mudaliar
Iron Contributor
Apr 24, 2021

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 use for it.
I tried using 'Basic' and 'OAuth' both, but none of them works.
Screenshot attached. Please help.

    • Yash_Mudaliar's avatar
      Yash_Mudaliar
      Iron 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 Lecomte's avatar
        Thijs Lecomte
        Bronze Contributor
        What permissions have you configured in your app? Did you add the permissions the error codes in mentioning?

Resources