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
I'm trying to get a refresh token from our API so that I don't have my API login crednetials in the .pbix file and keep getting a "We couldn't authenticate with the credentials provided" error (see below screenshot)
When I get a new token using my login credentials and use that token to pull data from the API it works totally fine and don't get that error (below screenshot). What am I missing here?
Hi @serazo ,
Here are a few things to check and consider:
Ensure the URL is correct and specifically meant for obtaining refresh tokens.
Ensure that the token you’re trying to refresh hasn’t expired or been revoked.
Verify that the client ID and secret you’re using are correct and have the necessary permissions to request a refresh token.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.