@@ -121,7 +121,7 @@ $resourceTestCommands = @(
121
121
@ {Name = " Az.Kusto" ; Command = {Get-AzKustoCluster - ErrorAction Stop}},
122
122
@ {Name = " Az.LogicApp" ; Command = {Get-AzIntegrationAccount - ErrorAction Stop}},
123
123
@ {Name = " Az.MachineLearning" ; Command = {Get-AzMlWebService - ErrorAction Stop}},
124
- @ {Name = " Az.Maintenance" ; Command = {Get-AzMaintenanceConfiguration - ErrorAction Stop}},
124
+ @ {Name = " Az.Maintenance" ; Command = {Retry - AzCommand - Command " Get-AzMaintenanceConfiguration -ErrorAction Stop" - RetryCount 30 - Sleep 30 }},
125
125
@ {Name = " Az.ManagedServices" ; Command = {Get-AzManagedServicesAssignment - ErrorAction Stop}},
126
126
# Machine learning compute cmdlets are removed. The following line are to be commented until they are brought back
127
127
# @{Name = "Az.MachineLearning [Compute]"; Command = {Get-AzMlOpCluster -ErrorAction Stop}},
@@ -131,7 +131,7 @@ $resourceTestCommands = @(
131
131
@ {Name = " Az.Network" ; Command = {Get-AzNetworkInterface - ErrorAction Stop}},
132
132
@ {Name = " Az.NotificationHubs" ; Command = {Get-AzNotificationHubsNamespace - ErrorAction Stop}},
133
133
@ {Name = " Az.OperationalInsights" ; Command = {Get-AzOperationalInsightsWorkspace - ErrorAction Stop}},
134
- @ {Name = " Az.PolicyInsights" ; Command = {Get-AzPolicyEvent - ErrorAction Stop}},
134
+ @ {Name = " Az.PolicyInsights" ; Command = {Get-AzPolicyEvent - Top 10 - ErrorAction Stop}}, # without -Top service may return 400: ResponseTooLarge
135
135
@ {Name = " Az.PowerBIEmbedded" ; Command = {Get-AzPowerBIEmbeddedCapacity - ErrorAction Stop}},
136
136
@ {Name = " Az.PowerBIUEmbedded" ; Command = {Get-AzPowerBIWorkspaceCollection - ErrorAction Stop}},
137
137
@ {Name = " Az.PrivateDns" ; Command = {Get-AzPrivateDnsZone - ErrorAction Stop}},
@@ -210,4 +210,4 @@ if ($testInfo.FailedTests.Count -gt 0)
210
210
211
211
# Resolve-AzError
212
212
# $DebugPreference = $oldDebug
213
- # $VerbosePreference = $oldVerbose
213
+ # $VerbosePreference = $oldVerbose
0 commit comments