Skip to content

Commit d929e94

Browse files
authored
Merge pull request MicrosoftDocs#36795 from chris4jahn/patch-5
Editet some az typo and encoding problems
2 parents e1f10eb + dacb3f4 commit d929e94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/lighthouse/how-to/onboard-customer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Locations : {}
103103
# Log in first with az login if you're not using Cloud Shell
104104
105105
az account set –subscription <subscriptionId>
106-
az provider show namespace "Microsoft.ManagedServices" -output table
106+
az provider show --namespace "Microsoft.ManagedServices" --output table
107107
```
108108

109109
This should return results similar to the following:
@@ -151,16 +151,16 @@ In order to define authorizations, you'll need to know the ID values for each us
151151
# Log in first with az login if you're not using Cloud Shell
152152
153153
# To retrieve the objectId for an Azure AD group
154-
az ad group list –-query "[?displayName == '<yourGroupName>'].objectId" -output tsv
154+
az ad group list --query "[?displayName == '<yourGroupName>'].objectId" --output tsv
155155
156156
# To retrieve the objectId for an Azure AD user
157-
az ad user show –-upn-or-object-id "<yourUPN>" –-query "objectId" -output tsv
157+
az ad user show --upn-or-object-id "<yourUPN>" –-query "objectId" --output tsv
158158
159159
# To retrieve the objectId for an SPN
160-
az ad sp list –-query "[?displayName == '<spDisplayName>'].objectId" -output tsv
160+
az ad sp list --query "[?displayName == '<spDisplayName>'].objectId" --output tsv
161161
162162
# To retrieve role definition IDs
163-
az role definition list -name "<roleName>" | grep name
163+
az role definition list --name "<roleName>" | grep name
164164
```
165165

166166
## Create an Azure Resource Manager template

0 commit comments

Comments
 (0)