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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dmkblesser
Helper III
Helper III

Semantic Link or Semantic Link labs to take over semantic model ownership

Hi Community, 

 

Is there a function from the Semantic Link or Semantic Link labs can be used to take over the semantic model ownership? 

 

The use case is that we are trying to use a SPN to take over the ownership of all the semantic models within certain workspaces and then bind the models to a specific gateway. 

 

This is doable with the API call: https://api.powerbi.com/v1.0/myorg/groups/$groupID/datasets/$datasetID/Default.TakeOver and then we can run another API call to bind the gateway: 

https://api.powerbi.com/v1.0/myorg/groups/$groupID/datasets/$datasetID/Default.BindToGateway


I found sempy_labs.bind_semantic_model_to_gateway to bind the gateway but just could not find the one to take ownership. 

 

Appreciate any help on this. 

1 ACCEPTED SOLUTION
v-karpurapud
Community Support
Community Support

Hi @dmkblesser 

Thank you for contacting the Microsoft Fabric Community Forum.

Unfortunatley Semantic Link and Semantic Link Labs  do not offer a built-in feature to take ownership of semantic models (datasets) in Power BI workspaces. While Semantic Link Labs provides the semopy_labs.bind_semantic_model_to_gateway function for binding semantic models to a gateway, it does not handle ownership transfer. The appropriate way to take over ownership is by using the Power BI REST API, specifically the https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/Default.TakeOver endpoint. This allows a Service Principal Name (SPN) with the necessary permissions to assume ownership of datasets. After ownership is transferred with this API, you can bind the semantic models to a gateway using either the Power BI REST API or the semopy_labs.bind_semantic_model_to_gateway function. This design helps ensure secure and proper management of semantic models and gateways, as ownership takeover is intentionally restricted to the Power BI REST API for security and governance reasons.

For more information, you can refer to the official documentation for the Take Over Dataset API and the Bind Dataset to Gateway API.

 

 

 

Regards,

Karpurapu D,

Microsoft Fabric Community Support Team.

View solution in original post

1 REPLY 1
v-karpurapud
Community Support
Community Support

Hi @dmkblesser 

Thank you for contacting the Microsoft Fabric Community Forum.

Unfortunatley Semantic Link and Semantic Link Labs  do not offer a built-in feature to take ownership of semantic models (datasets) in Power BI workspaces. While Semantic Link Labs provides the semopy_labs.bind_semantic_model_to_gateway function for binding semantic models to a gateway, it does not handle ownership transfer. The appropriate way to take over ownership is by using the Power BI REST API, specifically the https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/Default.TakeOver endpoint. This allows a Service Principal Name (SPN) with the necessary permissions to assume ownership of datasets. After ownership is transferred with this API, you can bind the semantic models to a gateway using either the Power BI REST API or the semopy_labs.bind_semantic_model_to_gateway function. This design helps ensure secure and proper management of semantic models and gateways, as ownership takeover is intentionally restricted to the Power BI REST API for security and governance reasons.

For more information, you can refer to the official documentation for the Take Over Dataset API and the Bind Dataset to Gateway API.

 

 

 

Regards,

Karpurapu D,

Microsoft Fabric Community Support Team.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.