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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
MylenePBI
Helper I
Helper I

PowerBI Rest API: BindToGatewayInGroup return Forbidden

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?

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.