Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |