Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Connecting Web API using Postman (collection and Environment)

Hello All,

 

I have a post man collection that is rather large. It calls on a postman enviornment for all information I believe should be kept secure (such as API key, bearer token, ect). I tried to follow the microsoft instructions to create a custom connector but it doesn't work as I would hope. I think I will need to go through and add the values that were being called from the enviornment into each "Get" or "Post" function. I am new to API and would appreciate any help o nhow to use my API calls. Is there an easy way to make a call using my "GET" function for all employees and then having that table in PowerBI ready to use?

 

When I try to connect directly to any of my web API calls using the WEB option on PowerBI I always recieve the error "Authentication" must be used anonymously. 

 

Any help on how to use a WEB API would be amazing.

 

Thank you.

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

You need to get access token befor you call the REST API. That is "Authentication".

 

vchenwuzmsft_0-1663145241450.png

 

How to get access token please refer this post.

Solved: REST API Get Access Token - Microsoft Power BI Community

 

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thank you! I have been using this token in a header labeled "Authentication" but it is popping up with the following error:

error.PNG

 

Here is an example of what I put in:

example.PNG

 

For reference these are example API calls from the company website I am attemptying to call information form:

REST API Reference Guide (saashr.com)

 

Thank you very much for your help

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors