diff --git a/docs/wiki/ALZ-Setup-azure.md b/docs/wiki/ALZ-Setup-azure.md index cff9a3ca2c..729a033833 100644 --- a/docs/wiki/ALZ-Setup-azure.md +++ b/docs/wiki/ALZ-Setup-azure.md @@ -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='' -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 diff --git a/docs/wiki/Whats-new.md b/docs/wiki/Whats-new.md index b81a2842f9..f1219ceeb5 100644 --- a/docs/wiki/Whats-new.md +++ b/docs/wiki/Whats-new.md @@ -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) @@ -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