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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vikramd8
Frequent Visitor

Pull data from a REST API which has Authentication

Hi All, 

 

I have a requirement to use multiple data sources from REST API and show it in power BI Dashboard and i have followed below steps to do so. 

 

1. chose we source and entered a link provided. 

 

 1.PNG

 

2. Im able to connect to the source and gets a the result as follows. 

 

2.PNG

 

where this is not the data which is present or expected from the source. 

 

3. when i goto web view and see, i get below put, get etc.. calls. 

 

3.PNG

 

4. This didnt ask me for any authentication. 

5. There is a user id and password provided to generate token to be used for authentication for the api calls. 

 

PLease help me to bring my desired data set and make periodic refreshes without any glitches. 

 

Thanks in advance...

Vikram 

 

 

 

1 REPLY 1
Eric_Zhang
Employee
Employee


@vikramd8 wrote:

Hi All, 

 

I have a requirement to use multiple data sources from REST API and show it in power BI Dashboard and i have followed below steps to do so. 

 

1. chose we source and entered a link provided. 

 

 1.PNG

 

2. Im able to connect to the source and gets a the result as follows. 

 

2.PNG

 

where this is not the data which is present or expected from the source. 

 

3. when i goto web view and see, i get below put, get etc.. calls. 

 

3.PNG

 

4. This didnt ask me for any authentication. 

5. There is a user id and password provided to generate token to be used for authentication for the api calls. 

 

PLease help me to bring my desired data set and make periodic refreshes without any glitches. 

 

Thanks in advance...

Vikram 

 

 

 


@vikramd8

It just doesn't ask for authention for calling a custom API in get data -> web(when Anonymous specified). The keypoint in your case is how to get the token with the user&pwd, is there some API that can return the token with user&pwd in your case? You could reference Get Data from Twitter API with Power Query

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.