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
V55
Helper I
Helper I

Is it possible to make powerBI ask for single credentials for multiple, different RestAPI endpoint?

Hi,

 

I am making RestAPI queries to two endpoint: AzureManagement API and Log Analytics endpoint.

 

My queries are like this:

let
Source = Json.Document(Web.Contents("https://management.azure.com/subscriptions/<subId1>?api-version=2016-06-01"))
in
Source
let
Source = Json.Document(Web.Contents("https://api.loganalytics.io/v1/workspaces/<workspaceId>/query"))
in
Source

I need to make multiple such REST calls to fetch data. The authentication mechanism is OAuth2 and the credentials for both the endpoint will be same.

When I published in service, I notice it prompts credentials for each Rest calls. How to provide better user experience by making it prompt for credentials one time.?

multiplecreds.JPG

 

 

 

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@V55 ,

I am afraid that it is not possible to make a single credential for different RestApi endpoints. You would need to enter each credential of them in Power BI Service.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors