Trying to Set up Microsoft Teams Graph spoke getting Error at get auth token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 09:35 PM
Trying to Set up Microsoft Teams Graph spoke using https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/integrationhub-store-spokes/task/set-up-msteams.html.
when I try to get auth token I get Error
Sorry, but we’re having trouble with signing you in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 09:42 PM
Hi,
Are you trying to consume Microsoft Teams API?
If yes then you should be checking this error on Microsoft site to know what it means and how it expects the request to be sent
AADSTS900144: The request body must contain the following parameter: 'scope'.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 04:09 PM
Thanks for your response, Yes we are trying to setup Teams API. I logged ticket with Microsoft, their initial response is that
"According to the error information shared in case description I have checked Azure AD side logs, and it appears the certain authentication request that Azure AD received is like this (some parameters are masked):
Based on parameter “response_type=code” it looks application was trying to authenticate using OAuth2 Authorization Code flow, for this authentication flow the parameter “scope” is necessary in the authentication request. You can refer to this document for all the parameters which is necessary in an OAuth2 Authorization Code flow authentication request:"
regards
Saeed