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
Triadelphia
Regular Visitor

Custom connector support for authentication with client certificate to PKI protected data source?

Would it be possible to write a custom connector for Power BI Desktop that allowed connections to a REST API or other web.contents services that are PKI protected and require use of client certificates to authenticate?  This is completely out of my realm, so I could be completely missing something, but I don't see any option in the Authentication methods for custom connectors to use a client certificate for authentication to PKI protected data sources (like a REST API on a private network).  

 

Are there any examples of how you could get started building such a connector via Power Query?  I don't see an obvious option for authentication, but was hoping there was a workaround using one of the existing methods that has been leveraged by someone far more knowledgeable than myself...

 

This has been a complete showstopper for using a lot of corporate data sources, as I have no other authentication option.  Sadly it is trivial with many other products or through options like Python, etc... If anyone has examples or advice on how this can be achieved using Power Query (custom connector or not) it would be greatly appreciated.  Thank you

2 REPLIES 2
sam_woolerton
Frequent Visitor

For a few internal APIs I've used Azure Functions as a proxy of sorts - not sure what PKI is but I'm assuming the same method would work for you.

Can handle almost all the authentication on the AF end, and then just use basic auth or token etc to authenticate Power BI against the function itself

v-yuezhe-msft
Employee
Employee

@Triadelphia ,

I am afraid that it is not possible to achieve the above requirement in Power BI Desktop, there is an idea about this issue, please vote it up.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9516849-client-certificate-authen...

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