Skip to content

fix: Handling Private network connections with existing foundry projrect#242

Merged
Prajwal-Microsoft merged 20 commits intodevfrom
network-bug-fix
Aug 5, 2025
Merged

fix: Handling Private network connections with existing foundry projrect#242
Prajwal-Microsoft merged 20 commits intodevfrom
network-bug-fix

Conversation

@Prajwal-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request updates the infrastructure Bicep and generated ARM template files to improve resource ID handling, streamline diagnostic settings references, and ensure private endpoints are only created when needed. It also updates the Bicep compiler version and template hashes throughout the generated files.

Key changes include:

Resource ID handling and parameter cleanup:

  • Introduced a trimmed existingProjectResourceId variable and used it throughout the Bicep and ARM templates to ensure consistent and clean handling of existing resource IDs. This variable is now passed to modules and used in resource conditions.

Private endpoint logic improvements:

  • Updated the logic for creating private endpoints so that they are only created when private networking is enabled and no existing project resource ID is provided. This prevents unnecessary or duplicate endpoint creation.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Priyanka-Microsoft and others added 20 commits July 14, 2025 13:17
…to-bicep

fix: updated model capacity to minimum 100
…_doc

docs: Added Documentation for Reusing Azure AI Foundry Project
…dard

chore: migrate model type to global standard
fix: add principalType as 'ServicePrincipal' for role assignments
fix: Resolve Deployment Lifecycle Automation pipeline failure
fix: Prefix/Suffix fixes & package upgrades - dev to main
feat: Use ManagedIdentityCredential fir Prod Workloads and DefaultAzureCredential for dev
@Prajwal-Microsoft Prajwal-Microsoft changed the title Network bug fix fix: Handling Private network connections with existing foundry projrect Aug 5, 2025
@Prajwal-Microsoft Prajwal-Microsoft merged commit 2f7c349 into dev Aug 5, 2025
5 of 6 checks passed
Prajwal-Microsoft added a commit that referenced this pull request Aug 7, 2025
* feat: Down merge from main to dev (#240)

* updated model capacity to minimum 100

* Add principalType 'ServicePrincipal' to role assignments in Bicep modules

* update mainjson file

* removed text embedding condition

* add reuse guide for existing Azure AI Foundry project

* remove redundant replica settings for container and API apps in deployment workflow

* disable private networking in deployment parameters

* normalize secondary location value to lowercase in deployment parameters

* fix: correct casing for SOLUTION_NAME in deployment output extraction

* refactor: remove unused SOLUTION_NAME output and related steps in deployment workflow

* fix: prepend https to CONTAINER_WEB_APPURL in deployment output extraction

---------

Co-authored-by: Priyanka-Microsoft <v-prisinghal@microsoft.com>
Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
Co-authored-by: Abdul-Microsoft <v-amujeebta@microsoft.com>
Co-authored-by: Prasanjeet-Microsoft <v-singhprasa@microsoft.com>
Co-authored-by: Vinay Sharma <v-vinayshar@microsoft.com>

* feat: Down merge from main to dev (#241)

* updated model capacity to minimum 100

* Add principalType 'ServicePrincipal' to role assignments in Bicep modules

* update mainjson file

* removed text embedding condition

* add reuse guide for existing Azure AI Foundry project

* remove redundant replica settings for container and API apps in deployment workflow

* disable private networking in deployment parameters

* normalize secondary location value to lowercase in deployment parameters

* fix: correct casing for SOLUTION_NAME in deployment output extraction

* refactor: remove unused SOLUTION_NAME output and related steps in deployment workflow

* fix: prepend https to CONTAINER_WEB_APPURL in deployment output extraction

---------

Co-authored-by: Priyanka-Microsoft <v-prisinghal@microsoft.com>
Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
Co-authored-by: Abdul-Microsoft <v-amujeebta@microsoft.com>
Co-authored-by: Prasanjeet-Microsoft <v-singhprasa@microsoft.com>
Co-authored-by: Vinay Sharma <v-vinayshar@microsoft.com>

* fix: Handling Private network connections with existing foundry projrect (#242)

* updated model capacity to minimum 100

* Add principalType 'ServicePrincipal' to role assignments in Bicep modules

* update mainjson file

* removed text embedding condition

* add reuse guide for existing Azure AI Foundry project

* remove redundant replica settings for container and API apps in deployment workflow

* disable private networking in deployment parameters

* normalize secondary location value to lowercase in deployment parameters

* fix: correct casing for SOLUTION_NAME in deployment output extraction

* refactor: remove unused SOLUTION_NAME output and related steps in deployment workflow

* fix: prepend https to CONTAINER_WEB_APPURL in deployment output extraction

* fix: Disable Network configurations in case of resuing the foundry project

---------

Co-authored-by: Priyanka-Microsoft <v-prisinghal@microsoft.com>
Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
Co-authored-by: Abdul-Microsoft <v-amujeebta@microsoft.com>
Co-authored-by: Prasanjeet-Microsoft <v-singhprasa@microsoft.com>
Co-authored-by: Vinay Sharma <v-vinayshar@microsoft.com>

* fix: Resolved conflicts

---------

Co-authored-by: Priyanka-Microsoft <v-prisinghal@microsoft.com>
Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
Co-authored-by: Abdul-Microsoft <v-amujeebta@microsoft.com>
Co-authored-by: Prasanjeet-Microsoft <v-singhprasa@microsoft.com>
Co-authored-by: Vinay Sharma <v-vinayshar@microsoft.com>
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Priyanka-Microsoft Priyanka-Microsoft deleted the network-bug-fix branch December 25, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants