Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I want to create an admin portal on PowerBI desktop of the whole PowerBI enviroment in our enterprise.
But I am stuck with the refresh token as I get a refresh token only 15 mins, how can I have a fixed token to access or to automatically refresh my access token ?
Hi @MAwwad ,
I have found a similar post, please refer to it to see if it helps you.
Solved: Refresh token api call - Microsoft Power BI Community
I stumbled over a similar problem as you last year. I solved my api connection by buidling a custom data connector.
https://github.com/Microsoft/DataConnectors
With the connector you have a lot of possibilitys for authentication handling:
see: https://docs.microsoft.com/en-us/power-query/handlingauthentication
The custom Connector can be attached to the data gatway from there the api calls are made.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MAwwad
From the sounds of it what you need to do is to create a Service Principal which can then access the APIs
Here is a blog post on how to do this in the section highlighted below.
Using the Power BI Scanner API to Manage Tenant's Entire Metadata -
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
19 | |
18 | |
14 | |
11 |
User | Count |
---|---|
32 | |
21 | |
19 | |
18 | |
13 |