The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi Monika V
The ACS retirement does not affect SharePointOnlineCredentials. However, please see the important distinction and documentation below:
While the ACS retirement won't stop it, the SharePointOnlineCredentials class relies on Legacy Authentication (Basic Auth). Microsoft is actively blocking Legacy Authentication across all tenants to improve security.
If your tenant enables Security Defaults or Conditional Access policies, SharePointOnlineCredentials will stop working immediately because it cannot handle Multi-Factor Authentication (MFA) or Modern Auth challenges. Microsoft is progressively disabling Basic Auth for protocols across the ecosystem.
Even though SharePointOnlineCredentials is not tied to the ACS date, it is considered an obsolete and insecure pattern.
You should migrate this code to use Modern Authentication (OAuth 2.0) via Microsoft Entra ID.
I hope this information helps.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.