Share via

"AADSTS70001" Error unauthorized_client

Anonymous
2016-04-23T12:26:51+00:00

Hi Team,

I am working on consuming the REST API of the Office 365 and for that i have registered my application and 

copied - Client id and key and now sending the REST request to fetch the access token but getting below error.

{

"error": "unauthorized_client"

"error_description": "AADSTS70001: Application with identifier '0a9cafa26-8ecb-4198-965e-e10f37df2441' was not found in the directory 1eac19b5-09c8-4700-90d3-9a15a62b8213 Trace ID: 37c70327-f082-4d5b-ac1e-085c6750ac01 Correlation ID: e511a7b2-863d-492d-9d8d-b1ca514f955c Timestamp: 2016-04-23 17:15:04Z"

"error_codes": 

[

1]

0:  70001

-

"timestamp": "2016-04-23 17:15:04Z"

"trace_id": "37c70327-f082-4d5b-ac1e-085c6750ac01"

"correlation_id": "e511a7b2-863d-492d-9d8d-b1ca514f955c"

}

However, i was successful initially but now when i am using the same request it is throwing the error.

Can anyone please help.

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2016-04-23T22:17:58+00:00

    Hi YashKedia,

    As our forum focuses on Office 365 online services, for any questions or issues related to API, I suggest you post them in our MSDN Forumfor professional assistance.

    Thanks for your understanding.

    Here is a relevant blog for your reference:

    https://blogs.msdn.microsoft.com/exchangedev/2015/01/21/building-daemon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow/

    Regards,

    Robert

    Was this answer helpful?

    0 comments No comments