Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 9a46c38

Browse files
authored
Merge pull request #201 from MicrosoftLearning/lab7-update
M07-LAB07 CLI update issue
2 parents 4010b40 + 6aee68d commit 9a46c38

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Instructions/Labs/AZ400_M07_Integrating_Azure_Key_Vault_with_Azure_DevOps.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ A service principal is automatically created by Azure Pipeline when you connect
104104
1. From the **Bash** prompt, in the **Cloud Shell** pane, run the following command to create a service principal (replace the `<service-principal-name>` with any unique string of characters consisting of letters and digits):
105105

106106
```
107-
az ad sp create-for-rbac --name <service-principal-name>
107+
az ad sp create-for-rbac --name <service-principal-name> --role Contributor
108108
```
109109
110110
> **Note**: The command will generate a JSON output. Copy the output to text file. You will need it later in this lab.
@@ -190,9 +190,9 @@ This will open another browser tab displaying the **Service connections** pane i
190190
191191
- Subscription Id: the value you obtained by running `az account show --query id --output tsv`
192192
- Subscription Name: the value you obtained by running `az account show --query name --output tsv`
193-
- Service Principal Id: the value labeled **appId** in the output generated by running `az ad sp create-for-rbac --name <service-principal-name>`
194-
- Service Principal key: the value labeled **password** in the output generated by running `az ad sp create-for-rbac --name <service-principal-name>`
195-
- TenantId: the value labeled **tenant** in the output generated by running `az ad sp create-for-rbac --name <service-principal-name>`
193+
- Service Principal Id: the value labeled **appId** in the output generated by running `az ad sp create-for-rbac `
194+
- Service Principal key: the value labeled **password** in the output generated by running `az ad sp create-for-rbac `
195+
- TenantId: the value labeled **tenant** in the output generated by running `az ad sp create-for-rbac `
196196
197197
1. On the **New service connection** pane, click **Verify** to determine whether the information you provided is valid.
198198
1. Once you receive the **Verification Succeeded** response, in the **Service connection name** textbox, type **kv-service-connection** and click **Verify and Save**.

0 commit comments

Comments
 (0)