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.
Good day, everyone!
Postman already gave me an access token and displayed the data I requested. However, I don't know how to integrate it to power BI automatically. All the basic web options are not working for it shows like "We couldnt authenticate with the credentials provided. Please try again." or "A web API key can only be specified when a Web API key name is provided".
Advanced, on the other hand, also leads me to the basic web option even if I created an authorization header with bearer accesstoken. What should I do with this?
How did it work in Postman? Did you provide the token as part of the authentication header?
You may have provided wrong credential type and that is now cached. Clear all permissions, and then ty again with anonymous auth and your token in the header . Don't forget the "Bearer " part.
Yup, both my authorization and WM_SEC.ACCESS_TOKEN. In my GET token request it shows that i have full access, and i tried to specify the GET item it also displays responses.
show a sanitized version of the Power Query code.
As you can probably appreciate it is nearly impossible to help with API queries without access to said API (which you may not be willing to provide for understandable reasons)
i have done it like what I did in postman
Thanks for the reply from lbendlin , please allow me to provide another insight:
Hi, @zupky
Thanks for reaching out to the Microsoft fabric community forum.
Could you please confirm if lbendlin's response has resolved your issue? If it has, kindly accept his response as the solution. This will greatly benefit other community members who have similar issues by helping them find solutions more quickly. Of course, if you have discovered a solution yourself, we would also appreciate it if you could share your response with us.
Regarding lbendlin's suggestion, to facilitate your search, you may try the following methods:
1.In the desktop settings section:
2.In the Power Query data source section:
3.For further details, please refer to:
Authentication in desktop apps - Power Query | Microsoft Learn
4.Below is a solution for a similar issue by clearing the data source credentials:
Solved: We couldn't authenticate with the credentials prov... - Microsoft Fabric Community
Additionally, regarding your issue, you may find the following video resources helpful:
https://www.youtube.com/watch?v=a0FqNLI0VsQ
Solved: Can not connect with REST API. We couldn't authent... - Microsoft Fabric Community
Lastly, here are responses and official documentation related to your issue:
Solved: Pull data from RESTful API with token authenticati... - Page 2 - Microsoft Fabric Community
Web.Contents - PowerQuery M | Microsoft Learn
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Clear permissions in Data Source Settings and try again with anonymous auth.
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 |
---|---|
10 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |