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
We are developing a custom connector that supports both Power BI Desktop and Power BI on-prem gateway for Service. The connector user web.contents to fetch the REST API results from our database.
We come across a blocker where we have to handle queries differently for the Power BI desktop and service in the same MEZ(custom connector) file.
Any idea how to validate the request from the very first request sent from the clients(Desktop or Service of PBI)? It would be easy even if we know anyone unique specific parameter or header.
Thanks for the response.
Is there any other way to validate request via web.contents request initiated from desktop or server?
Same idea. Azure service uses a specific IP range. You find that in the documentation.
Gateways have a fixed set of IP addresses.
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.