Skip to content

Conversation

Pavan-Microsoft
Copy link
Contributor

Purpose

This pull request introduces support for a new environment variable, AZURE_APP_API_BASE_URL, across the Teams extension and deployment scripts to enable API-based file access in Microsoft Teams. It also updates the infrastructure and provisioning scripts to grant database and schema-level permissions to a specified principal in PostgreSQL, improving security and access control. The documentation and sample environment files are updated to reflect these changes.

Teams Extension and API Integration:

  • Added support for the AZURE_APP_API_BASE_URL environment variable throughout the Teams extension (config.ts, .env files, Bicep templates, and deployment YAMLs), enabling API-based file access for Teams cards and bots. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Updated the Teams card builder logic to use the new API endpoint for file access when generating card actions. [1] [2]

Documentation and Configuration:

  • Updated docs/teams_extension.md and sample .env files to document the new environment variable and clarify setup instructions for Teams extension deployment. [1] [2] [3] [4]

Infrastructure and Provisioning:

  • Modified Bicep and JSON ARM templates to propagate the new AZURE_APP_API_BASE_URL variable and update resource dependencies for improved deployment reliability. [1] [2] [3] [4] [5]

Database Security and Automation:

  • Enhanced the PostgreSQL table creation script and deployment logic to accept a principal ID, automatically create the principal if needed, and grant database/schema permissions for secure access. [1] [2] [3] [4] [5]

DevOps and Local Development:

  • Added a step to enable service principal creation in local provisioning scripts and clarified comments for multitenant app support. [1] [2]

Let me know if you'd like a walkthrough of any specific change or if you have questions about how these updates impact your workflow!

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check

Verify that the teamintegration citation and ci pipeline

Pavan-Microsoft and others added 30 commits September 15, 2025 11:36
…ds (Azure-Samples#1898)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Roopan-Microsoft <[email protected]>
Co-authored-by: Ajit Padhi <[email protected]>
Co-authored-by: Roopan P M <[email protected]>
Co-authored-by: Ross Smith <[email protected]>
Co-authored-by: gpickett <[email protected]>
Co-authored-by: Francia Riesco <[email protected]>
Co-authored-by: Francia Riesco <[email protected]>
Co-authored-by: Prajwal D C <[email protected]>
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
Co-authored-by: UtkarshMishra-Microsoft <[email protected]>
Co-authored-by: Priyanka-Microsoft <[email protected]>
Co-authored-by: Prasanjeet-Microsoft <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiran-Siluveru-Microsoft <[email protected]>
Co-authored-by: Prashant-Microsoft <[email protected]>
Co-authored-by: Rohini-Microsoft <[email protected]>
Co-authored-by: Avijit-Microsoft <[email protected]>
Co-authored-by: RaviKiran-Microsoft <[email protected]>
Co-authored-by: Somesh Joshi <[email protected]>
Co-authored-by: Himanshi Agrawal <[email protected]>
Co-authored-by: pradeepjha-microsoft <[email protected]>
Co-authored-by: Harmanpreet Kaur <[email protected]>
Co-authored-by: Bangarraju-Microsoft <[email protected]>
Co-authored-by: Harsh-Microsoft <[email protected]>
Co-authored-by: Kanchan-Microsoft <[email protected]>
Co-authored-by: Cristopher Coronado <[email protected]>
Co-authored-by: Cristopher Coronado Moreira <[email protected]>
Co-authored-by: Vamshi-Microsoft <[email protected]>
Co-authored-by: Thanusree-Microsoft <[email protected]>
Co-authored-by: Niraj Chaudhari (Persistent Systems Inc) <[email protected]>
Co-authored-by: Rohini-Microsoft <[email protected]>
…pdate Azure Search Identity (Azure-Samples#1899)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Roopan-Microsoft <[email protected]>
Co-authored-by: Ajit Padhi <[email protected]>
Co-authored-by: Roopan P M <[email protected]>
Co-authored-by: Ross Smith <[email protected]>
Co-authored-by: gpickett <[email protected]>
Co-authored-by: Francia Riesco <[email protected]>
Co-authored-by: Francia Riesco <[email protected]>
Co-authored-by: Prajwal D C <[email protected]>
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
Co-authored-by: UtkarshMishra-Microsoft <[email protected]>
Co-authored-by: Priyanka-Microsoft <[email protected]>
Co-authored-by: Prasanjeet-Microsoft <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiran-Siluveru-Microsoft <[email protected]>
Co-authored-by: Prashant-Microsoft <[email protected]>
Co-authored-by: Rohini-Microsoft <[email protected]>
Co-authored-by: Avijit-Microsoft <[email protected]>
Co-authored-by: RaviKiran-Microsoft <[email protected]>
Co-authored-by: Somesh Joshi <[email protected]>
Co-authored-by: Himanshi Agrawal <[email protected]>
Co-authored-by: pradeepjha-microsoft <[email protected]>
Co-authored-by: Harmanpreet Kaur <[email protected]>
Co-authored-by: Bangarraju-Microsoft <[email protected]>
Co-authored-by: Harsh-Microsoft <[email protected]>
Co-authored-by: Kanchan-Microsoft <[email protected]>
Co-authored-by: Cristopher Coronado <[email protected]>
Co-authored-by: Cristopher Coronado Moreira <[email protected]>
Co-authored-by: Vamshi-Microsoft <[email protected]>
Co-authored-by: Thanusree-Microsoft <[email protected]>
Co-authored-by: Niraj Chaudhari (Persistent Systems Inc) <[email protected]>
Co-authored-by: Rohini-Microsoft <[email protected]>
fix: Created minified the version of workbk json to reduce size f mai…
…g system-assigned managed identity for Cognitive Services
…ve Services (Azure-Samples#1901)

Co-authored-by: Harmanpreet Kaur <[email protected]>
Co-authored-by: Prajwal-Microsoft <[email protected]>
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
…age-Only Network Access (Azure-Samples#1902)

Co-authored-by: Harmanpreet Kaur <[email protected]>
Co-authored-by: Prajwal-Microsoft <[email protected]>
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
Co-authored-by: Harmanpreet Kaur <[email protected]>
Co-authored-by: Prajwal-Microsoft <[email protected]>
Co-authored-by: Harmanpreet-Microsoft <[email protected]>
@Pavan-Microsoft Pavan-Microsoft marked this pull request as ready for review September 26, 2025 11:05
@Prajwal-Microsoft Prajwal-Microsoft merged commit cba7632 into Azure-Samples:dev Sep 26, 2025
6 checks passed
Copy link

github-actions bot commented Oct 6, 2025

🎉 This PR is included in version 1.16.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants