How to handle – The remote server returned an error: (403) Forbidden while connecting to SharePoint Online (O365)

Recently while working on SharePoint, I found when I try to connect to SharePoint Online from console application using CSOM and try authenticating using default network credential, I got 403 forbidden. After looking bit into it, I realized it is because of the approach I was using to authenticate against the SharePoint Online. In case…

0