Convert private Workspace to public in Azure DevOps

Sometime we do not have permission to access private workspace in Azure DevOps to make it accessible follow below steps :

  1. Global Administrator permissions –Member of the “Project Collection Administrators” permissions group in Azure DevOps Project which is linked with workspace.
  2. Open up Developer Command Prompt for VS 2019.
  3.  Identify the workspace name and owner:
    tf workspaces /owner:* /computer:* /collection:https://<site.url>/defaultcollection
  4.  Change Permission to Public:
    tf workspace /collection:https://<site.url>        AzureBIDEV01_01;https://<site.url>\<username> /permission:Public