SOLVED

SharePoint Integration with other Platforms

Copper Contributor

Hi,

 

I am trying to do a POC on SharePoint Online Remote Authentication as explained in the below article:

 

http://paulryan.com.au/2014/spo-remote-authentication-rest/

 

When I try to get the security token I am getting the “Direct login to WLID is not allowed for this federated namespace” error from my corporate SharePoint Online Tenant but I am able to get the security token from my MSDN Development Tenant.

 

Note sure if we need to enable anything in Azure side. Basically I am trying to do a POC to explain how SharePoint REST APIs can be opened to integrate with other technologies we use internally like JAVA, Informatica, Salesforce, etc.

 

Any suggestions? 

2 Replies
https://msdn.microsoft.com/en-us/office/office365/howto/add-common-consent-manually

I'd ensure first that the Azure AD Web application has the needed permissions. Usually that way we register our applications - however, if we want to target only specific site collections, we use the specified site collection appinv.aspx page.

Also, if you are testing this in the browser, I'd ensure that I was logged in a private session to ensure that my dev tenant login does not interfere with my prod tenant login.
best response confirmed by Joseph Velliah (Copper Contributor)
Solution

Please find the below solution created by me 

https://github.com/sprider/wordpress/tree/master/Samples/SPOL_REST_Test

1 best response

Accepted Solutions
best response confirmed by Joseph Velliah (Copper Contributor)