Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
So i set up an API connection using JSON with my org, user and source key. Refreshing on PowerBI desktop works fine. Credentials are OK. I then publish to PowerBI.com and go to set my refresh settings. I go to Dataset, Settings and then Data Source Credentials. It then says: Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.
When i Click Edit Credentials i get options which dont seem to apply: Anonymous, Windows or Basic and i cant see where i can put any of the credientials i put in my JSON file when originally establishing the connection (source, org and user key). Whatever option i've tried all fails.
Please bear in mind im a newb so layman-style answers would be appreciated.
Help! (thanks)
Hi @aconway ,
How do you connect to the data in Power BI? If you used on-premises data source, you will need a gateway. If you used organization account as credential verification method, you need to use the same credential in service( Power BI.com ).
Check Do you need onprem gateway?
https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem
Thanks for reply - on the settings page it says i dont need a gateway for this type of connection.
Hi @aconway ,
can you share some screenshots?
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 69 | |
| 37 | |
| 29 | |
| 26 |