【问题标题】:Unable to permanently delete Azure DevOps Server 2020 project无法永久删除 Azure DevOps Server 2020 项目
【发布时间】:2022-01-01 07:19:46
【问题描述】:

我使用集合设置 -> 项目屏幕删除了 Azure DevOps Server 2020 中的两个项目。我知道 DevOps Server 会软删除项目,并且在您单击“查看最近删除的项目”时会列出它们。

我想永久删除这两个项目。我尝试使用 Azure CLI 和命令 az devops project delete --id [project id] 删除这两个项目,但一直收到错误 VS800075: The project with id '8f0d8b14-837b-47aa-802c-aac2*********' does not exist, or you do not have permission to access it. 我尝试输入不带破折号的 id 并得到相同的错误。

我尝试使用 TFSDeleteProject,但它不适用于我的 Visual Studio 2022 版本。我认为它可能仅适用于旧版本。

我还尝试使用 Azure DevOps REST Api 删除这两个项目,但出现类似错误:

{"$id":"1","innerException":null,"message":"VS800075: The project with id
     | '8f0d8b14-837b-47aa-802c-*************' does not exist, or you do not have permission to access
     | it.","typeName":"Microsoft.TeamFoundation.Core.WebApi.ProjectDoesNotExistException,
     | Microsoft.TeamFoundation.Core.WebApi","typeKey":"ProjectDoesNotExistException","errorCode":0,"eventId":3000}

我已经在 DevOps 中重新生成了我的安全令牌,并确保我拥有完全权限。有没有办法在 DevOps Server 2020 中永久删除项目?

【问题讨论】:

    标签: azure azure-devops tfs azure-devops-rest-api azure-devops-server


    【解决方案1】:

    如果您不想等待 28 天直到它被永久删除,您需要从 Azure DevOps 管理控制台中删除该项目:

    【讨论】:

    • 成功了!谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-06-28
    • 2021-01-31
    • 2021-11-15
    • 1970-01-01
    • 1970-01-01
    • 2021-03-07
    • 2022-11-02
    相关资源
    最近更新 更多