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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PowerrrBrrr
Helper III
Helper III

Gets "code":"Unauthorized" error when accessing one lake in microsoft fabric

I created a KQL database which has event hub as the source and I can see the data in the KQl table I created. However , after  activating the One lake path and I try to open it in new window. I get the below error:

{"error":{"code":"Unauthorized","message":"Authentication Failed with Bearer token is not present in the request"}} 

 What wrong am I doing. What permission do I need to check. couldnt find in Fabric documentation anything on generating token

7 REPLIES 7
PowerrrBrrr
Helper III
Helper III

sure if you provision KQL database in Fabric, you get the below details and the URL of One Lake which i would like to access

 

PowerrrBrrr_0-1706177892566.png

 

Hi @PowerrrBrrr ,

The One Lake availability is to use it with Lakehouse shortcuts! Try going into Lakehouse and creating a shortcut, you will see this KQL DB if you have enabled "OneLake availability" . In order to programatically access it, you need to authenticate with a token first. We cant access this directly by copying and pasting the link.

Hope this is helpful. Please let me know incase of further queries.

How do I get the token??

Hi @zzzsharepoint , @PowerrrBrrr 

It will follow standard Fabric API call procedure - Fabric API quickstart - Microsoft Fabric REST APIs | Microsoft Learn

Hope this is helpful. Please let me know incase of further queries.

Hello @PowerrrBrrr ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .

Hello @PowerrrBrrr ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread .

HimanshuS-msft
Community Support
Community Support

Hello @PowerrrBrrr 
I do understand the source of the KQL but can I please more clarification on 

" However , after  activating the One lake path and I try to open it in new window"

Thanks 
Himanshu 

Helpful resources

Announcements
FabricCarousel_June2024

Fabric Monthly Update - June 2024

Check out the June 2024 Fabric update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors