Tag: LegacyAuthProtocolsEnabled

CSOM error Exception calling “ExecuteQuery”

If you are trying to run CSOM against SharePoint Online and gets the error below Exception calling "ExecuteQuery" with "0" argument(s): "Cannot contact web site 'https://tenant.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. The cause of this issue: ¬†LegacyAuthProtocolsEnabled By default this property should be set … Continue reading CSOM error Exception calling “ExecuteQuery”