You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug az repos ref create should exit with non zero exit code when it could not complete the action instead of exiting with 0 and showing the error:
{
"customMessage": "TF401027: You need the Git 'CreateBranch' permission to perform this action. Details: identity '<guid>\\email', scope 'repository'.",
"isLocked": false,
"name": "refs/heads/branch1",
"newObjectId": "05abcd2cfc888fccc25b132bb777d84b84d169a8",
"oldObjectId": "0000000000000000000000000000000000000000",
"rejectedBy": null,
"repositoryId": "<guid>",
"success": false,
"updateStatus": "createBranchPermissionRequired"
}
Describe the bug
az repos ref create
should exit with non zero exit code when it could not complete the action instead of exiting with 0 and showing the error:To Reproduce
Azure Cli Version:
Steps to reproduce the behavior:
Create branch
permission for the identity from the repository.Expected behavior
az
exits with non zero exit code.The text was updated successfully, but these errors were encountered: