Skip to content

Commit

Permalink
no longer hardcoding user principal in README example parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-frankel committed Jul 29, 2020
1 parent d4b75c9 commit bb8e730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ $publishedBp = Get-AzBlueprint -ManagementGroupId "DevMG" -Name "Boilerplate" -L
$rgHash = @{ name="MyBoilerplateRG"; location = "eastus" }
# all other (non-rg) parameters are listed in a single hashtable, with a key/value pair for each parameter
$parameters = @{ principalIds="caeebed6-cfa8-45ff-9d8a-03dba4ef9a7d" }
$user = Get-AzADUser -UserPrincipalName "[email protected]"
$parameters = @{ principalIds=$user.Id }
# All of the resource group artifact hashtables are themselves grouped into a parent hashtable
# the 'key' for each item in the table should match the RG placeholder name in the blueprint
Expand Down

0 comments on commit bb8e730

Please sign in to comment.