Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideAI & Data Engineering5 min read

Purview scan failures: common errors, permission checks and fixes

A runbook in the order we would check

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. Common errors, by layer
  2. Permissions: check the identity that really runs the scan
  3. Network and runtime
  4. Fix order that saves time
  5. Prevention
  6. Questions we hear

When a Purview scan fails, work through four layers in order: credentials, role assignments, the network path and the integration runtime, then scope and file content. Most failures are one of these, and the first three account for scans that used to work and suddenly stop.

This runbook covers Data Map scans of sources such as Azure storage and databases. Error text varies by source and by Purview version, so match the layer, not the exact wording.

Common errors, by layer

LayerWhat you seeLikely causeFix
CredentialsTest connection fails, or a scan that worked now failsKey or secret was rotated or expiredUpdate the credential in Purview and the Key Vault secret it points to
CredentialsAuthentication failure with a service principalSecret expired, wrong application IDCheck the application (client) ID and secret in Entra, then recreate the credential
RolesAccess denied on readPurview identity lacks the reader role on the sourceAssign the documented role, such as Storage Blob Data Reader for Blob Storage
RolesCannot register or scan from the portalYour Purview role is too lowData Source Administrator plus a role such as Data Reader on the collection
NetworkTest connection times outFirewall or private endpoint blocks the scanMatch the integration runtime and credential to the network setup
RuntimeScan queued or stuck, or fails after an updateSelf-hosted integration runtime offline or out of dateRestart it, update it, and confirm it reaches the source
ScopeScan completes but assets are missingScope too narrow, or file layout not supportedWiden the scope and check the source's supported structures
ContentFiles appear without columnsFirst row is empty, repeated or a number or dateFix the header row or accept no schema

Permissions: check the identity that really runs the scan

  1. Find which credential the scan uses: the Purview managed identity, a user-assigned identity, a service principal or an account key.
  2. Open the source's access control and confirm that identity holds the role Microsoft documents for that source. For Blob Storage the page names Storage Blob Data Reader.
  3. Check at which level the role was assigned. A role on a different resource group does not help.
  4. Check that a role was not removed by a clean-up or policy change. Role changes can take a few minutes to apply.
  5. For firewalled storage, Microsoft says to use the managed identity and to allow trusted Microsoft services in the network settings.

Network and runtime

  • If the source is behind private endpoints, Microsoft's guidance pairs that setup with a self-hosted integration runtime and a service principal or key.
  • Microsoft's troubleshooting page says scans of Azure SQL databases that deny public network access can fail when you register many sources at once, and suggests registering a single source instead.
  • A scan that once worked and now fails is usually a changed credential, or a self-hosted runtime that is outdated or disconnected. Check both first.
  • Read the troubleshooting page for your source type. Each source page has its own section.

Fix order that saves time

  1. Read the exact error text on the scan run and copy it.
  2. Test the connection from the scan's settings.
  3. Check the credential, then the role, then the network, then the runtime.
  4. Re-run a small scope first, one folder or schema.
  5. Once it passes, restore the full scope and schedule.
  6. Write down the cause, so the next person does not repeat the search.

If the error says an account or service is not ready, check the Purview account status in Azure before you change anything on the source.

For setup done right the first time, see the Data Map setup checklist. For the service, see Microsoft Purview consulting. If the scan works but lineage is missing, read what Purview lineage covers.

Prevention

Most scan failures are preventable. Keep a register of scan credentials with their expiry dates and owners. Use managed identities where the network allows, so there is nothing to rotate. Alert on failed scans, not only on the portal's status page. Keep the self-hosted runtime in your patch plan and name an owner for it. After any firewall or network change on a source, run the scan connection test the same day. Write the cause and fix of each failure into a short log, so the second occurrence takes minutes.

Questions we hear

Why did a working scan suddenly fail? Microsoft points first to changed or rotated credentials and to a self-hosted integration runtime that is out of date or disconnected. Check those before anything else.

Which role does Purview need on Blob Storage? Microsoft's Blob Storage page names the Storage Blob Data Reader role for the Purview identity, assigned at subscription, resource group or account level.

Do firewalls stop scans? They can. With a firewall and no private endpoint, Microsoft lists managed identity as the credential, and with private endpoints it lists a self-hosted runtime.

Sources checked November 27, 2026:

Related: microsoft purview consulting · Purview Data Map setup checklist

Frequently asked questions

Why did a working scan suddenly fail?

Microsoft points first to changed or rotated credentials and to a self-hosted integration runtime that is out of date or disconnected. Check those before anything else.

Which role does Purview need on Blob Storage?

Microsoft's Blob Storage page names the Storage Blob Data Reader role for the Purview identity, assigned at subscription, resource group or account level.

Do firewalls stop scans?

They can. With a firewall and no private endpoint, Microsoft lists managed identity as the credential, and with private endpoints it lists a self-hosted runtime.

Can we get scan errors fixed by support?

For product faults, raise a Microsoft support case. For setup and permissions, an experienced consultant can usually find the layer quickly.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote