azure - Oauth into Office 365 non-retryable error has occurred -


i'm trying oauth office 365's unified api read users calendar information.
have created web application/web api in microsoft azure portal , believe have configured correctly. have invoked below request authorization code:

https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&client_id=4795e078-8b61-4fa4-b6e5-8ca70278495b&redirect_uri=http://www.proxym-it.com&resource=https:%2f%2foutlook.office365.com%2f&state=5fdfd60b-8457-4536-b20f-acb658d19460

i have accepted authorisations give access application specified resources, i'm getting response:

http:// www.proxym-it.com/?error=server_error&error_description=aadsts90092: non-retryable error has occurred. trace id: de10c24b-fecf-46c0-bcb8-18fa8f208360correlation id: a5534f3b-9154-41db-99f6-9f4c25bf2acbtimestamp: 2015-06-19 08:57:41z&state=5fdfd60b-8457-4536-b20f-acb658d19460 

any suggestions? please advise.

please try setting resource https://graph.microsoft.com/ in request if using unified api. unified api, calls should go resource , endpoint, , not underlying workloads o365 outlook or o365 sharepoint. unified api abstracts away silos.

you might want check out of samples have on github. search "unified" on code samples index page: https://msdn.microsoft.com/en-us/office/office365/howto/starter-projects-and-code-samples

hope helps


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -