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

Copilot Studio – Create Dataverse agent users with Microsoft Entra agent ‘s user account

We are announcing the ability to create Dataverse agent users with Microsoft Entra agent’s user account in Copilot Studio. This feature ...

20 hours ago

Low-latency alerts and metrics in Monitor

We are announcing the ability to evaluate alert rules and review supported metrics for business-critical resources every hour in Monitor, help...

20 hours ago

Enhanced prompt categories for Microsoft 365 Copilot in Microsoft Copilot Dashboard and Agent 365 Business Analytics

Microsoft 365 Copilot introduces 13 enhanced prompt categories replacing four legacy ones in the Copilot Dashboard and Agent 365 Business Anal...

20 hours ago

Microsoft Teams mobile: Updated app bar and More menu on iOS and iPadOS

Microsoft Teams for iOS/iPadOS will update the app bar and More menu to align with iOS 26 design, showing four apps plus a categorized More me...

20 hours ago

Microsoft Copilot: GPT-6.2 Sol and Astra rolling out

Microsoft Copilot is expanding AI model options with GPT-6.2 Sol and Astra, rolling out across Cowork, Copilot Studio, Word, Excel, PowerPoint...

20 hours ago

Power Platform Monitor – Route alert notifications to connector-backed destinations

We are announcing the ability to route Power Platform Monitor alert notifications to Microsoft Teams, SMS, work item tracking systems, and oth...

20 hours ago

Updates to Workforce Insights Agent (Frontier) for Admins in Microsoft 365 Copilot

Microsoft 365 Copilot’s Workforce Insights Agent (Frontier) adds a workspace for admins to configure organizational data and context, im...

20 hours ago

Microsoft Teams: Tenant policy controls who can record and transcribe

Microsoft Teams will introduce a tenant policy controlling who can record and transcribe meetings, allowing admins to set permissions for orga...

20 hours ago

Microsoft Copilot: In-app browsing will be enabled by default in the desktop app

Microsoft Copilot desktop app will enable in-app browsing by default starting January 2027, allowing users to open websites shared in chat wit...

20 hours ago

Copilot video creation in Clipchamp Video Hub is now live in Frontier Public

Copilot video creation in Clipchamp Video Hub is now in public preview, enabling users to create and refine videos from documents and prompts ...

20 hours 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.