AADSTS900192: Unable to determine the tenant identifier from the request

Raffaele Guasco 21 Reputation points
2022-02-03T14:21:45.777+00:00

Hi I am trying to get access token running a Post request from Postman.

I registered the Client in Sharepoint and in AppPrincipals.aspx page can see the Client Id and realm associated.

When run the request I receive the error in the Object with code AADSTS900192.

Could you please let me know how to solve this?

Many thanks.
Kind regards.

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 40,486 Reputation points Microsoft External Staff
    2022-02-04T05:47:14.143+00:00

    Hi @Raffaele Guasco ,
    Check steps of register App in https://contoso.sharepoint.com/_layouts/15/appregnew.aspx and grant access in https://contoso-admin.sharepoint.com/_layouts/15/appinv.aspx by following document.
    https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

    Then you can get Access Token by the following article.
    https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.