Expand Power BI REST API / Fabric REST API to change the domain of a workspace
Power BI REST API
Using the Power BI REST API, it is possible to create a workspace and POST some settings, but there are some missing features.
The creation of workspaces is possible using a POST command to https://api.powerbi.com/v1.0/myorg/groups
The body has some options, but there is no option to set the domain of a workspace
There is also no option to do this after creation using PATCH to the same endpoint.
Fabric
Since Fabric, all our content is being deployed to an abundance of workspaces. There is a need to create these through the API, since clicking every DTAP setup would require a lot of manual labour. This is time consuming and can lead to mistakes.
Manual labour
Underneath is a list of steps we go through before being able to properly use the DTAP workspaces and its Fabric Deployment Pipelines setup. Some of these steps are manual as long as the REST API is not expanded:
- Create workspace, with a given name
- Connect the workspace to the Fabric capacity
- Add roles to the workspace with the proper rights
- Manual: Change the description of the workspace
- Manual: Change the domain to the correct domain
- Manual: Setup the contact person / group
- Manual: Connect the workspace to the Azure Log Analytics
- Manual: Connect the workspace to a GIT branche
- Create a deployment pipeline, with a given name and description
- Assign three workspaces to the three stages
- Add a usergroup as an Admin to the deployment pipeline
- Manual: Change the three default stagenames to our internal names
In bold the step for this idea
2 Comments
- martijn_kuiperNew Member
I just found out that the Fabric REST API is able to change the domain, as opposed to the Power BI REST API, in three different ways, by ID, by capacity and by principals. https://learn.microsoft.com/en-us/rest/api/fabric/admin/domains/assign-domain-workspaces-by-capacities
- fbcideas_migusrNew MemberStatus added:New
Recent ideas
Power BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor12 hours agoSuper UserNew13Views0likes0CommentsPower BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor12 hours agoSuper UserNew13Views0likes0CommentsDefault Scrollable Time-Series Charts to Most Recent Data
Currently, Power BI time-series charts always open scrolled to the earliest (leftmost) date by default, which is inconvenient for reports where users are interested in the most recent (rightmost) dat...CStillwell13 hours agoNew MemberNew9Views0likes0CommentsPower BI Desktop Data Load: Can We Get Better Progress Visibility?
One UX improvement I’d really like to see in Power BI Desktop is better visibility when loading large datasets from Power Query. Currently, when Power Query finishes processing and the data starts l...salmansaifee7714 hours agoRegular VisitorNew21Views1like0Comments