Skip to content

Commit 0187950

Browse files
committed
fix command
1 parent a6e054d commit 0187950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/cognitive-services-azure-active-directory-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Now that you have a custom subdomain associated with your resource, you're going
4747
```powershell-interactive
4848
$SecureStringPassword = ConvertTo-SecureString -String <YOUR_PASSWORD> -AsPlainText -Force
4949
50-
$app = New-AzADApplication -DisplayName <APP_DISPLAY_NAME> -IdentifierUris <APP_URIS> -Password $SecureStringPassword
50+
$app = New-AzureADApplication -DisplayName <APP_DISPLAY_NAME> -IdentifierUris <APP_URIS> -PasswordCredentials $PasswordCredential
5151
```
5252

5353
You're going to need the **ApplicationId** in the next step.

0 commit comments

Comments
 (0)