Skip to content

Commit

Permalink
Fix: Wiki ALZ Azure Setup Bash command (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
baartch authored Nov 9, 2023
1 parent 0eb642e commit a339243
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/wiki/ALZ-Setup-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ az role assignment create --scope '/' --role 'Owner' --assignee-object-id $(az a

#(optional) assign Owner role at Tenant root scope ("/") as a User Access Administrator to service principal (set spn_displayname to your service principal displayname)
spn_displayname='<ServicePrincipal DisplayName>'
az role assignment create --scope '/' --role 'Owner' --assignee-object-id $(az ad sp list --display-name $spn_displayname --query '[].{objectId:objectId}' -o tsv) --assignee-principal-type ServicePrincipal
az role assignment create --scope '/' --role 'Owner' --assignee-object-id $(az ad sp list --display-name "$spn_displayname" --query '[].id' -o tsv) --assignee-principal-type ServicePrincipal
````

PowerShell
Expand Down
6 changes: 6 additions & 0 deletions docs/wiki/Whats-new.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## In this Section

- [Updates](#updates)
- [November 2023](#november-2023)
- [October 2023](#october-2023)
- [September 2023](#september-2023)
- [August 2023](#august-2023)
Expand Down Expand Up @@ -39,6 +40,11 @@ This article will be updated as and when changes are made to the above and anyth

Here's what's changed in Enterprise Scale/Azure Landing Zones:

### November 2023

#### Docs
- Fixed in ALZ Azure Setup the bash command to assign at root scope _Owner_ role to a Service Principal.

### October 2023

#### Policy
Expand Down

0 comments on commit a339243

Please sign in to comment.