Forum Discussion
SharePoint Integration with other Platforms
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?
Please find the below solution created by me
https://github.com/sprider/wordpress/tree/master/Samples/SPOL_REST_Test
- Kiril IlievBrass Contributorhttps://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.- Joseph VelliahCopper Contributor
Please find the below solution created by me
https://github.com/sprider/wordpress/tree/master/Samples/SPOL_REST_Test
- doriansabitovCopper Contributor
Hi! It sounds like you’re working on an interesting POC with SharePoint Online integration. The error message, 'Direct login to WLID is not allowed for this federated namespace,' typically arises due to restrictions on direct authentication when federated authentication (usually managed via Azure AD) is enabled in corporate environments. To resolve this, you may need to configure an OAuth-based authentication flow in Azure AD, allowing external applications to authenticate with SharePoint Online.
For Sharepoint Salesforce integration, leveraging SharePoint’s REST API is indeed a good approach. Once authentication is set up correctly, you should be able to pull or push data between SharePoint and Salesforce, as well as other platforms like JAVA and Informatica. If your POC involves bi-directional integration, consider using middleware (like Mulesoft or SAP CPI) to handle data transformations and ensure secure, reliable connections. Let me know if you’d like further insights on the integration steps or authentication setup—I’d be glad to help!