Message Center
Updated January 8, 2026: We have updated the content. Thank you for your patience.
Introduction
We are pleased to announce that SharePoint Online Management Shell now supports App-Only Certificate-Based Authentication. This update addresses the business need for secure, unattended automation in environments where (for example) Multi-Factor Authentication (MFA) is enforced. With this enhancement, customers can run automation scripts using app identities, ensuring compliance with security policies while maintaining operational efficiency.
When this will happen:
This feature is now generally available. Minimum version of SPO Management Shell required for this is 16.0.26712.12000
How this affects your organization:
Who is affected: SharePoint administrators and automation engineers using SharePoint Online Management Shell for scripting and automation.
What will happen:
What you can do to prepare:
Follow these one-time steps to register your app and enable certificate-based authentication:
Sites.FullControlFullControl.All App-only scope.Once these steps are completed, update the Connect-SPOService line at the beginning of your scripts to use the app identity instead of user credentials. For examples, refer examples 7, 8, and 9 in this article: Connect-SPOService (Microsoft.Online.SharePoint.PowerShell).
Compliance considerations:
No compliance considerations identified, review as appropriate for your organization.
Introduction
We are pleased to announce that SharePoint Online Management Shell now supports App-Only Certificate-Based Authentication. This update addresses the business need for secure, unattended automation in environments where (for example) Multi-Factor Authentication (MFA) is enforced. With this enhancement, customers can run automation scripts using app identities, ensuring compliance with security policies while maintaining operational efficiency.
When this will happen:
This feature is now generally available.
How this affects your organization:
Who is affected: SharePoint administrators and automation engineers using SharePoint Online Management Shell for scripting and automation.
What will happen:
What you can do to prepare:
Follow these one-time steps to register your app and enable certificate-based authentication:
Sites.FullControl scope.Once these steps are completed, update the Connect-SPOService line at the beginning of your scripts to use the app identity instead of user credentials. For examples, refer examples 7, 8, and 9 in this article: Connect-SPOService (Microsoft.Online.SharePoint.PowerShell).
Compliance considerations:
No compliance considerations identified, review as appropriate for your organization.