Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am looking for a way to call an API requiring mTLS + client credential and use this data source for scheduled refresh from PowerBI Service. Do I need a proxy api to present the client certificate or can I do it from within a custom connector/On Prem gateway?
Thanks
Solved! Go to Solution.
Hi @caffineaddict19 ,
To call an API requiring mTLS (mutual TLS) + client credentials authentication and set it up for scheduled refresh in Power BI Service, here’s a breakdown:
Key Points:
Key Points:
If you can manage mTLS and client credential flow in a custom connector, that’s the ideal solution for direct integration. However, a proxy API simplifies the setup at the cost of adding an intermediary. Both methods work with Power BI Service scheduled refresh when properly configured.
Please mark this as solution if it helps. Appreciate Kudos
Hi, I will look into the first option. When embedding the certificate, does that mean compiling the certificate along with the rest of the files into the .mez file? From my understanding, .mez file is a compressed folder of all the files to build the connector. If so, can I come up with a powershell script to automate the process of embedding certificates to connectors? We want to distribute the custom connector to our clients and each will host the On-prem gateway + custom connector from their machines.
Hi @caffineaddict19 ,
To call an API requiring mTLS (mutual TLS) + client credentials authentication and set it up for scheduled refresh in Power BI Service, here’s a breakdown:
Key Points:
Key Points:
If you can manage mTLS and client credential flow in a custom connector, that’s the ideal solution for direct integration. However, a proxy API simplifies the setup at the cost of adding an intermediary. Both methods work with Power BI Service scheduled refresh when properly configured.
Please mark this as solution if it helps. Appreciate Kudos
Update: I was able to perform mTLS within customconnector/On-prem gateway. One of the paremeter called client certificate inside Web.Contents takes a thumprint of certificates stored inside the Windows Certificate Store. This certificate is presented to the server from client machine and can perform mTLS
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
9 | |
8 | |
6 | |
6 |