MigrationFox Docs

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.

Running a scan

  1. Open Governance and click the Dependency Graph tile (/governance/dependencies).
  2. Pick the SharePoint connection.
    SharePoint connection:Contoso app registration
  3. Enter the Site URL: the full URL including /sites/<name> or /teams/<name>. One site per scan.
    https://contoso.sharepoint.com/sites/finance
  4. 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 strengthWhat it meansHow to act on it
Exact matchA 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.
PossibleThe 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.
HeuristicA 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

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:

  1. 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.
  2. 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