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
Hello,
i want to use this rest api:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/bind-to-gateway
but i need provide datasourceObjectIds for the gateway.
Gateway Id i got from here:
How to check datasourceObjectIds from Power Bi Service?
Best Wishes,
Jacek
Solved! Go to Solution.
Hi @jaryszek
Thank you for reaching out to Microsoft Forum community.
The answer provided by @SaiTejaTalasila was indeed correct. Because In the Power BI Service, you cannot directly see the datasourceobjectid for a dataset. The Power BI Service interface does not expose this specific identifier directly to users. To retrieve the datasourceobjectid, you typically need to use the Power BI REST API.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @jaryszek ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @jaryszek ,
I'm not sure where to find those details in service.You can check with your tenant admin he will help you.
Thanks,
Sai Teja
Hi @jaryszek ,
Run this GET https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources
It will list all datasources under that gateway, and inside that json output you can find id column and that will be your datasourceObjectId .
I hope it will be helpful.
Thanks,
Sai Teja
Thank you.
How to find it via power bi service?
Hi @jaryszek
Thank you for reaching out to Microsoft Forum community.
The answer provided by @SaiTejaTalasila was indeed correct. Because In the Power BI Service, you cannot directly see the datasourceobjectid for a dataset. The Power BI Service interface does not expose this specific identifier directly to users. To retrieve the datasourceobjectid, you typically need to use the Power BI REST API.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!