Databricks - Cannot activate File Events for External Location / ADLS V2

Dimitry Nechaev 50 Reputation points
2025-07-16T23:32:00.6866667+00:00

I've followed the book on Databricks for creating external location for Azure Data Lake Storage (ADLS V2) using account connector.

I've granted all required permissions to the connector:

Dimitry_0-1752217945550.png

I've created a "stock" container on that above mentioned "devtyremeshare" storage account:

Dimitry_1-1752218028803.png

Configured storage account as recommended

Dimitry_4-1752218304084.png

Databricks can list and read files and folders:

Dimitry_2-1752218084368.png

But fails to activate File Events. It reports missing permission to write into the storage account, even after I created an additional custom role with 'Microsoft.Storage/storageAccounts/write' permission on the subscription level and assigned to the app connector (which is 4d2fd0d9-2339-498a-b058-990c13b55cf9 below).

Dimitry_3-1752218138741.png

It feels to me that is not the IAM but something else.

Job, if hooking on file events, will error exactly the same.

Event Grid Resource Provider is activated on the subscription level.

Storage account is public w/o firewall.

Databricks is default setup with public IP.

Dimitry_0-1752450414282.png

Please help.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
{count} votes

Answer accepted by question author
  1. Smaran Thoomu 32,525 Reputation points Microsoft External Staff Moderator
    2025-07-31T06:28:02.66+00:00

    Hi Dimitry Nechaev

    Thanks for all the detailed info and your patience throughout the troubleshooting.

    Following your updates, I reached out to the internal team to take a closer look. After reviewing the setup with your configuration, the issue was successfully resolved by reconfiguring the connector setup from scratch.

    It appears that while all permissions (including Microsoft.Storage/storageAccounts/write and Microsoft.EventGrid/eventSubscriptions/write) were present, there might have been a transient inconsistency in how the identity or permissions were recognized by the backend during provisioning. A full teardown and recreation of the external location and connector resolved the conflict.

    Resolution Steps Taken:

    • Reconfigured the external location setup using the same connector identity.
    • Reassigned roles explicitly at the storage account scope again (Storage Account Contributor, Storage Queue Data Contributor, and Storage Blob Data Contributor).
    • Verified EventGrid permissions and refreshed the test connection.
    • File Events were activated successfully post-reconfiguration.

    If others face a similar error (LinkedAuthorizationFailed despite correct role assignments), a full re-setup of the connector and location is worth trying, especially if the roles were changed after the connector was initially configured.

    Let us know if you need anything else - and appreciate your persistence on this!

    I hope this information helps. Please do let us know if you have any further queries.


    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.