Showing results for 
Search instead for 
Did you mean: 
New Member

How to do Multiple OAuth2 Authentication in Custom Connector of Power BI

Hi All,


I have to create a custom connector of Power BI. Here,i need to perform multiple OAuth authentication. Since there are two Apps of Microsoft OAuth2 configured for different set of API collection and based on the authentication, user will get access set of Data.



Thanks a lot in advance.



Community Support
Community Support



Not sure what do you mean by multiple, for custom connector please read through the tutorial and follow it step by step, there also many tutorial videos.


Installing the Power Query SDK | Microsoft Docs

Create custom connectors in Power Bi - YouTube



Paul Zheng _ Community Support Team

Thanks for responding.


Actually my scenario is, we have two applications, which serves similar kind of data. In our custom report we need to call two different API's based on OAuth, to get these data's. Currently we created two different Custom Report (separate for each API) and it is working well. Since it is two different reports, our users are suggesting to combine into one.


When we try to combine, since it is two application we have two different authentication process using Microsoft OAuth. So there are two different cliend_id's and we require two different tokens to access these two different API's (two different token coresponding to two different API's located in two different servers). This is the reason we enquired about having a multiple authentication mechanism. Please let me know if you require more details.



Thanks a lot. 

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors