从命令行发布 Azure DevOps 扩展失败并返回 401
Publish an Azure DevOps extension from command line fails with 401
我开发了一个 Azure DevOps 扩展。现在我想自动化发布过程。旅程从这里开始......根据理论here,现实对我来说看起来不同。
对我来说,每次通过命令行发布的尝试都以
结束
tfx extension publish --auth-type pat -t
7dblablablablablablablablazq --share-with examplecompany0123
TFS Cross Platform Command Line Interface v0.6.3
Copyright Microsoft Corporation
Checking if this extension is already published
It isn't, create a new extension.
error: Received response 401 (Not Authorized). Check that your personal
access token is correct and hasn't expired.
我对该错误消息 401 的第一个猜测是我的 PAT 可能有误。看一下我的 PAT 管理,一切似乎都很好。
所以,现在我在 five-barred 门口像一头母牛一样面对。我只是不明白失败的根源。这里有人已经解决了这个新手初学者的问题并达到了新的水平并且可以帮助我吗?
确保您的 PAT 拥有帐户:'All accessible organizations'。
我开发了一个 Azure DevOps 扩展。现在我想自动化发布过程。旅程从这里开始......根据理论here,现实对我来说看起来不同。
对我来说,每次通过命令行发布的尝试都以
结束tfx extension publish --auth-type pat -t
7dblablablablablablablablazq --share-with examplecompany0123
TFS Cross Platform Command Line Interface v0.6.3
Copyright Microsoft Corporation
Checking if this extension is already published
It isn't, create a new extension.
error: Received response 401 (Not Authorized). Check that your personal
access token is correct and hasn't expired.
我对该错误消息 401 的第一个猜测是我的 PAT 可能有误。看一下我的 PAT 管理,一切似乎都很好。
所以,现在我在 five-barred 门口像一头母牛一样面对。我只是不明白失败的根源。这里有人已经解决了这个新手初学者的问题并达到了新的水平并且可以帮助我吗?
确保您的 PAT 拥有帐户:'All accessible organizations'。