Skip to content

Commit 27ce6a5

Browse files
committed
Updated resource group permissions
1 parent ee6eb13 commit 27ce6a5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/load-testing/tutorial-cicd-azure-pipelines.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ Create a service connection in Azure Pipelines so that your CI/CD workflow has a
7575
| Field | Value |
7676
| ----- | ----- |
7777
| **Scope level** | *Subscription*. |
78-
| **Subscription** | Select the Azure subscription that contains your load testing resource. |
79-
| **Resource group** | Paste the JSON role assignment credentials you copied earlier. |
78+
| **Subscription** | Select the Azure subscription that will host your load testing resource. |
79+
| **Resource group** | Leave empty. The pipeline creates a new resource group for the Azure Load Testing resource. |
8080
| **Service connection name** | Enter a unique name for the service connection. You'll use this name later, to configure the pipeline definition. |
8181
| **Grant access permission to all pipelines** | Checked. |
8282

@@ -99,15 +99,15 @@ To grant access to your Azure Load Testing resource, assign the Load Test Contri
9999
echo $object_id
100100
```
101101
102-
1. Assign the `Load Test Contributor` role to the service principal. Replace the placeholder text `<resource-group-name>` with the Azure Load Testing resource group name.
102+
1. Assign the `Load Test Contributor` role to the service principal:
103103
104104
```azurecli-interactive
105105
subscription=$(az account show --query "id" -o tsv)
106106
echo $subscription
107107
108108
az role assignment create --assignee $object_id \
109109
--role "Load Test Contributor" \
110-
--scope /subscriptions/$subscription/resourceGroups/<resource-group-name> \
110+
--scope /subscriptions/$subscription \
111111
--subscription $subscription
112112
```
113113
@@ -182,12 +182,12 @@ To grant access to your Azure Load Testing resource, assign the Load Test Contri
182182
echo $object_id
183183
```
184184
185-
1. Assign the `Load Test Contributor` role to the service principal. Replace the placeholder text `<resource-group-name>` with the Azure Load Testing resource group name.
185+
1. Assign the `Load Test Contributor` role to the service principal:
186186
187187
```azurecli-interactive
188188
az role assignment create --assignee $object_id \
189189
--role "Load Test Contributor" \
190-
--scope /subscriptions/$subscription/resourceGroups/<resource-group-name> \
190+
--scope /subscriptions/$subscription \
191191
--subscription $subscription
192192
```
193193
---

0 commit comments

Comments
 (0)