Loading...

App-only certificate-based authentication now available in SharePoint Online Management Shell

App-only certificate-based authentication now available in SharePoint Online Management Shell

SharePoint Online Management Shell now supports app-only certificate-based authentication for secure, unattended automation with MFA. Administrators can register apps in Microsoft Entra ID, assign API permissions, and use certificates to run scripts without user credentials, enhancing security and compliance. 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: Customers can now authenticate scripts using app identities registered in Microsoft Entra ID (formerly Azure AD), instead of user credentials. This enables seamless execution of unattended scripts, even when MFA is enforced. We expect most scenarios to work with App-Only authentication. However, there could be rare cases where an API needs an explicit user token for security reasons. In such cases, tenant admins should use interactive flows with admin/user credentials. Feel free to reach out to us if needed. What you can do to prepare: Follow these one-time steps to register your app and enable certificate-based authentication: Step 1: Register the application in Microsoft Entra ID. Step 2: Assign API permissions to the application: Tenant Admin APIs currently support App-Only access only if they have the Sites.FullControl scope. We are in the process of supporting more granular scopes for tenant APIs. For up-to-date information, refer to SharePoint Admin APIs Authentication and Authorization. You can assign permissions by: Selecting and assigning API permissions from the portal. Modifying the app manifest to assign API permissions (required for Microsoft 365 GCC High and DoD organizations). Learn more: Step 2: Assign API permissions to the application Step 3: Generate a self-signed certificate or obtain one from a certificate authority. Step 4: Attach the certificate to the Microsoft Entra application. Once these steps are completed, update the […]

The post App-only certificate-based authentication now available in SharePoint Online Management Shell appeared first on M365 Admin.

Published on:

Learn more
Need help with this product?

We can help you with App-only certificate-based authentication now available in SharePoint Online Management Shell

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Microsoft PowerPoint: Summarize sales for leaders Copilot skill

Microsoft PowerPoint will introduce a new Copilot skill, “Summarize sales for leaders,” by early November 2026, enabling users to ...

22 hours ago

Updates available for Microsoft 365 Apps for Current Channel

We’ve released updates to the following update channel for Microsoft 365 Apps: Current Channel When this will happen: We’ll be gra...

22 hours ago

Microsoft PowerPoint: Draft proposal response Copilot skill

Microsoft PowerPoint is introducing a new Copilot skill, Draft proposal response, to help users create customer-specific proposal drafts. It w...

22 hours ago

Microsoft PowerPoint: Prepare customer review deck Copilot skill

A new Copilot skill in PowerPoint will help users create customer review decks focused on business goals and outcomes. Rolling out worldwide f...

22 hours ago

Frontier expands to include public previews in Microsoft Teams, new Outlook for Windows, OneDrive, and SharePoint

Starting November 2026, Microsoft Frontier expands to offer public preview features in Teams, new Outlook for Windows, OneDrive, and SharePoin...

23 hours ago

Microsoft PowerPoint: Review sales pipeline Copilot skill

Microsoft PowerPoint will introduce a new Copilot skill, Review sales pipeline, by early November 2026. It helps users create or update pipeli...

23 hours ago

Microsoft Windows: Updates to address compromised eMudhra certificate authority keys

Microsoft is updating Windows, Edge, and WebView2 to block eight compromised eMudhra certificate authority keys by late October 2026. Organiza...

23 hours ago

The October 2026 Windows non-security preview update is now available

The October 2026 non-security preview update is now available for Windows 11, versions 26H2, 26H1, and 25H2. Information about the contents of...

23 hours ago

Dynamics 365 Contact Center – Boost contact center efficiency with Real Time Streaming Analytics

We are introducing Real-Time Streaming Analytics in the new Contact Center supervisor workspace application, providing supervisors with near r...

23 hours ago

Dynamics 365 Business Central: Expense Agent mobile app

The Expense Agent mobile app for Dynamics 365 Business Central extends expense capture to iOS and Android mobile devices by enabling employees...

1 day ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.