OAuth Scope Error

Hemanth H
Tera Contributor

I am trying to setup a integration between Intune and ServiceNow, I keep getting the below error while I test the Get OAuth Token

 

OAuth flow failed. Verify the configurations and try again. : The required field 'scope' is missing from the credential. Ensure that you have all the necessary parameters for the login request. 

1 ACCEPTED SOLUTION

If you open the profile (screenshot one), is the oauth scope linked via the related list

KieranAnson_0-1744096206737.png

 

View solution in original post

4 REPLIES 4

Kieran Anson
Kilo Patron

Is this the OOB intune spoke / intune service graph connector, or something custom? Are you using an application registry? You need to specify scope(s) in order to receive the appropriate permissions

 

KieranAnson_0-1744095705844.png

 

I am setting up a custom integration.

 

My OAuth Profile setup 

 

HemanthH_0-1744096040377.png

My OAuth Scope setup 

 

HemanthH_1-1744096078348.png

 

If you open the profile (screenshot one), is the oauth scope linked via the related list

KieranAnson_0-1744096206737.png

 

Thank you, I was able to figure it out.

Thank you for taking time.