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
M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Microsoft Outlook: Drag and drop calendar events to reschedule meetings

Microsoft Outlook will support drag-and-drop rescheduling of calendar events in day and multi-day views starting late August 2026. Users can m...

11 hours ago

Microsoft 365 Copilot: Import Executive Assistant data with People connectors

Microsoft 365 People connectors now ingest Executive Assistant data from external HR systems like SAP SuccessFactors and Workday into Microsof...

11 hours ago

Microsoft Viva: Viva Glint: Configure user and survey data retention for deleted users in Viva Glint

Microsoft Viva Glint introduces a new admin control to configure retention or deletion of survey responses and identifiable user data when use...

11 hours ago

Microsoft OneDrive: Refreshed file browsing and filtering experience in OneDrive Web

OneDrive for the web will update its file browsing to match the modern SharePoint experience, featuring improved navigation and enhanced filte...

11 hours ago

Windows device recovery in 2026: A guide for IT pros

Rollout schedule: The new guide is already available. All solutions and tools are already available as well. Impact on your organization: Wind...

11 hours ago

Microsoft Copilot app: Opt in selected devices to test the updated Copilot desktop app

Starting August 18, 2026, administrators can opt in selected Windows and Mac devices to test the updated Microsoft Copilot desktop app with a ...

11 hours ago

Microsoft Teams: Report a Security Concern in Meetings

Microsoft Teams will enable meeting organizers and attendees to report suspicious, malicious, or potentially fraudulent activity directly from...

18 hours ago

Microsoft Copilot (Microsoft 365): Federated Copilot Connectors in Microsoft 365 Copilot

Federated Copilot connectors enable users to securely connect Microsoft Copilot to their favorite third party sources, retrieving data in real...

18 hours ago

Microsoft Copilot (Microsoft M365): Delegated prompt publishing for organization prompts

This release follows the availability of organization prompts, providing admins the ability to upload custom prompts for their organization in...

18 hours ago

Public preview: Manage agents across multiple tenants from the Microsoft 365 admin center

Multi-tenant agent management is in public preview, allowing partners and enterprise admins to view and manage agents across connected tenants...

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.