Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/azure-cli/azure/cli/command_modules/role/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@
- name: --scopes
short-summary: >
Space-separated list of scopes the service principal's role assignment applies to.
Starting from Azure CLI 2.35.0, --scopes argument will become required for creating role assignments.
Defaults to the root of the current subscription. e.g., /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333,
/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or
/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/azure/cli/command_modules/role/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

logger = get_logger(__name__)

SCOPE_WARNING = "In a future release, --scopes argument will become required for creating a role assignment. " \
"Please explicitly specify --scopes."
SCOPE_WARNING = "Starting from Azure CLI 2.35.0, --scopes argument will become required for creating role " \
"assignments. Please explicitly specify --scopes."

# pylint: disable=too-many-lines

Expand Down