-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Milestone
Description
Describe the bug
Users or agents with an older version of the az CLI can get into a blocking situation when executing a command as it follows-up with an upgrade prompt for the CLI
Command Name
az ad sp create-for-rbac
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- get a machine with a non-current version of the
azCLI az ad sp create-for-rbac --name {} --role {} --scopes {} --sdk-auth
Expected Behavior
Command executes and finished with no blocking interactivity
Actual Behavior
Command executes, but finishes with an offer to upgrade to the latest CLI, thus blocking anything that is expecting either an error state or a final exit code
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.22.1
Additional Context
Reactions are currently unavailable