Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created August 8, 2020 05:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PlagueHO/5c395cc533880098b16d8e16ca3b2c05 to your computer and use it in GitHub Desktop.
PowerShell Command to deploy AKS Cluster ARM template with AAD Integration passing an Object Id of the Cluster Admins AD Group
New-AzResourceGroupDeployment `
-ResourceGroupName 'MyAksWithAad_RG `
-TemplateFile 'ArmTemplateAksClusterWithManagedAadIntegration.json' `
-TemplateParameterObject @{
clusterAdminGroupObjectIds = @( $clusterAdminGroupObjectIds )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment