High severitycredentials
Power BI Refresh Error:
UserErrorKeyNotFoundInKeyVault
What does this error mean?
An Azure Data Factory pipeline attempted to retrieve a secret or key from Azure Key Vault but the referenced secret does not exist.
Common causes
- 1The secret name in the ADF linked service or parameter does not match the actual name in Key Vault (typo or wrong casing)
- 2The secret was deleted from Key Vault — either manually or via a lifecycle policy
- 3The ADF factory is pointing to the wrong Key Vault (wrong vault URI in the linked service)
- 4The secret exists but a specific version was referenced and that version was disabled or expired
How to fix it
- 1Open Azure Key Vault in the portal and confirm the exact secret name.
- 2If the secret was deleted, recreate it with the same name and update all pipeline parameters that reference it.
- 3Verify the Key Vault URI in the ADF linked service is correct (https://<vault-name>.vault.azure.net/).
- 4If referencing a specific secret version, verify the version ID is still active and not expired or disabled.
- 5Use the ADF 'Test connection' button on the Key Vault linked service to confirm basic access.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/store-credentials-in-key-vault