SharePoint 2013/2016/2019: Use CSOM in SharePoint Site with multiple authentication schemes

Scenario I have a SharePoint site collection which has multiple authentication schemes (say Windows NTLM, Azure AD, Okta, ADFS or any other 3rd party Identity provider) on same URL. Now when I try to connect to that site using CSOM, I will get below 403 forbidden error from SharePoint: The remote server returned an error: … Continue reading SharePoint 2013/2016/2019: Use CSOM in SharePoint Site with multiple authentication schemes

Single Sign On in Office 365-SharePoint Online by bypassing Home Realm Discovery page

This blog explains techniques to acheive single sign on in your office 365 tenant by bypassing Office 365 Home realm discovery(a.k.a HRD--> https://login.microsoftonline.com ) page.If your Office 365 setup does not have the following setup then this blog does not apply to you: AAD with Federated identity with third party Identity provider such as ADFS/CA … Continue reading Single Sign On in Office 365-SharePoint Online by bypassing Home Realm Discovery page

Console application for SAML authenticated SharePoint 2013 sites

One of the trickiest thing I came across last couple of days is to run my console application using CSOM ┬áto connect to a SAML Authenticated SharePoint site. In my case the authentication provider was CA SiteMinder. ┬áThere are many techniques to connect to SAML authenticated sites using CSOM. Below are some of them which … Continue reading Console application for SAML authenticated SharePoint 2013 sites