MetricSign
EN|NLRequest Access
High severitycredentials

Power BI Refresh Error:
UserErrorAccessDenied

What does this error mean?

An ADF pipeline activity was denied access to the target resource — most commonly because the ADF managed identity has not been granted the required RBAC role, or the service principal's client secret has expired.

Common causes

  • 1The ADF managed identity has not been granted the required role on the target resource
  • 2The service principal used in the linked service was deleted, or its client secret expired
  • 3Azure RBAC role assignment was recently removed by an administrator
  • 4The ADF pipeline is running in a different region and the resource has geo-restriction policies

How to fix it

  1. 1Find the ADF managed identity in the Azure portal (ADF resource > Properties > Managed Identity).
  2. 2Assign the required role to the ADF managed identity under the target resource's Access Control (IAM).
  3. 3Verify the service principal still exists in Azure Entra ID and that its credentials have not expired.
  4. 4Wait 5–10 minutes after role assignment — RBAC changes take time to propagate.
  5. 5Test the ADF linked service to confirm access is restored.

Frequently asked questions

Does this error affect all pipeline runs?

Yes — once credentials expire or are revoked, every scheduled and manual pipeline run fails until updated.

How do I store credentials more securely in ADF?

Store secrets in Azure Key Vault and reference them in linked services — rotating a credential requires only updating the Key Vault secret.

Can I set up monitoring for credential expiry before pipelines fail?

For service principal secrets, set Azure Monitor alerts on Key Vault or App Registration expiry. For OAuth tokens, proactive rotation on a fixed schedule prevents failures.

Will re-entering credentials in the ADF linked service fix all pipelines that use it?

Yes — all pipelines using the same linked service succeed immediately after credentials are updated.

Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-factory-troubleshoot-guide

Other credentials errors