S2Stools
Product How it works Pricing Security
Customer sign in Start free preview

Blog

Why do SharePoint migration apps need Sites.FullControl.All?

S2Stools · 19 November 2026

Because the narrower alternative, Sites.Selected, gives an app no access at all until someone grants it each site individually, and Microsoft Learn says that per-site grant can only be made by a global admin or by an app that already holds Sites.FullControl.All. A migration also has to create target sites that don't exist yet, which a per-site grant can't cover in advance. So a migration app either asks for Sites.FullControl.All up front, or it asks you to pre-create and pre-grant every destination site yourself.

This article comes from the team that makes S2Stools, a SharePoint migration tool, and our own app asks for Sites.FullControl.All. Everything said here about Microsoft's permission model is taken from Microsoft Learn, linked under Sources at the end.

What Sites.FullControl.All covers, and why admins hesitate

When you register an app in Microsoft Entra, the Microsoft Graph application permissions for SharePoint come in steps: Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All and Sites.FullControl.All. Microsoft Learn's page on resource-specific consent points out that each of these targets all the site collections in the tenant, "as the All word implies", and that this isn't always welcomed, in particular by enterprises with thousands of site collections that want to choose which sites an app can touch.

Microsoft's guidance on tenant-wide admin consent is equally direct. Granting it is described as a sensitive operation that can give an app's publisher access to significant portions of your data, and "full access to all mailboxes or all sites" is one of its examples. The page asks admins to review the requested permissions carefully before approving. That caution is reasonable, and a vendor asking for this permission should be able to explain exactly why.

How Sites.Selected works

Sites.Selected is Microsoft's answer to the "All" problem. Learn's overview of Selected permissions explains that consenting to a Selected scope delegates the decision to the owners of each resource: unlike Files.Read.All, which gives access as soon as it is consented, a Selected scope starts with no access and needs an explicit assignment for every resource. The same model now also covers single lists, list items, folders and files through scopes such as Lists.SelectedOperations.Selected.

For a site, three things must all be true before the app can work there: the app is consented for Sites.Selected, the app has been granted a role on that specific site, and the token it presents carries the scope. The grant is a Microsoft Graph call against the site's permissions:

POST https://graph.microsoft.com/v1.0/sites/{siteId}/permissions
{ "roles": ["fullcontrol"],
  "grantedToIdentities": [{ "application": { "id": "{clientId}", "displayName": "{app name}" } }] }

The roles on offer are read, write, owner and fullcontrol (the resource-specific consent page also lists manage). PnP PowerShell offers the same grant with Grant-PnPAzureADAppSitePermission. Admins keep two points of control: remove the grant on one site, or revoke the Selected consent in Entra and cut the app off everywhere at once.

The catch: granting a site needs Sites.FullControl.All

Here is the part that surprises people. Learn's resource-specific consent page says that once an app has Sites.Selected, it still can't reach any site until "a tenant global admin or an application with Sites.FullControl.All application permission" grants it explicit permissions on the selected sites. The Selected permissions overview gives the reason in its table of what it takes to manage permissions at each level: for a site, the requirement is Sites.FullControl.All, "because you can grant full control permissions to a site collection by using Sites.Selected, this requirement is necessarily high."

So Sites.Selected doesn't remove full control from the picture. It moves it: someone with global admin rights, or a tool holding Sites.FullControl.All, has to make every per-site grant, and has to do it again for every new destination.

Microsoft's own SharePoint Migration Tool (SPMT) shows what that means in practice. Its guide to certificate-based authentication offers both options for the app you register: Sites.Selected on SharePoint and Microsoft Graph to limit it to specific sites, or Sites.FullControl.All on both to let it move content into all sites. If you choose Sites.Selected, the guide says you must grant the app FullControl on all the migration destination sites before the migration starts. Without enough permission, migrations fail with "Sorry, you can't create this site" when the target doesn't exist yet, or "Invalid site URL" when it does.

What a migration app actually does with the permission

A migration doesn't only read. It creates the target site, writes content and metadata into it, re-applies permissions, and sets the authors and dates the content had at the source. Those are site-owner and site-admin operations, on sites that may not exist when you consent. That is the practical reason migration tools, Microsoft's included, end up at Sites.FullControl.All unless an admin pre-creates and pre-grants each destination.

Here is what our own app, Site Migrate, asks for, as listed on our Getting started page. All four are application permissions, granted up front at consent rather than requested incrementally.

PermissionResourceUsed for
Sites.FullControl.AllMicrosoft GraphReading inventory (dry runs) and writing content, permissions and metadata to the target
Sites.FullControl.AllSharePointThe CSOM operations the migration engine runs against SharePoint Online
Group.ReadWrite.AllMicrosoft GraphCreating the target when it is a group-connected (Teams or Microsoft 365 group) site
User.Read.AllMicrosoft GraphResolving the original authors and editors so Created By and Modified By carry across

Consent, revocation and the unverified-publisher notice

Who can consent. Microsoft Learn lists the roles that can grant tenant-wide admin consent. A Privileged Role Administrator can consent for any permission on any API. A Cloud Application Administrator or Application Administrator can consent for any API except Microsoft Graph application permissions, so a request that includes Graph application permissions needs a Privileged Role Administrator (or a custom role with the consent permission). The consent link itself follows the format https://login.microsoftonline.com/{organization}/adminconsent?client_id={client-id}.

How to revoke. In the Microsoft Entra admin center, as at least a Cloud Application Administrator, go to Entra ID, Enterprise apps, All applications, select the app, open Permissions, and on the Admin consent tab use the ... control next to a permission to revoke it. Learn notes that revoking a granted permission doesn't stop someone from consenting again, and points to the user consent settings if you want to block that.

The "Unverified" label. In the consent prompt, a blue verified badge means the publisher verified its identity with a Microsoft AI Cloud Partner Program account and linked it to the app; if not, "Unverified" is shown in place of a publisher name. Learn is clear about what the badge does not mean: it doesn't indicate quality, certifications or best practices. It does matter for consent policy. If risk-based step-up consent is enabled, users can't consent to most multitenant apps registered after November 8, 2020 that aren't publisher verified and ask for more than basic sign-in, and admins can build user consent policies around verification status. Either way, what you are approving is the permission list on the prompt.

What S2Stools does about it

Site Migrate, our product, connects through one admin consent in Microsoft's own dialog. It asks for Sites.FullControl.All rather than a narrower scope because a migration must create the target site and stamp historical authorship, and Sites.Selected and Sites.Read.All can do neither; if that is more than your organization will grant a vendor app, Site Migrate cannot connect to it at present. We store only your tenant id and the fact of the grant, with no keys, secrets or certificates of yours, and your admin can revoke it from your own Entra portal under Enterprise applications, S2Stools Migration Runner: deleting the credential in Site Migrate stops us using the grant, and deleting the enterprise app revokes it entirely. The app shows as an unverified publisher because it is not publisher-verified with Microsoft; if your organization doesn't allow consent to apps from unverified publishers, Site Migrate cannot connect to it at present. Admin consent connects the tenant your workspace signed in from; moves across tenants come with assisted setup rather than self-service, so contact us for those. Once connected, start with a free dry run, which walks the whole site and writes nothing: Getting started walks you through it.

Sources

  • Understanding Resource Specific Consent for Microsoft Graph and SharePoint Online (Microsoft Learn)
  • Overview of Selected permissions in OneDrive and SharePoint (Microsoft Learn)
  • Migrate with Certificate Based Authentication (Microsoft Learn)
  • Grant tenant-wide admin consent to an application (Microsoft Learn)
  • Review permissions granted to enterprise applications (Microsoft Learn)
  • Consent experience for applications in Microsoft Entra ID (Microsoft Learn)
  • Publisher verification (Microsoft Learn)
S2Stools
Product Pricing Security AI agents Blog contact@s2stools.com support@s2stools.com Customer sign in
Contact Privacy policy Terms of service Refund policy

© 2026 S2Stools · site-to-site migration · contact@s2stools.com

S2Stools is a brand of Sayar Danışmanlık, İstanbul, Türkiye · contact@s2stools.com · Privacy policy. Our postal address is in the privacy policy; tax office and tax registration details are provided on request.