Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have made a custom connector for the company I work for, we want to add the capability of sign in a reverse proxy and the consume data from the desired server, the thing is that I’m not sure if this is possible due the limitations of the Power Query SDK, or if is possible I don’t know if there is some documentation to implement it?
We want to do it directly in the connector source code, the most I have found is this post asking how to set up a reverse proxy to a Power BI Server. PowerBI Server Reverse Proxy - Microsoft Fabric Community
I thinks a possible path is to create an intermediate software (In C# I.E) that implements the reverse proxy and just exposes an URL and can use in my Custom connector / Power BI Desktop
Solved! Go to Solution.
Hi ECorona,
Thank you for your inquiry regarding the implementation of reverse proxy authentication in a Power BI custom connector.
Based on my understanding, reverse proxy authentication is not natively supported within the Power Query SDK (M language), owing to its sandboxed security model. Custom connectors are restricted to the authentication types supported, such as OAuth2, Basic, API Key, and Windows Authentication.
If native support for reverse proxy authentication is essential to your requirements, we kindly encourage you to submit a suggestion on the Power BI Ideas forum for future consideration using the link Fabric Ideas - Microsoft Fabric Community. Microsoft product teams actively monitor this platform for enhancements driven by community feedback.
Additionally, please refer to the following link for more information:
Handling authentication for Power Query connectors - Power Query | Microsoft Learn
If you find our response helpful, we would appreciate it if you could mark it as the accepted solution and provide kudos. This will benefit other community members who may have similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.
Thank you.
Hey @ECorona ,
Yes, you can enable reverse proxy authentication, but indirectly through a middleware proxy that handles the authentication and provides a secure, simplified API for Power BI to consume. Adding support for reverse proxy authentication in a custom connector (especially for Power BI or Power Platform via the Power Query SDK) is possible, but it involves architectural workarounds, as direct support is limited.
Power Query custom connectors:
Support OAuth2, Basic, and API key authentication natively.
Do not have built-in support for reverse proxy authentication mechanisms like SSO via headers or cookies injected by a reverse proxy (e.g., Azure Application Gateway or Nginx with SAML/LDAP).
Your idea is solid: create a custom middleware (e.g., in C# or Node.js) that acts as a reverse proxy with authentication logic.
Client (Power BI with custom connector) →
Middleware Proxy (implements authentication against the target system, injects headers/tokens) →
Backend Server (actual data source).
Handle login (e.g., forward cookies, inject SSO headers).
Maintain session (with token or cookie).
Expose a simple RESTful API to Power BI.
Possibly cache responses for performance/security.
No need to bake complex authentication into Power BI custom connector.
Greater control over retries, auth flows, security headers, rate-limiting.
Simplifies your connector code — it only talks to your trusted proxy.
Set your connector to access: https://your-proxy.company.com/api/data
Use a simple Anonymous authentication in the connector (the proxy handles security).
Example:
[DataSource.Kind="MyProxyConnector", Publish="MyProxyConnector.Publish"]
shared MyProxyConnector.Contents = () =>
Json.Document(Web.Contents("https://your-proxy.company.com/api/data"));Use ASP.NET Core with HttpClient to forward requests.
Authenticate with the upstream server (e.g., NTLM, Kerberos, JWT, etc.).
Cache session token for reuse.
Expose your endpoint to Power BI.
CORS isn’t an issue for desktop Power BI, but for online refresh (Power BI Service), your proxy must be internet-accessible and secure.
Headers: If the auth system requires client IP or browser headers, Power BI won’t send those.
Rate limiting/security: Implement authentication & authorization between Power BI and your proxy, perhaps with static tokens or IP whitelisting.
While there is no official Microsoft doc for reverse proxy support in custom connectors, these can help:
If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.
Best Regards,
Nasif Azam
Hi ECorona,
Thank you for your inquiry regarding the implementation of reverse proxy authentication in a Power BI custom connector.
Based on my understanding, reverse proxy authentication is not natively supported within the Power Query SDK (M language), owing to its sandboxed security model. Custom connectors are restricted to the authentication types supported, such as OAuth2, Basic, API Key, and Windows Authentication.
If native support for reverse proxy authentication is essential to your requirements, we kindly encourage you to submit a suggestion on the Power BI Ideas forum for future consideration using the link Fabric Ideas - Microsoft Fabric Community. Microsoft product teams actively monitor this platform for enhancements driven by community feedback.
Additionally, please refer to the following link for more information:
Handling authentication for Power Query connectors - Power Query | Microsoft Learn
If you find our response helpful, we would appreciate it if you could mark it as the accepted solution and provide kudos. This will benefit other community members who may have similar queries.
Should you have any further questions, please feel free to reach out to the Microsoft Fabric community.
Thank you.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 4 | |
| 3 | |
| 3 |