Sync eng/common directory with azure-sdk-tools for PR 14196#56531
Merged
Sync eng/common directory with azure-sdk-tools for PR 14196#56531
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Syncs eng/common scripts with the corresponding updates from azure-sdk-tools PR 14196, primarily improving test resource cleanup behavior and updating default subscription selection.
Changes:
- Add helper to remove Storage Sync Services (and dependent sync groups/endpoints) that can block resource group deletion.
- Update test resource scripts to prefer the “Azure SDK Test Resources - TME” subscription by default and suppress
Select-AzSubscriptionwarnings. - Extend
Remove-TestResources.ps1to require Az.Storage/Az.StorageSync modules and invoke the new cleanup helper.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| eng/common/scripts/Helpers/Resource-Helpers.ps1 | Adds Remove-StorageSyncServices helper to delete Storage Sync Services and dependencies prior to RG deletion. |
| eng/common/TestResources/Update-TestResources.ps1 | Updates default subscription selection behavior to “Azure SDK Test Resources - TME” and changes warning handling. |
| eng/common/TestResources/Remove-TestResources.ps1 | Adds module requirements and invokes the new Storage Sync cleanup before deleting the resource group. |
benbp
approved these changes
Feb 27, 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.
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14196 See eng/common workflow