Reputation: 16224
I have a file in Visual Studio Online (visualstudio.com) locked by a Microsoft account user from a PC both of which do not exist any more.
How do I remove the lock by Microsoft account H.....w?
Upvotes: 2
Views: 2688
Reputation: 2162
Since the user account and PC are gone, the associated workspace should be deleted -- which will undo (lose) the pending changes, including the lock.
You can use tf.exe to delete the workspace. It's usually located under the Visual Studio install folder in Program Files(x86), or open a Developer Command Prompt for VS and it should be in the path there.
Something along the lines of:
tf.exe workspace /delete /collection:<VSOnline/Azure Repos URL> CUSTOMER-PC;H...w
The syntax is a little tricky sometimes -- docs are here.
Upvotes: 1