diff --git a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py index e679bac0ef..1a5828d5a4 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py @@ -274,7 +274,7 @@ class AzureRMRoleDefinition(AzureRMModuleBase): # build scope def build_scope(self): - subscription_scope = '/subscription/' + self.subscription_id + subscription_scope = '/subscriptions/' + self.subscription_id if self.scope is None: return subscription_scope return self.scope