Dependency Graph scan
The Dependency Graph scan takes one SharePoint Online site and looks for the Power Automate flows, Power Apps and Teams channel tabs that reference it. Run it before you move, rename or restructure a site, so you know what may stop working and what to re-point afterwards.
Example only. Names and numbers are illustrative.
WHAT YOU'LL SEE
A count of artifacts that depend on the site, split by match strength (Exact, Possible, Heuristic), any Scan gaps, then one table per artifact type with Name, Owner, Container, Match and Notes. Names link to the flow or app in Power Automate or Power Apps, or to the tab.
Before you start
The scan reads three places: the Power Platform admin APIs (environments, flows, apps), each environment's Dataverse (to read solution-aware flows), and Microsoft Graph (Teams, channels and tabs). Set these up once per tenant.
- A governance purchase. Dependency Graph is one of the governance tools. It comes with Tenant Suite or Consultant Pro; a single report pack covers its own assessment only and doesn’t include this tool. See pricing.
- A SharePoint connection that uses your own app registration (tenant ID, client ID and client secret). The scan signs in app-only, so connections made with "Sign in with Microsoft" are not accepted today.
- Power Platform management app registration. The Power Platform admin API only answers an app that is registered as a management app. As a Global Admin, in PowerShell:
Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -Scope CurrentUser Add-PowerAppsAccount New-PowerAppManagementApp -ApplicationId <clientId>
Use the same<clientId>as the app registration behind your SharePoint connection. See Power Platform admin access for the full steps. - Dataverse access (for solution-aware flows). Flows inside solutions are read from each environment's Dataverse. Add the app as an application user in those environments. Without it, solution-aware flows may be missed or show only as Possible matches.
- Microsoft Graph application permissions to read Teams, channels and tabs, with admin consent, for the Teams tab check.
Running a scan
- Open Governance and click the Dependency Graph tile (
/governance/dependencies). - Pick the SharePoint connection.
SharePoint connection:Contoso app registration
- Enter the Site URL: the full URL including
/sites/<name>or/teams/<name>. One site per scan.https://contoso.sharepoint.com/sites/finance - Click Run dependency scan. Most scans finish in 30 to 60 seconds. Results appear on the same page.
Run dependency scan →
Reading the results
Results are grouped by type (Power Automate flow, Power App, Teams channel tab). Each row has a match strength:
| Match strength | What it means | How to act on it |
|---|---|---|
| Exact match | A flow action targets this site URL (read from the flow's definition in Dataverse), a Power App's definition contains this site's URL, or a Teams channel tab opens into this site. | Treat as a real dependency. After the move, re-point the flow or app at the new site and update the tab. |
| Possible | The flow or app uses a SharePoint connection, but the scan couldn't confirm it targets this site. Every SharePoint-connected flow that can't be resolved exactly shows up here, so this list can be long. | Open each one and check its SharePoint actions or data sources. |
| Heuristic | A SharePoint-connected flow or app whose name contains the site's name (for example "HR" for /sites/hr), without a confirmed link. | Check manually. Common names can produce false positives. |
The Notes column explains each match, including the list or library a flow action targets when the scan can read it. Click Download JSON to save the full report. Scans are not saved in MigrationFox after you leave the page.
Limits
- Up to 20 Power Platform environments and 250 flows per environment are scanned. If there are more environments, the report says so under Scan gaps. Flows beyond the first 250 in an environment are not checked.
- Up to 50 Teams are checked for tabs. Larger tenants get a Scan gaps note.
- Power BI datasets, Microsoft Forms and other workloads are not scanned today.
- The scan shows what references the site. It doesn't evaluate DLP policies or whether a flow is currently turned on.
Troubleshooting
Scan completes but shows 0 apps or 0 flows
Read the Scan gaps panel first: it reports how many environments, flows and apps were seen and why. The usual causes:
- The management app isn't registered for this client ID. Run
New-PowerAppManagementApp -ApplicationId <clientId>as a Global Admin, then scan again. Without it, the admin API can return empty lists without an error. - Zero environments scanned. The app has no admin access to any environment. See Power Platform admin access.
"Dependency Graph scan requires a service-account credential"
The selected connection was made with "Sign in with Microsoft". Add a SharePoint connection that uses your own app registration and select it.
Teams tab scan failed
The app is missing Graph permissions to list Teams, channels or tabs, or admin consent wasn't granted. Flows and apps are still reported.
What's next
- SharePoint Modernization scan: inventory classic features on the same site.
- Migration Rehearsal dry-run: check the site for common migration issues before cutover.
- SharePoint Site Migration: move the site.
- M365 Assessment Suite overview: the report packs and the other governance tools.