Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi team,
I have a custom connector in Power BI and would like to distinguish between calls from Power BI desktop from Power BI service.
Now my questions are :
A) Is it possible to distinguish calls from within the connector code in the first place? And if yes, how can we achieve it?
B) Would Extension.CurrentApplication be helpful in this task? I would appreciate if anyone can share an example or documentation of this field/function and what exactly does it return, as I couldn't find anything useful online so far.
Any suggestions or leads would be appreciated. Thanks!
Power BI service has no idea how to handle your custom connectors. This is all delegated to the gateway cluster members. These gateway cluster members behave like headless instances of Power BI Desktop. As far as I know there is no way to determine which entity (your PC or a gateway) is requesting the Power Query code for the custom connector. What you could assume is that the operating system of the requestor is Windows 10 or 11 for the desktop, and Windows Server for the gateway.
How can I get the operating system of the requestor in the connector? Is there a function that I could use in power query?
In the vast majority of cases the requestor will be the Azure service. Not sure how that will help you.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |