Repository navigation
feat: Enhance lab automation with region fallback - Adaptive Apps - #532
Merged
Jan Egil Ring (janegilring) merged 1 commit intoSep 30, 2026
Conversation
…re registration Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
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.
This pull request introduces robust region fallback and feature registration logic for Adaptive Apps lab automation in Azure, improving reliability and clarity for both organizers and participants. The main changes add automatic handling of region failures during initial provisioning, enforce and verify required Azure feature registration, and update documentation and tests to reflect these improvements.
Region fallback and provisioning improvements:
swedencentral,spaincentral), automatically retrying in validated alternatives if the primary region fails. This is handled byInvoke-MhhDeploymentWithRegionFallback, which can delete and recreate resource groups as needed during initial setup, but not for protected labs. (README.md,lab-defaults.json,deploy-lab.ps1) [1] [2] [3] [4]README.md,deploy-lab.ps1) [1] [2]Azure feature registration and validation:
shared-deploy-lab.ps1) now ensures theMicrosoft.Network/AllowBringYourOwnPublicIpAddressfeature is registered before re-registering theNetworkprovider, with explicit waiting and error handling. This is required for public IP allocation in these scenarios. (shared-deploy-lab.ps1,README.md) [1] [2] [3]shared-deploy-lab.ps1,README.md) [1] [2]Test and documentation updates:
console.Tests.ps1) [1] [2] [3] [4] [5]README.md) [1] [2] [3] [4]These changes make the lab automation more resilient to regional capacity and registration issues, ensure compliance with Azure requirements, and provide clearer feedback to users.