Action required: Update app-only permissions for SharePoint tenant App Catalog writes

Wait 5 sec.

We are introducing an additional authorization requirement for applications that use app-only authentication to write directly to specific surfaces in the SharePoint tenant App Catalog.Starting January 31, 2027, affected app-only workflows must have the SharePointTenantSettings.ReadWrite.All application permission on the Office 365 SharePoint Online resource. After that date, Sites.ReadWrite.All alone will no longer authorize these tenant App Catalog writes. This change can affect automated deployment and provisioning processes, including CI/CD pipelines, unattended scripts, and partner deployment services.Interactive operations performed by an authorized administrator through the App Catalog user interface are not affected by this new application-permission requirement. Workflows using delegated authentication also continue to use existing user and delegated authorization.What is changing?The additional permission check applies to direct app-only writes for the following tenant App Catalog operations: Adding a package to the Apps for SharePoint Replacing or updating an existing package, including updates to its catalog item. Adding or updating entries in the Tenant-Wide ExtensionsThe package check runs at the App Catalog add and update entry points. As a result, an app-only package upload or update can require the new permission even when the package does not register a tenant-wide extension.Whether a workflow is affected depends on its authentication mode and the operation it performs, not on the tool alone.ScenarioImpactAn authorized administrator uploads or updates a package through the App Catalog UIThe new application-permission requirement does not apply. Existing user authorization continues to apply.PnP PowerShell uses user or delegated authenticationThe new app-only requirement does not apply. Existing user and delegated authorization requirements still apply.PnP PowerShell uses app-only authentication, such as a certificate-based unattended taskThe new requirement applies to affected tenant App Catalog writes.A custom application uses SharePoint REST or CSOM with app-only authenticationThe same requirement applies to affected writes. The change is not specific to PnP PowerShell.An integration uses Microsoft GraphAssess the specific API and authentication flow. This announcement does not establish that all Microsoft Graph operations are affected. Required application permissionFor affected direct app-only writes, the calling application must have the SharePointTenantSettings.ReadWrite.All application permission on the Office 365 SharePoint Online resource.After January 31, 2027, permissions such as Sites.FullControl.All or Sites.ReadWrite.All do not satisfy this additional authorization check by themselves. This does not mean that SharePointTenantSettings.ReadWrite.All replaces those permissions. An application might still need its existing site permissions for other operations.Microsoft Graph and Office 365 SharePoint Online expose permissions with the same SharePointTenantSettings.ReadWrite.All name, but they are separate application roles on separate resources. For PnP PowerShell, SharePoint REST, or CSOM calls to SharePoint, granting only the Microsoft Graph permission does not satisfy the SharePoint authorization check. The application must have the permission for the Office 365 SharePoint Online resource, and the permission must be present in the SharePoint access token.Other authorization checks and package or component validation continue to apply.Who needs to take action?Review your configuration if you use app-only automation for tenant App Catalog writes, including: CI/CD pipelines that upload or update SharePoint Framework packages. Certificate-based unattended PnP PowerShell scripts. Provisioning solutions that update Tenant-Wide Extensions. Custom applications that use SharePoint REST or CSOM with app-only authentication. Partner-operated deployment services that perform these operations for customers.Using SharePoint Framework or PnP PowerShell does not automatically mean that a workflow is affected. The workflow must use app-only authentication and perform one of the affected write operations.What should you do?For each affected workflow: Identify the Microsoft Entra application registration used by the app-only workflow. Grant the ReadWrite.All application permission for the Office 365 SharePoint Online resource. Obtain tenant administrator consent for the permission. Reconnect or refresh authentication so the workflow acquires a new SharePoint access token. Retest the relevant package upload, package update, and Tenant-Wide Extensions operations. Retain any other permissions that the workflow requires.Do not grant the Microsoft Graph role as a substitute for the Office 365 SharePoint Online role when the workflow calls SharePoint directly.What is not affected?This change does not add the new application-permission requirement to: Interactive App Catalog operations performed by an authorized administrator. Requests using user or delegated authentication. Existing authorization requirements, including ManageWeb where required, continue to apply. Read-only App Catalog operations. Delete operations, which are outside the stated scope of this change. Existing authorization for site collection App Catalog operations. The tenant-settings application permission is not a substitute for those requirements. The runtime use of SharePoint Framework solutions that are already deployed. Later automated package or configuration updates can still be affected. Trusted internal deployment operations, which use separate authorization paths.Timeline January 31, 2027: The planned cutoff date for using ReadWrite.All alone for the affected direct app-only tenant App Catalog writes. After January 31, 2027: Affected workflows must include the ReadWrite.All application permission on the Office 365 SharePoint Online resource. Workflows that rely only on Sites.ReadWrite.All can be rejected.Customers and partners should review and retest app-only deployment automation before January 31, 2027.Learn more Configure app-only permissions for tenant App Catalog operations Granting access via Microsoft Entra ID app-only Microsoft Graph SharePoint tenant settings permissionsNote: This reference documents the Microsoft Graph resource. The same-named Microsoft Graph permission does not replace the required Office 365 SharePoint Online application role for direct SharePoint calls.