Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Springstone committed Dec 11, 2024
1 parent 22f91bc commit df3ed28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslzArm/prerequisites/deployPrerequisites.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
$rps = @('Microsoft.Insights','Microsoft.AlertsManagement','Microsoft.OperationalInsights','Microsoft.OperationsManagement','Microsoft.Automation','Microsoft.AlertsManagement','Microsoft.Security','Microsoft.Network','Microsoft.EventGrid','Microsoft.ManagedIdentity','Microsoft.GuestConfiguration','Microsoft.Advisor','Microsoft.PolicyInsights')

foreach ($sub in $subs) {
Select-AzSubscription -SubscriptionId $sub.id
Write-Host 'Registering resource providers for subscription: ' $sub.id
Write-Host 'Registering resource providers for subscription: ' $sub.subscriptionId
Select-AzSubscription -SubscriptionId $sub.subscriptionId
Get-AzResourceProvider -ProviderNamespace $rps | where {$_.RegistrationState -ne \"Registered\"} | Register-AzResourceProvider
}
"
Expand Down

0 comments on commit df3ed28

Please sign in to comment.