Forum Discussion
How to get the workspace creator
Hi,
I have used Get-PowerBIWorkspace PowerShell cmdlet to get workspace information. In this process i have manged to get workspaces and users. Is there a way to get the workspace creator using Power BI Rest API. I have a service account with admin privilages.
Thanks in advance!!!
Hi. You can't get that info. The way PowerBi metadata is stored won't have that info. The thing is a Workspace is a collaborative place without an owner. So it's like a folder with users that might have different privileges. The creator can be deleted from the users and the workspace can still exists.
You can read more about what you can do with the API in here: https://learn.microsoft.com/en-us/rest/api/power-bi/
I hope that make sense
1 Reply
- ibarrauSuper User
Hi. You can't get that info. The way PowerBi metadata is stored won't have that info. The thing is a Workspace is a collaborative place without an owner. So it's like a folder with users that might have different privileges. The creator can be deleted from the users and the workspace can still exists.
You can read more about what you can do with the API in here: https://learn.microsoft.com/en-us/rest/api/power-bi/
I hope that make sense