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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors