Merged
Conversation
…o reduce deployment time
refactor: separate search service module to enable managed identity to reduce deployment time
Roopan-Microsoft
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request refactors how the Azure Search Service resource is provisioned and referenced in the infrastructure code, primarily by switching from a module-based deployment to a direct resource declaration, and updating all related outputs and configuration references. It also updates the Azure API versions for multiple resource deployments to ensure compatibility with newer features and improves deployment reliability and performance.
Azure Search Service resource provisioning and references:
avmSearchSearchServicesmodule with a directMicrosoft.Search/searchServicesresource declaration (avmSearchSearchServices), and introduces a separate update module (avmSearchSearchServicesUpdate) to handle managed identity and additional properties, reducing deployment time (infra/main.bicep,infra/main.json). [1] [2] [3]nameproperty and theaiSearchNamevariable, instead of module outputs (infra/main.bicep,infra/main.json). [1] [2] [3] [4] [5] [6] [7] [8]API version updates for resource deployments:
apiVersionfor allMicrosoft.Resources/deploymentsresources from2022-09-01to2025-04-01for improved compatibility and access to new features (infra/main.json). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]Metadata and template updates:
0.40.2.10011) for both main and nested templates (infra/main.json). [1] [2] [3]Deployment dependency management:
infra/main.bicep,infra/main.json). [1] [2]Configuration values for App Configuration:
infra/main.bicep,infra/main.json). [1] [2] [3] [4]Let me know if you have any questions about these changes or need clarification on how to reference the new Azure Search Service resource in your code!
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information