Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have been trying to explore Power BI REST APIs recently.
I want to call the Power BI REST APIs to gather organizational Power BI usage and other metrics.
Some of the blogs and YouTube videos I have come across, all show the following steps -
Step-1: Register an app in Azure AD
Step-2: Grant API Permission to the app
Step-3: Use Postman to generate a refreshable acces token
On Step-3, I see everyone is passing their username/password to make the call to REST API and to fetch the token.
That username/passoword lives inside the .pbix file and that's not the security best practice.
Do you have any suggestion or point me to a direction where I don't store the username/passowrd in the .pbix file.
Is there a better approach to achive this?
Thank You!
GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo... uses AAD Auth. No credentials are stored.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |