Skip to content

Commit bfa82ee

Browse files
isra-felvidai-msft
andauthored
Fixed typo in "using-azure-test-framework.md" (#21986)
* Update using-azure-test-framework.md * Update using-azure-test-framework.md --------- Co-authored-by: Vincent Dai <[email protected]>
1 parent 0d7cb01 commit bfa82ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/testing-docs/using-azure-test-framework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Using a service principal is the preferred option for recording tests because it
5959
In order to create a new service principal, run the following command with an unused service principal display name:
6060

6161
```powershell
62-
Set-TestFxEnvironment -ServicePrincipalDisplayName <DisplayName> -SubscriptionId <SubscriptionId> -TenantId <TenantId> -RecordMode "Record"
62+
Set-TestFxEnvironment -ServicePrincipalDisplayName <DisplayName> -SubscriptionId <SubscriptionId> -TenantId <TenantId> -RecorderMode "Record"
6363
```
6464

6565
This command will first create a new service principal. And then set the `Contributor` role assignment for this service principal based upon the subscription provided. After that, it will place the service principal application id and automatically generated secret into the credentials file.
@@ -74,7 +74,7 @@ Alternatively, if you prefer creating a service principal by yourself from Azure
7474
If you would like to use an existing service principal, run the following command with an existing service principal application id and secret:
7575

7676
```powershell
77-
Set-TestFxEnvironment -ServicePrincipalId <ServicePrincipalApplicationId> -ServicePrincipalSecret <ServicePrincipalSecret> -SubscriptionId <SubscriptionId> -TenantId <TenantId> -RecordMode "Record"
77+
Set-TestFxEnvironment -ServicePrincipalId <ServicePrincipalApplicationId> -ServicePrincipalSecret <ServicePrincipalSecret> -SubscriptionId <SubscriptionId> -TenantId <TenantId> -RecorderMode "Record"
7878
```
7979

8080
For existing service principal, this command will respect your own settings and won't assign the `Contributor` role automatically.

0 commit comments

Comments
 (0)