Error!!! "OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, Missing parameters: access_token"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2022 07:04 PM
Gurus and Experts,
I really need some assistance here. I did my due diligence but I am stuck. In the attachment are screenshots of the steps I did to access SharePoint using OAuth2.0. It is a client _credentials grant type and works normally with POSTMAN.
In my dev instance, Application Registry, OAuth Entity Profile, and Credentials are setup but I'm receiving an error (as shown in the title above).
I have no means of verifying the Script Includes (OAuthConsumerSupport) that I used in Application Registry. Is this the right one? Or doe sit need some update?
Any tips or leads is appreciated.
Thanks,
Dor
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2022 07:23 PM
Hi Salvador Marchan,
Can you remove the OAuth API Script once and test and see what error you are getting? Sometimes that script causes issues. Thanks.
Regards,
Nayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 04:29 AM
Hi,
A different error is displayed:
OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, AADSTS900144: The request body must contain the following parameter: 'resource'. Trace ID: 289cfa3f-6e1b-416c-a812-68463cca7a00 Correlation ID: 7b3d23e7-6c20-4c68-b95c-9a0769da1117 Timestamp: 2022-02-15 12:18:52Z, https://accounts.accesscontrol.windows.net/error?code=900144
BTW, as instructed in this KB Article link (https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0788079), I installed Microsoft SharePoint spoke.
OAuth API Script: OAuthUtilSPOnline (this will come automatically after installing the Microsoft SharePoint online Spoke plugin)
I'll try this Script Includes (OAuthUtilSPOnline)...see Attachment for the code.
thanks again,
Dor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 04:31 AM
I got the same error (red font)... 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 12:30 PM
Hi,
Another error is displayed:
OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, AADSTS900144: The request body must contain the following parameter: 'resource'. Trace ID: cfb0faa7-782b-4bc1-85db-0ff0e9730500 Correlation ID: 6dacf945-ab6d-4604-89bc-193f5ecedb24 Timestamp: 2022-02-15 20:28:40Z, https://accounts.accesscontrol.windows.net/error?code=900144
(Im reading the Microsoft SharePoint spoke. Let's see if this helps.)
Thanks,
Dor