Power Bi authentication error? Fix with these steps

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Affiliate Disclosure
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Microsoft Power Bi is a powerful data visualization solution with both desktop and web services. Sometimes, while working with the API feeds you can encounter API authentication error.

The Power Bi authentication error can occur due to many reasons including incorrect API configuration.

You can find more such errors in the Microsoft Power Bi community.

I have a couple of API feeds which I connected through the web connector. These require an api key for authentication, I added this in the header using the advanced section.
The data refresh works fine on the desktop version but I have tried to set up a scheduled refresh and I am getting an authentication error. It seems as though it isn’t pulling through the api key in the header:

If you are also troubled by this error, here are a couple of troubleshooting tips to help you resolve the Power Bi authentication error in Windows 10.

How to Fix Power Bi authentication error

1. Check your API Feed

  1. If the data refresh with the API is working fine in Power Bi Dekstop client and the error is only occurring while accessing Power Bi web client, the issue could be with the API feed.
  2. Cross-check your API for any errors. Or post it in the Power Bi community forums for more elaborative answers.

Disable focus mode in Power BI in 3 easy steps

2. Whitelist Power Bi Domains

Power Bi authentication error

  1. If the error is related to Proxy authentication, the most likely reason for the error is that the proxy authentication server on your network is blocking the web requests from Power Bi desktop.
  2. In case you are not the network admin, check if your network uses a proxy authentication server. If so, ask the network admin to add the following domains on the proxy authentication server whitelist.
    domains in the *.analysis.windows.net namespace
  3. After that, reboot the computer and launch the Power Bi Dekstop client and check if the error is resolved.

3. Collect a Trace in Power Bi Dekstop

  1. If the issue occurs on your desktop only, you can help your network admin find the causes of the error by analyzing the error log. For this, you need to enable tracking in Power Bi Desktop.
  2. In Power Bi Dekstop, click on File and select Options and Settings.
  3. Click on Options and select Diagnostics.
  4. In the current pane, check the “Enable tracing” box under “Diagnostic Options”.
    Power Bi authentication error
  5. Once done, now you need to follow the steps so that the error can be reproduced.
  6. After encountering the error again, navigate the Trace Folder on your local computer which is by default in the following location:
    C:\Users/<user name>/AppData/Local/Microsoft/Power BI Desktop/Traces
  7. Locate the most recent trace file and send it to your administrator to facilitate quickly identifying the error.


Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: