Forum Discussion
Thor89
3 years agoFrequent Visitor
Setting workspace domain via API
Does anyone know if there is a way to set the new domain feature via the API? I have more than 1300 workspaces to set and doing that by hand is not really an option. I've seen that the domain info ...
bengtsson_peter
2 years agoFrequent Visitor
I guess my next question is: "How do I get the domain names"?
Thor89
2 years agoFrequent Visitor
That's a bit of manual work.
Go to the domain settings in the admin portal, there you'll have a list of all the domains by name.
Click a domain and the settings for that domain will open up, the url will be something like this https://app.powerbi.com/admin-portal/domains/{GUID}?experience=power-bi
You then have the Name of the domain as well as it's GUID in the URL, the GUID is the domain id in the metadata scan.