TFVC: cannot undo/delete workspace with orphaned owner identity — TF14061 on all operations
Tareq Marji
0
Reputation points
Organization: xxxxxxx (Azure DevOps Services). TFVC server workspace xxxxx holds a lot pending changes including an exclusive lock on files under $/Axxxxa/.../xxxxxx, blocking checkout for the team. The workspace's local mapping was deleted on the owner's machine.
The workspace is enumerable but not bindable:
-
tf workspaces /owner:*andVersionControlServer.QueryWorkspaces()return it (owneruniqxxxxxxxx, ownerdisp "xxxxx") -
tf vc status /user:*lists all pending changes - But
tf workspace /delete,tf vc undo /workspace:,VersionControlServer.DeleteWorkspace(), and evenWorkspace.Delete()/Workspace.GetPendingChanges()on the object returned by QueryWorkspaces all fail with TF14061 / WorkspaceNotFoundException - Tried every owner form: display name, email, tenant-qualified UPN, and the owner GUID
Requesting user is a collection admin with Allow on Undo/Unlock/Check in other users' changes.
Request: guidance or backend cleanup to release this workspace's pending changes and lock.
Azure DevOps
Sign in to answer