Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

When trying to access one lake Microsoft fabric endpoints, this error is thrown: "Authentication Fai

I am trying to list data inside the lakehouse I have created inside Microsoft fabric by using the same scope which I use to access data inside ADLSGEN2 storage : "'https://datalake.azure.net/'", but once I try to retrieve data inside the file csv in lakehouse destination: GET https://onelake.dfs.fabric.microsoft.com/df232201-c831-424f-b32b-56157adb1202/6466dfd2-7bf6-4c9c-949..., I get an 401 Unauthorize error, with the below error message: "Authentication Failed with Audience validation failed for audience 'https://datalake.azure.net/'".

Can someone confirm if the scope used to access data inside one lake Microsoft fabric should be the same as ADLSGEN2 storage?

1 ACCEPTED SOLUTION
vitrozefi
New Member

What I was trying to do is, trying to access onelake api endpoits https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api, i managed to fix it by trying to grant this scope : https://storage.azure.com/, similary to this example https://stackoverflow.com/questions/76794202/authentication-not-granted-for-service-principal-token-.... and this note in api doc "

Note

OneLake only supports tokens in the 'Storage' audience. In this example.".

 

View solution in original post

3 REPLIES 3
vitrozefi
New Member

Yes, I was able to resolve it.

vitrozefi
New Member

What I was trying to do is, trying to access onelake api endpoits https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api, i managed to fix it by trying to grant this scope : https://storage.azure.com/, similary to this example https://stackoverflow.com/questions/76794202/authentication-not-granted-for-service-principal-token-.... and this note in api doc "

Note

OneLake only supports tokens in the 'Storage' audience. In this example.".

 

Anonymous
Not applicable

Hi @vitrozefi ,

Can you please confirm whether you were able to resolve your issue, as I can see it in your comment -
2023-09-13 21_12_45-When trying to access one lake Microsoft fabric en... - Microsoft Fabric Communi.png

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

Check out the January 2026 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.