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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
KoustavPurkiat
Frequent Visitor

Connecting to LoopBack API using Access Token

I am trying to connect with LoopBack API. I am able to connect while putting the URL and appending the Access Token with the URL. But this Access Token will expires in every 14 days and generates a new access token. My Question is how my power bi report will able to update the access token automatically? 

 

 

6 REPLIES 6
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @KoustavPurkiat,

 

How does the Loopback API generate an access token? Are there any other authentication methods? 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

What I have understood that 'Access Token' is getting generated from REST API wher eauthentication is given only bearer Token. 

Hi @KoustavPurkiat,

 

Firstly, are we talking about this loopback API?

Secondly, the "Access Token" should be generated by the Loopback API. It could be something we can't do in Power BI. Am I right?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

Exactly, this Access token is getting generated in Loopback API. Inbackend there are some code is running where authentication is given as Bearer token.

 

Thanks,

Koustav

Hi Koustav,

 

I'm afraid it's hard to make the code run in Power BI. 

1. Are there any other authentication methods?

Connecting_to_Loop_Back_API_using_Access_Token

2. If it's possible to make the token live longer?

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

1) As of now Access Token is only authentication is given. Need to check with Team if we can keep basic authentication(User ID and PSW). 

2) I dont think that we can extend the expiry date for this token.

 

Thanks,

Koustav

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.