Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply

How to verify if the request originated from PBI Desktop or PBI on-prem gateway in Custom Connector?

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.

3 REPLIES 3

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.

lbendlin
Super User
Super User

Gateways have a fixed set of IP addresses. 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors