Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

orphaned workspaces with API

Dear all,   Happy new year 2022!   I am writing because i would like to use the API  in order to get the list of orphaned workspaces (spaces without admin or members) https://docs.microsoft.com/...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Thank you very much Evelyn!!

    If i understand well what you said,

    your test tells that the workspace is  still active, but orphaned because there is no administrator in this workspace?

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    I have found the following descriptions for the states:

    • Active – A regular workspace that is available and accessible
    • Deleted – A deleted workspace that still exists in the Power BI service
    • Orphaned – A workspace without a user account with administrator permissions
    • Removing – A deleted workspace marked for permanent removal

     

    Based on it, I think orphaned workspace is still available and accessible, so it's reasonable that the Api returns "Active" state.

     

     

    Refer to:

    Power BI admin portal - Power BI | Microsoft Docs

    Workspace Management in the Admin Portal | Microsoft Power BI Blog | Microsoft Power BI

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.