From 455a21fff6395aa4d0a9ad1f295476100901b6e3 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 27 Feb 2017 21:23:25 -0800 Subject: [PATCH] Switch from Owner to Contributor role. (#2321) --- .../azure-cli-acs/azure/cli/command_modules/acs/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py index 27293a13653..0a1f5a844d4 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py @@ -443,7 +443,7 @@ def acs_create(resource_group_name, deployment_name, name, ssh_key_value, dns_na logger.info('Created a service principal: %s', service_principal) store_acs_service_principal(subscription_id, client_secret, service_principal) # Either way, update the role assignment, this fixes things if we fail part-way through - if not _add_role_assignment('Owner', service_principal): + if not _add_role_assignment('Contributor', service_principal): raise CLIError( 'Could not create a service principal with the right permissions. Are you an Owner on this project?') else: