Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I use PowerBI rest API to copy a dataset from one workspace to another workspace.
The datasources of this dataset are from a custom connector installed on a gateway.
I use a service principal to perform all operations.
When I try to refresh my dataset, I can't, because I have an error message saying that the extension is not activated on the gateway.
When I try "GetGatewayDatasourcesInGroup", I have an error "Not found". "GetDatasourcesIngroup" returns an empty list. So I've tried "BindToGatewayInGroup", but I have a message "forbidden".
My service principal has admin rights on the workspace, dataset, gateway, datasources. It has dataset.ReadAll, dataset.RealWriteAll, gateway.ReadAll and gateway.ReadWriteAll rights.
In the service, when I go to the workspace created, and choose "Take control", I can see the gateway and bind the datasources.
Any idea of what's happening, and how to fix it?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 9 | |
| 9 | |
| 8 |
| User | Count |
|---|---|
| 33 | |
| 29 | |
| 27 | |
| 25 | |
| 25 |