CSOM Authentication to SharePoint Online using Client ID & Client Secret

SharePoint App-Only is the model for setting up app-principals. This model works for both SharePoint Online and SharePoint 2013/2016…