diff --git a/src/azure-cli/azure/cli/command_modules/role/_help.py b/src/azure-cli/azure/cli/command_modules/role/_help.py index 38ca2b5c110..fa83cc5e57b 100644 --- a/src/azure-cli/azure/cli/command_modules/role/_help.py +++ b/src/azure-cli/azure/cli/command_modules/role/_help.py @@ -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 diff --git a/src/azure-cli/azure/cli/command_modules/role/custom.py b/src/azure-cli/azure/cli/command_modules/role/custom.py index b0fb3a79aea..b6c68dfb2bb 100644 --- a/src/azure-cli/azure/cli/command_modules/role/custom.py +++ b/src/azure-cli/azure/cli/command_modules/role/custom.py @@ -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