Skip to content

Commit de1340a

Browse files
angie4uFlorian Wagner
authored and
Florian Wagner
committed
add aad application creation pwsh script (#9)
1 parent 2bb3a77 commit de1340a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ Prerequisites for all tasks:
2525
1. Creation of AAD AppId
2626

2727
```pwsh
28+
# Create AAD application
29+
az ad app create --display-name <YourBotName> --available-to-other-tenants --reply-urls 'https://token.botframework.com/.auth/web/redirect'
2830
31+
# Retrieve Application Id
32+
$appId=$(az ad app list --display-name <YourBotName> --query '[0].appId' -o tsv)
33+
34+
# Create Application Password
35+
$appPassword=$(az ad app credential reset --id $appId --query 'password' -o tsv)
2936
```
3037

3138
2. Issuing a SSL Certificate

0 commit comments

Comments
 (0)