Forum Discussion

PowerrrBrrr's avatar
PowerrrBrrr
Helper III
2 years ago

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

  • HimanshuS-msft's avatar
    HimanshuS-msft
    Microsoft Employee

    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 

  • 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

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.