diff --git a/Tasks/AzurePowerShellV3/task.json b/Tasks/AzurePowerShellV3/task.json index b9722f0bed3d..1d313cee4075 100644 --- a/Tasks/AzurePowerShellV3/task.json +++ b/Tasks/AzurePowerShellV3/task.json @@ -72,7 +72,7 @@ "helpMarkDown": "Azure Resource Manager subscription to configure before running PowerShell", "visibleRule": "ConnectedServiceNameSelector = ConnectedServiceNameARM", "properties": { - "EndpointFilterRule": "ScopeLevel == ManagementGroup || ScopeLevel != ManagementGroup" + "EndpointFilterRule": "ScopeLevel != AzureMLWorkspace" } }, { diff --git a/Tasks/AzurePowerShellV3/task.loc.json b/Tasks/AzurePowerShellV3/task.loc.json index b550544b5abc..3ddae768d872 100644 --- a/Tasks/AzurePowerShellV3/task.loc.json +++ b/Tasks/AzurePowerShellV3/task.loc.json @@ -72,7 +72,7 @@ "helpMarkDown": "ms-resource:loc.input.help.ConnectedServiceNameARM", "visibleRule": "ConnectedServiceNameSelector = ConnectedServiceNameARM", "properties": { - "EndpointFilterRule": "ScopeLevel == ManagementGroup || ScopeLevel != ManagementGroup" + "EndpointFilterRule": "ScopeLevel != AzureMLWorkspace" } }, { diff --git a/Tasks/AzurePowerShellV4/task.json b/Tasks/AzurePowerShellV4/task.json index 9ea5141dcbd2..eb9722890242 100644 --- a/Tasks/AzurePowerShellV4/task.json +++ b/Tasks/AzurePowerShellV4/task.json @@ -41,7 +41,7 @@ "required": true, "helpMarkDown": "Azure Resource Manager subscription to configure before running PowerShell", "properties": { - "EndpointFilterRule": "ScopeLevel == ManagementGroup || ScopeLevel != ManagementGroup" + "EndpointFilterRule": "ScopeLevel != AzureMLWorkspace" } }, { diff --git a/Tasks/AzurePowerShellV4/task.loc.json b/Tasks/AzurePowerShellV4/task.loc.json index f4a271f80884..b12ed3a0181b 100644 --- a/Tasks/AzurePowerShellV4/task.loc.json +++ b/Tasks/AzurePowerShellV4/task.loc.json @@ -41,7 +41,7 @@ "required": true, "helpMarkDown": "ms-resource:loc.input.help.ConnectedServiceNameARM", "properties": { - "EndpointFilterRule": "ScopeLevel == ManagementGroup || ScopeLevel != ManagementGroup" + "EndpointFilterRule": "ScopeLevel != AzureMLWorkspace" } }, {