Forum Discussion

elpaloo's avatar
elpaloo
Frequent Visitor
1 year ago
Solved

Shortcut to ADLS - Error 401 - Not Authorized

Hi!  I’m encountering a strange and unclear error when trying to create a shortcut in Lakehouse. The error message is: Error 401 - Not Authorized. I’m using a Service Principal, there are no firewa...
  • nilendraFabric's avatar
    1 year ago

    hello elpaloo 

    When creating a shortcut to ADLS Gen2 in a Lakehouse, the authentication process differs fundamentally from Data Pipeline connections. While both utilize the same credentials, they employ different authorization mechanisms and permission requirements

    Please make sure these :


    The Service Principal must have at minimum the "Storage Blob Data Reader" role for read operations or "Storage Blob Data Contributor" for write operations


    Unlike general Azure roles like "Owner" or "Contributor," data operations on ADLS Gen2 specifically require data-plane roles

    The storage account must have Hierarchical Namespace enabled for proper ADLS Gen2 functionality