Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Office365 API for SSO domains seems to fail

$
0
0

I'm currently exploring the (Academic Licensed) Office365 API via oAuth access_tokens and have succeeded in retrieving a simple OneDrive folder list via the SharePoint API using access tokens, as a proof of concept.

But this seems to work only for users that are in the Azure onmicrosoft.com domain that's NOT SSO enabled to our on-premise ADFS server.

The domain that is SSO enabled to our own ADFS server succesfully gets logged in on acquiring the oAuth code and I get a genuine access_token while trading in this code. But using this access_token to retrieve a simple folder list for the user results in this error instead of a folderlist.

{"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."}

Which I can't check since I'm not in control of the Azure Sharepoint server.

Did anyone succeed in using the Office365 API icw SSO enabled domains/users?

It seems the Outlook (Office365 Exchange server) doesn't suffer this problem(?) btw. I get mail/calendar answers for both onmicrosoft.com AND federated domain users on the access_token (bearer) authentication.


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>