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,
I am trying to refresh my data in Power BI service but it returms me an error saying invalid credentials.
I am using my organizations's apis to get data in Power BI desktop. I have generated bearer token in the Advanced Editor itself and set up the credentials to anonymous in desktop app.
I am trying to set the credentials to anonymous in service as well. But it is not working. My ultimate goal is to set up scheduled refresh for the data in service. How can I resolve this issue?
Thanks
Solved! Go to Solution.
@niki_b This will not work since the power query will try to query the root URL. You may use a gateway and skip test connection. Read more here: https://powerbi.microsoft.com/en-us/blog/skip-test-connection-for-on-premises-and-cloud-data-sources...
@niki_b This will not work since the power query will try to query the root URL. You may use a gateway and skip test connection. Read more here: https://powerbi.microsoft.com/en-us/blog/skip-test-connection-for-on-premises-and-cloud-data-sources...
Thanks. I kind of figured it out later.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!