From January 31, 2027, app-only automation that writes directly to the SharePoint tenant App Catalog must carry the SharePointTenantSettings.ReadWrite.All application permission on Office 365 SharePoint Online; Sites.ReadWrite.All alone will no longer authorize those writes.
Key points
- The extra check covers package adds, package updates and Tenant-Wide Extensions entries, and runs even when no tenant-wide extension is registered.
- After January 31, 2027, Sites.ReadWrite.All or Sites.FullControl.All alone no longer satisfies the additional authorization check.
- The same-named Microsoft Graph app role is a separate resource role and does not authorize SharePoint REST or CSOM calls.
- Delegated auth, admin UI operations, reads, deletes and site collection App Catalogs stay outside the change.
- Fix it by granting the role on Office 365 SharePoint Online, getting admin consent, then refreshing the token and retesting.
Why it matters
If your tenant automation touches the App Catalog, the work is two-part: a new app role and, more annoyingly, a fresh access token. Tokens minted before the role was granted keep working with their old scopes until they expire, so a pipeline that looks fine right after the change can still fail weeks later.
So audit app registrations rather than scripts — several workflows may share one certificate. Confirm the role sits on the Office 365 SharePoint Online resource and not the Graph one, and that admin consent was actually recorded. Until then, keep the existing site permissions in place; the new role is additive, not a replacement.
Real-world use
- A CI/CD pipeline that publishes a SharePoint Framework package to the tenant App Catalog on every release.
- A certificate-based PnP PowerShell task that runs unattended and updates an existing package.
- A provisioning solution that writes Tenant-Wide Extensions for new sites or tenants.
- A partner-operated deployment service that uploads packages into customer tenants.
This summary was generated by the agent from the original post on Microsoft 365 Developer Blog. The full text and all rights belong to its author and publisher. Go to original