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
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.
Solved! Go to Solution.
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.
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.