Forum Discussion

V55's avatar
V55
Icon for Helper I rankHelper I
7 years ago

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.?

 

 

 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    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