Skip to content

fix: To reuse Log Analytics across subscriptions#116

Merged
Vamshi-Microsoft merged 1 commit into
mainfrom
exp-changes-sub
Jun 5, 2025
Merged

fix: To reuse Log Analytics across subscriptions#116
Vamshi-Microsoft merged 1 commit into
mainfrom
exp-changes-sub

Conversation

@Vamshi-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces improvements to the handling of existing Log Analytics Workspace IDs in both documentation and infrastructure code. The changes ensure consistency and correctness when specifying the full resource ID format and enhance the deployment logic to accommodate subscriptions explicitly.

Documentation Updates:

  • docs/CustomizingAzdParameters.md: Updated the example for setting the AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID to use the full resource ID format, including subscription, resource group, and workspace name.

Infrastructure Code Enhancements:

  • infra/deploy_ai_foundry.bicep: Added logic to extract the subscription ID (existingLawSubscription) from the existingLogAnalyticsWorkspaceId parameter, ensuring proper handling of workspace scope.
  • infra/deploy_ai_foundry.bicep: Modified the existingLogAnalyticsWorkspace resource declaration to include the subscription ID in the scope, improving accuracy when referencing existing resources.

Does this introduce a breaking change?

  • Yes
  • No

Deployment Validation

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

@Vamshi-Microsoft
Vamshi-Microsoft merged commit 2aa15c0 into main Jun 5, 2025
6 checks passed
@github-actions

github-actions Bot commented Jun 5, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Vamshi-Microsoft
Vamshi-Microsoft deleted the exp-changes-sub branch July 16, 2025 08:25
Ritesh-Microsoft pushed a commit that referenced this pull request Oct 10, 2025
fix: To reuse Log Analytics across subscriptions
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.

2 participants