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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.