Forum Discussion
Unknown Gateway and Datasource Id's in Admin - Datasets GetDatasourcesAsAdmin API Response
Hi afernand0,
The datasourceId and gatewayId values in the response from the GetDatasourcesAsAdmin API for Dataflows do not directly correspond to on-premises data gateway IDs or dataflow IDs. Instead, these are system-generated internal identifiers used by Power BI’s service to manage and track data connections. The datasourceId represents the data source connection for the dataset, but for Dataflows, it does not match the actual GUID of a Dataflow and instead refers to an internal mapping. Similarly, the gatewayId does not necessarily correspond to an on-premises data gateway but rather an internal Power BI Cloud Gateway or Fabric connector that facilitates the connection. The response’s connectionDetails typically show "kind": "PowerPlatformDataflows", confirming that this data source is tied to Power BI’s Dataflow architecture rather than an on-premises system.
- afernand01 year agoFrequent Visitor
Hey rohit1991 , thanks for your AI generated comment which is rephrasing my question instead of answering it. I was hoping someone could shed some light on how to translate those 'virtual' ids to 'real' dataflow ids, so I can get the end-to-end lineage of a dataflow but it doesn't look like it's possible.
- Anonymous1 year agoNot applicable
HI afernand0,
Perhaps you can try to use following rest api to get data flows from specific workspace group:
Dataflows - Get Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng
- afernand01 year agoFrequent Visitor
Anonymous , this api also gives the same id's as the admin API. Are you able to provide any info on how to find an item using the datasourceId or gatewayId in the response?