Sync eng/common directory with azure-sdk-tools for PR 9745 (#6390)

* Pass arm template parameter for TME context

* Use supportsSafeSecretStandard parameter instead

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-02-04 14:05:16 -08:00 committed by GitHub
parent 494f9ff858
commit 2dccdce3a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -527,6 +527,8 @@ try {
if ($CI -and $Environment -eq 'AzureCloud' -and $env:PoolSubnet) {
$templateParameters.Add('azsdkPipelineSubnetList', @($env:PoolSubnet))
}
# Some arm/bicep templates may want to change deployment settings (e.g. local auth) in sandboxed TME tenants
$templateParameters.Add('supportsSafeSecretStandard', ($context.Tenant.Name -like '*TME*'))
$defaultCloudParameters = LoadCloudConfig $Environment
MergeHashes $defaultCloudParameters $(Get-Variable templateParameters)