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

Compare- Microsoft Graph API vs Azure AD Graph API

For a long time I have been a big lazy developer. I was quite happy in my world of on-premise computing and writing add-ins for my on-premise SharePoint unaware of what's happening in the cloud. Then suddenly we decided to migrate to Office 365 and reality struck me hard. The azure world is so different and … Continue reading Compare- Microsoft Graph API vs Azure AD Graph API

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