Hi @Rowan Schelvis The 403 AuthSasRevoked
error in Azure Data Factory typically indicates that the Managed Identity (MI) token has been revoked or expired often during long-running or streaming CDC operations.
A few troubleshooting steps that may help:
Confirm the Managed Identity still has the right permissions: Make sure ADF’s Managed Identity still has the correct role on the SQL server (e.g., Contributor) and exists as a user in the database with proper roles like db_datareader
or db_owner
.
Token Refresh: In the Linked Service, temporarily switch from MI to SQL authentication, publish, then switch back to MI and re-publish. This can clear any stale or cached tokens.
Check CDC Health: On the source SQL DB, ensure CDC is correctly configured and there are no open transactions or LSN issues causing delays.
Restart IR or Re-publish: For self-hosted Integration Runtime, restart the IR. For Azure IR, re-publish the pipeline to refresh connections.
Retry Logic: In your Copy activity or trigger, consider adding retry policies to help handle transient token failures more gracefully.
Hope this helps. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.