Skip to content

Commit a5716fa

Browse files
chore: Update teamsapp.local.yml for improved configuration management
1 parent 5741551 commit a5716fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

extensions/teams/teamsapp.local.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ provision:
2525
# The Microsoft Entra application's client secret created for bot.
2626
botPassword: SECRET_BOT_PASSWORD
2727

28+
# Create service principal for the Microsoft Entra application
29+
- uses: cli/runNpmCommand
30+
name: Enable Service Principal
31+
with:
32+
args: run enable-sp
33+
env:
34+
BOT_ID: ${{BOT_ID}}
35+
2836
# Create or update the bot registration on dev.botframework.com
2937
- uses: botFramework/create
3038
with:
@@ -76,5 +84,6 @@ deploy:
7684
envs:
7785
BOT_ID: ${{BOT_ID}}
7886
BOT_PASSWORD: ${{SECRET_BOT_PASSWORD}}
87+
TEAMS_APP_TENANT_ID: ${{TEAMS_APP_TENANT_ID}}
7988
AZURE_FUNCTION_URL: ${{AZURE_FUNCTION_URL}}
8089
AZURE_APP_API_BASE_URL: ${{AZURE_APP_API_BASE_URL}}

0 commit comments

Comments
 (0)