Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
5d561e9
feat: Enable AVM WAF implementation to align with updated AVM standar…
Pavan-Microsoft Sep 15, 2025
1d0b33d
feat: Replaced AVM modules with local modules to reduce the main.json…
Prajwal-Microsoft Sep 16, 2025
7c96b33
fix: Integrate UMI Across Infra, Secure PostgreSQL Connections, and U…
Pavan-Microsoft Sep 16, 2025
d36cf84
Merge branch 'waf-avm' of https://github.com/Azure-Samples/chat-with-…
Prajwal-Microsoft Sep 16, 2025
569e9ca
fix: Update OpenAI deployment SKU name and set default location for C…
Pavan-Microsoft Sep 16, 2025
ee431d5
feat: Add support for user-assigned identity in Azure OpenAI parameters
Pavan-Microsoft Sep 17, 2025
da2c4f7
feat: Enable system-assigned managed identity for Cognitive Services …
Sep 17, 2025
1c88d7e
fix: Created minified the version of workbk json to reduce size f mai…
Prajwal-Microsoft Sep 17, 2025
b94d47f
Merge pull request #1 from Azure-Samples/waf-avm
Prajwal-Microsoft Sep 17, 2025
3079f94
fix: Update principalId reference to use managed identity output in f…
Harmanpreet-Microsoft Sep 17, 2025
ffebb07
feat: Add support for restricting outbound network access and enablin…
Pavan-Microsoft Sep 17, 2025
bc3ec26
fix: Updates to networking, identity, and default settings in Cogniti…
Pavan-Microsoft Sep 17, 2025
afb5560
feat: Add system-assigned role assignments for Cognitive Services res…
Sep 17, 2025
f2559c3
fix: Removed private end points for Web, Admin & Function app
Prajwal-Microsoft Sep 17, 2025
b67aa9f
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 17, 2025
a320800
Implement code changes to enhance functionality and improve performance
Pavan-Microsoft Sep 17, 2025
b5c58af
fix: Refine Azure Cognitive Services Infra: Role Assignments and Stor…
Pavan-Microsoft Sep 17, 2025
ed5e62c
fix: Watnings fixed and added comments
Prajwal-Microsoft Sep 17, 2025
ea7e2bb
Merge branch 'waf-avm' of https://github.com/Azure-Samples/chat-with-…
Prajwal-Microsoft Sep 17, 2025
56d3469
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 18, 2025
a3cdbcb
fix: deployment script issue for postgres in private network
Prajwal-Microsoft Sep 18, 2025
b358930
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 18, 2025
329659c
feat: add support for system-assigned managed identity and role assig…
Pavan-Microsoft Sep 18, 2025
ee8edc4
fix: local debugging with integrated vectorization (#1903)
Pavan-Microsoft Sep 18, 2025
17ae566
fix: Refactored code and fix for deployment script
Prajwal-Microsoft Sep 18, 2025
4abd024
Merge branch 'waf-avm' of https://github.com/Azure-Samples/chat-with-…
Prajwal-Microsoft Sep 18, 2025
3247cf3
feat: Module refactroring for Database & identity
Prajwal-Microsoft Sep 18, 2025
8936f83
Fix: Fixed Postgres issue and commented bastion hist to decrease depl…
Prajwal-Microsoft Sep 18, 2025
2e1be1a
fix: Integrated vectorization for WAF
Prajwal-Microsoft Sep 18, 2025
e8ac87a
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 19, 2025
3456dde
feat: Disable private networking for OpenAI with integrated vectoriza…
Pavan-Microsoft Sep 19, 2025
02c8e7e
fix: Refactor OpenAI Networking for Integrated Vectorization Compatib…
Pavan-Microsoft Sep 19, 2025
aba8dea
fix: Refactored modules, descriptions for param & outputs
Prajwal-Microsoft Sep 19, 2025
84243fb
fix: Integrated Vectorization issue
Prajwal-Microsoft Sep 20, 2025
cde1750
fix: main.jsnon for integrated verctorization issue
Prajwal-Microsoft Sep 20, 2025
6ba6cc6
fix: Removed unwanted flag
Prajwal-Microsoft Sep 20, 2025
ca2fab9
fix: Updated default database type
Prajwal-Microsoft Sep 20, 2025
060df23
refactor: Removed old code & optimization to reduce deployment time
Prajwal-Microsoft Sep 20, 2025
30cd186
fix: File upload issue due to event grid
Prajwal-Microsoft Sep 21, 2025
70a0801
fix: Updated the delay time for postgresql
Prajwal-Microsoft Sep 21, 2025
f0b57c4
fix: Added Method to download the blob file via API
Prajwal-Microsoft Sep 21, 2025
3299a5f
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 22, 2025
31972e1
Merge remote-tracking branch 'upstream/dev' into waf-avm-fork-pk
Pavan-Microsoft Sep 22, 2025
17b61fb
fix: Update private networking dependency logic and adjust OpenAI par…
Pavan-Microsoft Sep 22, 2025
aa5bd5c
fix: removed \n
Prajwal-Microsoft Sep 22, 2025
997868a
fix: Update documentation and configuration for Teams extension and A…
Pavan-Microsoft Sep 22, 2025
ee98a03
fix: Remove default value for azureOpenAIStopSequence parameter
Pavan-Microsoft Sep 22, 2025
291224b
fix: Add deployment options and VM credentials configuration to LOCAL…
Pavan-Microsoft Sep 22, 2025
ae0ba01
fix: Update Azure parameters with new configurations for search and O…
Pavan-Microsoft Sep 22, 2025
d20f1c3
fix: Remove default values for azureSearchFilter and azureOpenAIStopS…
Pavan-Microsoft Sep 22, 2025
cb2e607
fix: Improve Deployment Docs, Single-Tenant Teams Extension, and Inge…
Pavan-Microsoft Sep 22, 2025
b2c6799
fix: Added Stop sequence for Open AI
Prajwal-Microsoft Sep 23, 2025
df5b326
Merge branch 'waf-avm' of https://github.com/Azure-Samples/chat-with-…
Prajwal-Microsoft Sep 23, 2025
e5141e5
refactor: Code refactoring
Prajwal-Microsoft Sep 23, 2025
5889528
fix: Revert the azure.yaml file
Prajwal-Microsoft Sep 23, 2025
24473dd
Merge remote-tracking branch 'upstream/waf-avm' into waf-avm-fork-pk
Pavan-Microsoft Sep 23, 2025
19da326
fix: Update role assignments in LOCAL_DEPLOYMENT.md for Azure services
Pavan-Microsoft Sep 23, 2025
f39cfab
fix: Update SSL parameter to boolean in Postgres connection and add i…
Pavan-Microsoft Sep 24, 2025
6c71290
fix: Update AzureWebJobsStorage parameter in local.settings.json.samp…
Pavan-Microsoft Sep 24, 2025
a69ee45
Merge remote-tracking branch 'upstream/dev' into waf-avm-fork-pk
Pavan-Microsoft Sep 24, 2025
8a68dc6
fix: Remove unused import 'urlparse' from create_app.py
Pavan-Microsoft Sep 24, 2025
0dfe330
fix: Refactor imports in create_app.py and add tests for file downloa…
Pavan-Microsoft Sep 24, 2025
077eab3
fix: Add AZURE_APP_API_BASE_URL environment variable and update relat…
Pavan-Microsoft Sep 24, 2025
5741551
Merge remote-tracking branch 'upstream/dev' into waf-avm-fork-pk
Pavan-Microsoft Sep 24, 2025
a5716fa
chore: Update teamsapp.local.yml for improved configuration management
Pavan-Microsoft Sep 24, 2025
3c3e4d9
fix: WAF aligned changes merge from dev to main (#1894)
Roopan-Microsoft Sep 24, 2025
c9c4200
feat: Enhance database permission management and update script parame…
Pavan-Microsoft Sep 25, 2025
b83e6fc
Merge remote-tracking branch 'upstream/main' into waf-avm-fork-pk
Pavan-Microsoft Sep 25, 2025
0345df5
fix: Update principalId placeholder in create_postgres_tables.py and …
Pavan-Microsoft Sep 25, 2025
1b8b7c0
fix: Add comment to clarify multitenant mode for MicrosoftAppType in …
Pavan-Microsoft Sep 25, 2025
87ba4c6
Merge remote-tracking branch 'upstream/dev' into waf-avm-fork-pk
Pavan-Microsoft Sep 25, 2025
18c982c
feat: Implement user principal name retrieval from Microsoft Graph AP…
Pavan-Microsoft Sep 26, 2025
93b730a
feat: Add print statements for granting permissions and using user pr…
Pavan-Microsoft Sep 26, 2025
6b2f16f
refactor: Remove unused functions and streamline permission granting …
Pavan-Microsoft Sep 26, 2025
bf03d24
feat: Update principal parameter structure and remove unused principa…
Pavan-Microsoft Sep 26, 2025
f8a29a9
feat: Enhance PostgreSQL database population with Azure AD authentica…
Pavan-Microsoft Sep 26, 2025
edbfcdc
Merge remote-tracking branch 'upstream/dev' into waf-avm-fork-pk
Pavan-Microsoft Sep 26, 2025
9fd5ac8
docs: Clarify PostgreSQL deployment limitations for advanced image pr…
Pavan-Microsoft Sep 26, 2025
d4b7df9
docs: Emphasize PostgreSQL deployment limitation for integrated vecto…
Pavan-Microsoft Sep 26, 2025
56294a6
feat: Update allowed Azure regions for resource deployment and enhanc…
Pavan-Microsoft Sep 26, 2025
d9abbaf
feat: Add Azure principal details to deployment environment variables
Pavan-Microsoft Sep 26, 2025
87d7dbf
docs: Remove note about PostgreSQL database type limitation for integ…
Pavan-Microsoft Sep 26, 2025
5e34dbc
docs: Clarify PostgreSQL database type requirement for integrated vec…
Pavan-Microsoft Sep 26, 2025
b177051
fix: Escape newline character in Azure OpenAI Stop Sequence parameter
Pavan-Microsoft Sep 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_PRINCIPAL_ID: ${{ secrets.AZURE_PRINCIPAL_ID }}
AZURE_PRINCIPAL_NAME: ${{ secrets.AZURE_PRINCIPAL_NAME }}
AZURE_PRINCIPAL_TYPE: 'ServicePrincipal'

outputs:
imageTag: ${{ steps.set-image-tag.outputs.imageTag }}
Expand Down Expand Up @@ -203,6 +206,9 @@ jobs:
DISABLE_AUTHENTICATION=true
NO_AUTH=true
SKIP_AUTH=true
AZURE_PRINCIPAL_ID
AZURE_PRINCIPAL_NAME
AZURE_PRINCIPAL_TYPE

- name: Extract URLs from deployment
id: extract-urls
Expand Down Expand Up @@ -299,8 +305,6 @@ jobs:

echo "=== PostgreSQL Configuration Summary ==="
echo "Host Endpoint: $PG_HOST_DESTINATION"
echo "Username: admintest (hardcoded)"
echo "Password: Initial_0524 (hardcoded)"
echo "Database: postgres (hardcoded)"
echo "Port: 5432 (hardcoded)"

Expand All @@ -311,19 +315,28 @@ jobs:

- name: Install Python dependencies
run: |
pip install psycopg2-binary python-dotenv

pip install psycopg2-binary python-dotenv azure-identity

- name: Populate PostgreSQL Database
run: |
python - <<EOF
import os
import psycopg2
from azure.identity import ClientSecretCredential

tenant_id = os.environ["AZURE_TENANT_ID"]
client_id = os.environ["AZURE_CLIENT_ID"]
client_secret = os.environ["AZURE_CLIENT_SECRET"]
pg_host = os.environ.get("PG_HOST_DESTINATION", "localhost")

# Acquire Azure AD access token for PostgreSQL
credential = ClientSecretCredential(tenant_id, client_id, client_secret)
token = credential.get_token("https://ossrdbms-aad.database.windows.net/.default").token

db_params = {
"user": "admintest",
"password": "Initial_0524",
"host": os.environ.get("PG_HOST_DESTINATION", "localhost"),
"user": client_id, # Use service principal clientId
"password": token, # Use AAD token instead of password
"host": pg_host,
"port": "5432",
"dbname": "postgres",
"sslmode": "require"
Expand All @@ -343,8 +356,10 @@ jobs:
except Exception as e:
print(f"❌ Error during import: {e}")
EOF


env:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}

- name: Final Status Check
id: final-status
Expand Down
4 changes: 2 additions & 2 deletions docs/LOCAL_DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Execute the above [shell command](#L81) to run the function locally. You may nee
|AZURE_SEARCH_TITLE_COLUMN||Field from your Azure AI Search index that gives a relevant title or header for your data content to display in the UI.|
|AZURE_SEARCH_TOP_K|5|The number of documents to retrieve from Azure AI Search.|
|AZURE_SEARCH_URL_COLUMN||Field from your Azure AI Search index that contains a URL for the document, e.g. an Azure Blob Storage URI. This value is not currently used.|
|AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION ||Whether to use [Integrated Vectorization](https://learn.microsoft.com/en-us/azure/search/vector-search-integrated-vectorization)|
|AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION ||Whether to use [Integrated Vectorization](https://learn.microsoft.com/en-us/azure/search/vector-search-integrated-vectorization). If the database type is PostgreSQL, set this to false.|
|AZURE_SEARCH_USE_SEMANTIC_SEARCH|False|Whether or not to use semantic search|
|AZURE_SPEECH_RECOGNIZER_LANGUAGES | en-US,fr-FR,de-DE,it-IT | Comma-separated list of languages to recognize from speech input|
|AZURE_SPEECH_REGION_ENDPOINT | | The regional endpoint of the Azure Speech service|
Expand All @@ -299,7 +299,7 @@ Execute the above [shell command](#L81) to run the function locally. You may nee
|OPEN_AI_FUNCTIONS_SYSTEM_PROMPT | | System prompt for OpenAI functions orchestration|
|ORCHESTRATION_STRATEGY | openai_function | Orchestration strategy. Use Azure OpenAI Functions (openai_function), Semantic Kernel (semantic_kernel), LangChain (langchain) or Prompt Flow (prompt_flow) for messages orchestration. If you are using a new model version 0613 select any strategy, if you are using a 0314 model version select "langchain". Note that both `openai_function` and `semantic_kernel` use OpenAI function calling. Prompt Flow option is still in development and does not support RBAC or integrated vectorization as of yet.|
|SEMANTIC_KERNEL_SYSTEM_PROMPT | | System prompt used by the Semantic Kernel orchestration|
|USE_ADVANCED_IMAGE_PROCESSING | false | Whether to enable the use of a vision LLM and Computer Vision for embedding images|
|USE_ADVANCED_IMAGE_PROCESSING | false | Whether to enable the use of a vision LLM and Computer Vision for embedding images. If the database type is PostgreSQL, set this to false.|
|USE_KEY_VAULT | true | Whether to use Azure Key Vault for storing secrets|

## Bicep
Expand Down
2 changes: 2 additions & 0 deletions docs/advanced_image_processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ azd env set ADVANCED_IMAGE_PROCESSING_MAX_IMAGES 2
```

Advanced image processing is only used in the `custom` conversation flow and not the `byod` flow, as Azure OpenAI On Your Data only supports Ada embeddings. It is currently not possible to use advanced image processing when integrated vectorization is enabled.

Advanced image processing is not supported when deploying with PostgreSQL as the database type.
2 changes: 2 additions & 0 deletions docs/integrated_vectorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ If you have a deployment with Integrated Vectorization enabled, and you want to
![Delete Search Index](images/delete-search-datasource.png)
1. Run the command `azd env set AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION false`
1. Run `azd up`

**NOTE**: Integrated vectorization is not supported when deploying with PostgreSQL as the database type.
6 changes: 3 additions & 3 deletions docs/teams_extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ This extension enables users to experience Chat with your data within Teams, wit

![ENV](images/teams-1.png)

4. Locate the environment variable _AZURE_FUNCTION_URL_.
5. Replace the `<FUNCTION_APP_NAME>` and `<FUNCTION_KEY>` with your actual Function App name and function key
4. Locate the environment variables _AZURE_FUNCTION_URL_ and _AZURE_APP_API_BASE_URL_.
5. Replace the `<FUNCTION_APP_NAME>` and `<FUNCTION_KEY>` with your actual Function App name and function key, and replace `<APP-NAME>` with your actual App Service name
```env
AZURE_FUNCTION_URL=https://<FUNCTION_APP_NAME>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_KEY>

AZURE_APP_API_BASE_URL=https://<APP-NAME>.azurewebsites.net/
```
![Env](images/teams-deploy-env.png)
6. Save the file.
Expand Down
7 changes: 4 additions & 3 deletions extensions/teams/cards/cardBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { Attachment, CardFactory } from "botbuilder";
import { Citation, CardType } from "../model";
import config from "../config";

export function actionBuilder(citation: Citation, docId: number): any {

const urlParts = citation.url.split("]");
let url = urlParts[urlParts.length - 1].replaceAll("(", "").replaceAll(")", "");
let title = citation.title.replaceAll("/documents/", "");
const filename = title;
let fileApiUrl = `${config.getFileEndpoint}/${filename}`;
let content = citation.content.replaceAll(citation.title, "").replaceAll("url", "");
content = content.replaceAll(/(<([^>]+)>)/ig, "\n").replaceAll("<>", "");
let citationCardAction = {
Expand Down Expand Up @@ -37,7 +38,7 @@ export function actionBuilder(citation: Citation, docId: number): any {
{
type: CardType.OpenUrl,
title: "Go to the source",
url: decodeURI(url),
url: decodeURI(fileApiUrl),
}
]
}
Expand Down
4 changes: 4 additions & 0 deletions extensions/teams/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ const config = {
botId: process.env.BOT_ID,
botPassword: process.env.BOT_PASSWORD,
azureFunctionUrl: process.env.AZURE_FUNCTION_URL,
azureAppApiBaseUrl: process.env.AZURE_APP_API_BASE_URL,
tenantId: process.env.TEAMS_APP_TENANT_ID,
getFileEndpoint: process.env.AZURE_APP_API_BASE_URL ?
`${process.env.AZURE_APP_API_BASE_URL}api/files` :
null,
};

export default config;
3 changes: 2 additions & 1 deletion extensions/teams/env/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ BOT_ID=
TEAMS_APP_ID=
BOT_AZURE_APP_SERVICE_RESOURCE_ID=
BOT_DOMAIN=
AZURE_FUNCTION_URL=https://backend-<RESOURCE_TOKEN>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_APP_CLIENT_KEY>&clientId=clientKey
AZURE_FUNCTION_URL=https://<FUNCTION_APP_NAME>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_KEY>
AZURE_APP_API_BASE_URL=https://<APP-NAME>.azurewebsites.net/
3 changes: 2 additions & 1 deletion extensions/teams/env/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ BOT_ID=
TEAMS_APP_ID=
BOT_AZURE_APP_SERVICE_RESOURCE_ID=
BOT_DOMAIN=
AZURE_FUNCTION_URL=https://backend-<RESOURCE_TOKEN>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_APP_CLIENT_KEY>&clientId=clientKey
AZURE_FUNCTION_URL=https://<FUNCTION_APP_NAME>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_KEY>
AZURE_APP_API_BASE_URL=https://<APP-NAME>.azurewebsites.net/
TEAMS_APP_TENANT_ID=
TEAMS_APP_PUBLISHED_APP_ID=
3 changes: 2 additions & 1 deletion extensions/teams/env/.env.testtool
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ TEAMSFX_ENV=testtool
# Environment variables used by test tool
TEAMSAPPTESTER_PORT=56150
TEAMSFX_NOTIFICATION_STORE_FILENAME=.notification.testtoolstore.json
AZURE_FUNCTION_URL=https://backend-<RESOURCE_TOKEN>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_APP_CLIENT_KEY>&clientId=clientKey
AZURE_FUNCTION_URL=https://<FUNCTION_APP_NAME>.azurewebsites.net/api/GetConversationResponse?code=<FUNCTION_KEY>
AZURE_APP_API_BASE_URL=https://<APP-NAME>.azurewebsites.net/
2 changes: 1 addition & 1 deletion extensions/teams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import config from "./config";
const credentialsFactory = new ConfigurationServiceClientCredentialFactory({
MicrosoftAppId: config.botId,
MicrosoftAppPassword: config.botPassword,
MicrosoftAppType: "SingleTenant",
MicrosoftAppType: "SingleTenant", // Enable multitenant mode for local development
MicrosoftAppTenantId: config.tenantId
});

Expand Down
7 changes: 7 additions & 0 deletions extensions/teams/infra/azure.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ param botAadAppClientSecret string
@description('Required by Bot Framework azureFunctionURL')
param azureFunctionURL string

@description('Base URL for the Azure Web App API endpoints used for file access')
param azureAppApiBaseUrl string

param webAppSKU string

@maxLength(42)
Expand Down Expand Up @@ -72,6 +75,10 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
name: 'AZURE_FUNCTION_URL'
value: azureFunctionURL
}
{
name: 'AZURE_APP_API_BASE_URL'
value: azureAppApiBaseUrl
}
{
name: 'TEAMS_APP_TENANT_ID'
value: botAadAppTenantId
Expand Down
5 changes: 4 additions & 1 deletion extensions/teams/infra/azure.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
"azureFunctionURL": {
"value": "${{AZURE_FUNCTION_URL}}"
},
"azureAppApiBaseUrl": {
"value": "${{AZURE_APP_API_BASE_URL}}"
},
"webAppSKU": {
"value": "B1"
},
"botDisplayName": {
"value": "teams-bot-toolkit"
}
}
}
}
10 changes: 10 additions & 0 deletions extensions/teams/teamsapp.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ provision:
# The Microsoft Entra application's client secret created for bot.
botPassword: SECRET_BOT_PASSWORD

# Create service principal for the Microsoft Entra application
- uses: cli/runNpmCommand
name: Enable Service Principal
with:
args: run enable-sp
env:
BOT_ID: ${{BOT_ID}}

# Create or update the bot registration on dev.botframework.com
- uses: botFramework/create
with:
Expand Down Expand Up @@ -76,4 +84,6 @@ deploy:
envs:
BOT_ID: ${{BOT_ID}}
BOT_PASSWORD: ${{SECRET_BOT_PASSWORD}}
TEAMS_APP_TENANT_ID: ${{TEAMS_APP_TENANT_ID}}
AZURE_FUNCTION_URL: ${{AZURE_FUNCTION_URL}}
AZURE_APP_API_BASE_URL: ${{AZURE_APP_API_BASE_URL}}
3 changes: 2 additions & 1 deletion extensions/teams/teamsapp.testtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ deploy:
target: ./.localConfigs.testTool
envs:
TEAMSFX_NOTIFICATION_STORE_FILENAME: ${{TEAMSFX_NOTIFICATION_STORE_FILENAME}}
AZURE_FUNCTION_URL: ${{AZURE_FUNCTION_URL}}
AZURE_FUNCTION_URL: ${{AZURE_FUNCTION_URL}}
AZURE_APP_API_BASE_URL: ${{AZURE_APP_API_BASE_URL}}
Loading