diff --git a/src/azure/cli/commands/resourcegroup.py b/src/azure/cli/commands/resourcegroup.py index 1572b901512..6df6dbfac5a 100644 --- a/src/azure/cli/commands/resourcegroup.py +++ b/src/azure/cli/commands/resourcegroup.py @@ -1,6 +1,6 @@ from msrest import Serializer from ..commands import command, description -from ._command_creation import get_service_client +from ._command_creation import get_mgmt_service_client @command('resource group list') @description('List resource groups') @@ -13,7 +13,7 @@ def list_groups(args, unexpected): #pylint: disable=unused-argument ResourceManagementClientConfiguration from azure.mgmt.resource.resources.models import ResourceGroup, ResourceGroupFilter - rmc = get_service_client(ResourceManagementClient, ResourceManagementClientConfiguration) + rmc = get_mgmt_service_client(ResourceManagementClient, ResourceManagementClientConfiguration) # TODO: waiting on Python Azure SDK bug fixes #group_filter = ResourceGroupFilter(args.get('tag-name'), args.get('tag-value'))