Skip to content

[BUG]: AzurePowerShell@5 - Error checking Azure version: _a.filter is not a function #21336

@LukaszEV

Description

@LukaszEV

New issue checklist

Task name

AzurePowerShell@5

Task version

5

Issue Description

Since 19.09.2025 we are having some problems with AzurePowerShell@5 tasks, they complete with success (they're green in release but every single one has this error message:

##[error]Error checking Azure version: _a.filter is not a function

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Relevant log output

2025-09-22T08:16:40.0577383Z ##[debug]ScriptArguments=undefined
2025-09-22T08:16:40.0579231Z ##[debug]FailOnStandardError=***
2025-09-22T08:16:40.0580853Z ##[debug]TargetAzurePs=LatestVersion
2025-09-22T08:16:40.0582497Z ##[debug]CustomTargetAzurePs=LatestVersion
2025-09-22T08:16:40.0584173Z ##[debug]ConnectedServiceNameARM=759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:40.0585815Z ##[debug]USE_MSAL=***
2025-09-22T08:16:40.0587415Z ##[debug]MSAL - USE_MSAL override is found: ***
2025-09-22T08:16:40.0589096Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth scheme = ServicePrincipal
2025-09-22T08:16:40.0590857Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data subscriptionid = b38ef821-***4-40e2-92da-82978bfdf8c0
2025-09-22T08:16:40.0592599Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data subscriptionname = dv-tps-a03
2025-09-22T08:16:40.0594279Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param serviceprincipalid = ***
2025-09-22T08:16:40.0595939Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data activeDirectoryAuthority = https://login.microsoftonline.com/
2025-09-22T08:16:40.0597675Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param tenantid = ***
2025-09-22T08:16:40.0599373Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c=https://management.azure.com/
2025-09-22T08:16:40.0601312Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data environment = AzureCloud
2025-09-22T08:16:40.0603171Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth scheme = ServicePrincipal
2025-09-22T08:16:40.0604903Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data msiclientId = undefined
2025-09-22T08:16:40.0606650Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2025-09-22T08:16:40.0608428Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2025-09-22T08:16:40.0610403Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data AzureKeyVaultDnsSuffix = vault.azure.net
2025-09-22T08:16:40.0612109Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data ScopeLevel = Subscription
2025-09-22T08:16:40.0613869Z ##[debug]MSAL - getEndpoint - useGraphActiveDirectoryResource=false
2025-09-22T08:16:40.0615622Z ##[debug]MSAL - getEndpoint - useMSAL=***
2025-09-22T08:16:40.0617755Z ##[debug]MSAL - getEndpoint - endpoint={"subscriptionID":"b38ef821-***4-40e2-92da-82978bfdf8c0","subscriptionName":"dv-tps-a03","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"***","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.core.windows.net/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription"}
2025-09-22T08:16:40.0620081Z ##[debug]MSAL - getEndpoint - connectedServiceName=759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:40.0621780Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param authenticationType = spnKey
2025-09-22T08:16:40.0623354Z ##[debug]credentials spn endpoint
2025-09-22T08:16:40.0624892Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param serviceprincipalkey = ***
2025-09-22T08:16:40.0626432Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data EnableAdfsAuthentication = false
2025-09-22T08:16:40.0627606Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param apitoken = undefined
2025-09-22T08:16:40.0629589Z ##[debug]{"subscriptionID":"b38ef821-***4-40e2-92da-82978bfdf8c0","subscriptionName":"dv-tps-a03","servicePrincipalClientID":"***","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"***","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription","authenticationType":"spnKey","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"connectedServiceName":"759e356a-3ec8-455f-97bb-51feb513f06c","clientId":"***","tenantId":"***","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.microsoftonline.com/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":***,"isADFSEnabled":false,"useMSAL":***,"tokenMutex":{"_semaphore":{"_value":1,"_cancelError":{},"_weightedQueues":[],"_weightedWaiters":[]}}}}
2025-09-22T08:16:40.0631749Z ##[debug]Feature 'ShowWarningOnOlderAzureModules' = 'True'. Processed as '***'.
2025-09-22T08:16:40.0633252Z ##[debug]Checking installed Az PowerShell module version...
2025-09-22T08:16:40.0634719Z ##[debug]which 'pwsh'
2025-09-22T08:16:40.0635878Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:40.0636994Z ##[debug]which '/usr/bin/pwsh'
2025-09-22T08:16:40.0638082Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:40.0639192Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2025-09-22T08:16:40.0640312Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2025-09-22T08:16:40.0641433Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2025-09-22T08:16:40.0642575Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2025-09-22T08:16:40.0643897Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2025-09-22T08:16:40.0645034Z ##[debug]/usr/bin/pwsh arg: -Command
2025-09-22T08:16:40.0646254Z ##[debug]/usr/bin/pwsh arg: . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:40.0647540Z ##[debug]exec tool: /usr/bin/pwsh
2025-09-22T08:16:40.0648676Z ##[debug]arguments:
2025-09-22T08:16:40.0649781Z ##[debug]   -NoLogo
2025-09-22T08:16:40.0650895Z ##[debug]   -NoProfile
2025-09-22T08:16:40.0652000Z ##[debug]   -NonInteractive
2025-09-22T08:16:40.0653088Z ##[debug]   -ExecutionPolicy
2025-09-22T08:16:40.0654189Z ##[debug]   Unrestricted
2025-09-22T08:16:40.0655273Z ##[debug]   -Command
2025-09-22T08:16:40.0656466Z ##[debug]   . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:40.0657410Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:42.4509380Z 12.2.0
2025-09-22T08:16:42.4511229Z ##[debug]Found installed Az module version: 12.2.0
2025-09-22T08:16:42.4513698Z ##[debug]Feature 'ShowWarningOnOlderAzureModules' = 'True'. Processed as '***'.
2025-09-22T08:16:42.4517072Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-09-22T08:16:42.4518833Z ##[debug][GET]https://api.github.com/repos/Azure/azure-powershell/releases
2025-09-22T08:16:42.5873382Z ##[error]Error checking Azure version: _a.filter is not a function

Full task logs with system.debug enabled

2025-09-22T08:16:39.8027661Z ##[debug]Evaluating condition for step: 'First run pipeline test'
2025-09-22T08:16:39.8028819Z ##[debug]Evaluating: succeeded()
2025-09-22T08:16:39.8029616Z ##[debug]Evaluating succeeded:
2025-09-22T08:16:39.8030931Z ##[debug]=> True
2025-09-22T08:16:39.8031703Z ##[debug]Result: True
2025-09-22T08:16:39.8032949Z ##[section]Starting: First run pipeline test
2025-09-22T08:16:39.8042785Z ==============================================================================
2025-09-22T08:16:39.8043031Z Task : Azure PowerShell
2025-09-22T08:16:39.8043252Z Description : Run a PowerShell script within an Azure environment
2025-09-22T08:16:39.8043490Z Version : 5.261.0
2025-09-22T08:16:39.8043698Z Author : Microsoft Corporation
2025-09-22T08:16:39.8043920Z Help : https://aka.ms/azurepowershelltroubleshooting
2025-09-22T08:16:39.8044159Z ==============================================================================
2025-09-22T08:16:39.8386292Z ##[debug]Resource Utilization warnings is disabled, switch "DISABLE_RESOURCE_UTILIZATION_WARNINGS" variable to "false" if you want to enable it
2025-09-22T08:16:39.8770722Z ##[debug]Using node path: /azp/externals/node20_1/bin/node
2025-09-22T08:16:39.9210687Z ##[debug]agent.TempDirectory=/azp/_work/_temp
2025-09-22T08:16:39.9215582Z ##[debug]loading inputs and endpoints
2025-09-22T08:16:39.9222761Z ##[debug]loading INPUT_CONNECTEDSERVICENAMEARM
2025-09-22T08:16:39.9237123Z ##[debug]loading INPUT_SCRIPTTYPE
2025-09-22T08:16:39.9239567Z ##[debug]loading INPUT_SCRIPTPATH
2025-09-22T08:16:39.9241579Z ##[debug]loading INPUT_INLINE
2025-09-22T08:16:39.9243503Z ##[debug]loading INPUT_ERRORACTIONPREFERENCE
2025-09-22T08:16:39.9245374Z ##[debug]loading INPUT_FAILONSTANDARDERROR
2025-09-22T08:16:39.9247184Z ##[debug]loading INPUT_TARGETAZUREPS
2025-09-22T08:16:39.9248960Z ##[debug]loading INPUT_CUSTOMTARGETAZUREPS
2025-09-22T08:16:39.9250658Z ##[debug]loading INPUT_PWSH
2025-09-22T08:16:39.9252355Z ##[debug]loading INPUT_VALIDATESCRIPTSIGNATURE
2025-09-22T08:16:39.9254110Z ##[debug]loading INPUT_WORKINGDIRECTORY
2025-09-22T08:16:39.9255931Z ##[debug]loading ENDPOINT_AUTH_759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:39.9257759Z ##[debug]loading ENDPOINT_AUTH_SCHEME_759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:39.9260055Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_759e356a-3ec8-455f-97bb-51feb513f06c_TENANTID
2025-09-22T08:16:39.9262423Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_759e356a-3ec8-455f-97bb-51feb513f06c_SERVICEPRINCIPALID
2025-09-22T08:16:39.9270372Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_759e356a-3ec8-455f-97bb-51feb513f06c_AUTHENTICATIONTYPE
2025-09-22T08:16:39.9272794Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_759e356a-3ec8-455f-97bb-51feb513f06c_SERVICEPRINCIPALKEY
2025-09-22T08:16:39.9274856Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2025-09-22T08:16:39.9276806Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2025-09-22T08:16:39.9278723Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2025-09-22T08:16:39.9280718Z ##[debug]loading SECRET_BICEP--HYBRIDWORKER--LATEST
2025-09-22T08:16:39.9282273Z ##[debug]loading SECRET_BICEP--AUTOMATIONACCOUNT--LATEST
2025-09-22T08:16:39.9283976Z ##[debug]loading SECRET_BICEP--AZURECACHEFORREDISGRANTPERMISSIONJOB--LATEST
2025-09-22T08:16:39.9285541Z ##[debug]loading SECRET_TAIQPASSWORD
2025-09-22T08:16:39.9287117Z ##[debug]loading SECRET_STORAGEACCOUNTNAMEFORCATALOG
2025-09-22T08:16:39.9288717Z ##[debug]loading SECRET_BICEP--NETWORKSECURITYGROUP--LATEST
2025-09-22T08:16:39.9290275Z ##[debug]loading SECRET_IQADMINISTRATORUSERPASSWORD
2025-09-22T08:16:39.9291822Z ##[debug]loading SECRET_SFCLIENTID
2025-09-22T08:16:39.9293367Z ##[debug]loading SECRET_BICEP--APPSERVICE--LATEST
2025-09-22T08:16:39.9294957Z ##[debug]loading SECRET_BICEP--OPENAICONTENTFILTERING--LATEST
2025-09-22T08:16:39.9301249Z ##[debug]loading SECRET_BORATCOMMONSERVICECLIENTSECRET
2025-09-22T08:16:39.9302842Z ##[debug]loading SECRET_SCOPE
2025-09-22T08:16:39.9304386Z ##[debug]loading SECRET_BICEP--VMEXTENSIONDOMAINJOIN--LATEST
2025-09-22T08:16:39.9306210Z ##[debug]loading SECRET_BICEP--ADDPRINCIPALTOAADGROUP--LATEST
2025-09-22T08:16:39.9308093Z ##[debug]loading SECRET_SLACKCHANNELWEBHOOK
2025-09-22T08:16:39.9313820Z ##[debug]loading SECRET_BICEP--OPENAIMODELGPT4OMINI--LATEST
2025-09-22T08:16:39.9319372Z ##[debug]loading SECRET_BICEP--QUEUES--LATEST
2025-09-22T08:16:39.9321224Z ##[debug]loading SECRET_BICEP--AILANGUAGE--LATEST
2025-09-22T08:16:39.9322846Z ##[debug]loading SECRET_SFUSER
2025-09-22T08:16:39.9324373Z ##[debug]loading SECRET_BICEP--EVENTGRIDSYSTEMTOPICFORSTORAGEACCOUNT--LATEST
2025-09-22T08:16:39.9334807Z ##[debug]loading SECRET_BICEP--STORAGEACCOUNTTABLE--LATEST
2025-09-22T08:16:39.9347056Z ##[debug]loading SECRET_SFURL
2025-09-22T08:16:39.9349033Z ##[debug]loading SECRET_BICEP--SIGNALRREPLICA--LATEST
2025-09-22T08:16:39.9350635Z ##[debug]loading SECRET_SLACKAPPTOKEN
2025-09-22T08:16:39.9352723Z ##[debug]loading SECRET_DATABASENAME
2025-09-22T08:16:39.9354285Z ##[debug]loading SECRET_BICEP--VIRTUALMACHINESCALESET--LATEST
2025-09-22T08:16:39.9355919Z ##[debug]loading SECRET_BICEP--VIRTUALMACHINE--LATEST
2025-09-22T08:16:39.9357455Z ##[debug]loading SECRET_BICEP--SERVICEBUSSUBSCRIPTION--LATEST
2025-09-22T08:16:39.9358908Z ##[debug]loading SECRET_BICEP--CACHEFORREDIS--LATEST
2025-09-22T08:16:39.9360447Z ##[debug]loading SECRET_SLACK_TESTS_RESULTS_HOOK
2025-09-22T08:16:39.9361956Z ##[debug]loading SECRET_IQONLYTESTUSER
2025-09-22T08:16:39.9363413Z ##[debug]loading SECRET_VADISSTRIV
2025-09-22T08:16:39.9364916Z ##[debug]loading SECRET_BICEP--GETENVIRONMENT--LATEST
2025-09-22T08:16:39.9366461Z ##[debug]loading SECRET_FEEDNAME
2025-09-22T08:16:39.9367989Z ##[debug]loading SECRET_IQVIEWERONLYTESTUSER
2025-09-22T08:16:39.9369420Z ##[debug]loading SECRET_IMAPUSERNAME
2025-09-22T08:16:39.9370944Z ##[debug]loading SECRET_TAREPORTSTGCONNECTIONSTRING
2025-09-22T08:16:39.9372606Z ##[debug]loading SECRET_BICEP--WEBAPPLICATIONFIREWALLPOLICY--LATEST
2025-09-22T08:16:39.9374080Z ##[debug]loading SECRET_BICEP--SQLDATABASE--LATEST
2025-09-22T08:16:39.9375289Z ##[debug]loading SECRET_SUBSCRIPTIONIDFORCATALOG
2025-09-22T08:16:39.9376435Z ##[debug]loading SECRET_BICEP--SERVICEBUS--LATEST
2025-09-22T08:16:39.9377557Z ##[debug]loading SECRET_SBMNAMESPACE
2025-09-22T08:16:39.9379027Z ##[debug]loading SECRET_IQTESTFULLUSER
2025-09-22T08:16:39.9380639Z ##[debug]loading SECRET_SUBSCRIPTIONCONNECTIONSPIDFORCATALOG
2025-09-22T08:16:39.9382293Z ##[debug]loading SECRET_IQVIEWERTESTUSER
2025-09-22T08:16:39.9383767Z ##[debug]loading SECRET_SBMTESTQUEUE
2025-09-22T08:16:39.9385394Z ##[debug]loading SECRET_IQRATINGSTESTUSER
2025-09-22T08:16:39.9386914Z ##[debug]loading SECRET_TENANTID
2025-09-22T08:16:39.9388403Z ##[debug]loading SECRET_BACKOFFICESECRET
2025-09-22T08:16:39.9390012Z ##[debug]loading SECRET_AZUREGROUPCLIENTID
2025-09-22T08:16:39.9391153Z ##[debug]loading SECRET_VADISSECRET
2025-09-22T08:16:39.9392293Z ##[debug]loading SECRET_RESOURCEGROUPNAMEFORCATALOG
2025-09-22T08:16:39.9393424Z ##[debug]loading SECRET_USER
2025-09-22T08:16:39.9394544Z ##[debug]loading SECRET_SLACKOAUTHTOKEN
2025-09-22T08:16:39.9395811Z ##[debug]loading SECRET_AZACCOUNTPASS
2025-09-22T08:16:39.9396992Z ##[debug]loading SECRET_BICEP--GRANTPERMISSIONJOB--LATEST
2025-09-22T08:16:39.9398160Z ##[debug]loading SECRET_ENVIRONMENTTORUN
2025-09-22T08:16:39.9399289Z ##[debug]loading SECRET_IQTESTUSER
2025-09-22T08:16:39.9400426Z ##[debug]loading SECRET_NAIQTESTUSER
2025-09-22T08:16:39.9401578Z ##[debug]loading SECRET_BICEP--STORAGEACCOUNT--LATEST
2025-09-22T08:16:39.9402784Z ##[debug]loading SECRET_BICEP--STORAGEACCOUNTBLOBCONTAINER--LATEST
2025-09-22T08:16:39.9403930Z ##[debug]loading SECRET_BICEP--COSMOSDATABASE--LATEST
2025-09-22T08:16:39.9405081Z ##[debug]loading SECRET_HANGFIREJOBPASSWORD
2025-09-22T08:16:39.9406218Z ##[debug]loading SECRET_IQCOLLABORATORTESTUSER
2025-09-22T08:16:39.9407341Z ##[debug]loading SECRET_SASTOKEN
2025-09-22T08:16:39.9408471Z ##[debug]loading SECRET_BICEP--KEYVAULT--LATEST
2025-09-22T08:16:39.9409605Z ##[debug]loading SECRET_KVNAME
2025-09-22T08:16:39.9410985Z ##[debug]loading SECRET_BICEP--APPSERVICEBASICPUBLISHPOLICY--LATEST
2025-09-22T08:16:39.9412178Z ##[debug]loading SECRET_BICEP--OPENAI--LATEST
2025-09-22T08:16:39.9413383Z ##[debug]loading SECRET_HOST
2025-09-22T08:16:39.9414520Z ##[debug]loading SECRET_TAADMINUSERNAME
2025-09-22T08:16:39.9415944Z ##[debug]loading SECRET_BICEP--EVENTHUBDISASTERRECOVERYCONFIGS--LATEST
2025-09-22T08:16:39.9417693Z ##[debug]loading SECRET_AZUREADCLIENTID
2025-09-22T08:16:39.9419658Z ##[debug]loading SECRET_IDENTITYPLATFORMTOKENURI
2025-09-22T08:16:39.9420967Z ##[debug]loading SECRET_PRODADMINPASSWORD
2025-09-22T08:16:39.9422094Z ##[debug]loading SECRET_BICEP--SQLSERVERAZURE--LATEST
2025-09-22T08:16:39.9423235Z ##[debug]loading SECRET_BICEP--APPSERVICESLOT--LATEST
2025-09-22T08:16:39.9424385Z ##[debug]loading SECRET_BICEP--STORAGEACCOUNTDELTALAKE--LATEST
2025-09-22T08:16:39.9425529Z ##[debug]loading SECRET_BICEP--SIGNALR--LATEST
2025-09-22T08:16:39.9426677Z ##[debug]loading SECRET_NEWTAADMINPASSWORDFORUPDATEPASSWORDPROCESS
2025-09-22T08:16:39.9427823Z ##[debug]loading SECRET_BICEP--DATAFACTORY--LATEST
2025-09-22T08:16:39.9429159Z ##[debug]loading SECRET_ENTERPRISEAPICLIENTSECRET
2025-09-22T08:16:39.9430632Z ##[debug]loading SECRET_BICEP--MANAGEDIDENTITY--LATEST
2025-09-22T08:16:39.9431778Z ##[debug]loading SECRET_SFAUTHURL
2025-09-22T08:16:39.9432899Z ##[debug]loading SECRET_IMAPPORT
2025-09-22T08:16:39.9434035Z ##[debug]loading SECRET_SERVICEBUSCONNECTIONSTRING
2025-09-22T08:16:39.9435195Z ##[debug]loading SECRET_BICEP--EVENTGRIDSYSTEMTOPICSUBSCRIPTIONFORSERVICEBUS--LATEST
2025-09-22T08:16:39.9436329Z ##[debug]loading SECRET_CONFIGCATBASIC64
2025-09-22T08:16:39.9437464Z ##[debug]loading SECRET_BICEP--ROUTETABLE--LATEST
2025-09-22T08:16:39.9438610Z ##[debug]loading SECRET_BICEP--EVENTGRIDTOPIC--LATEST
2025-09-22T08:16:39.9440331Z ##[debug]loading SECRET_VADISSTRKEY
2025-09-22T08:16:39.9441607Z ##[debug]loading SECRET_CERTIFICATEPASSWORDFRONTHUB
2025-09-22T08:16:39.9442710Z ##[debug]loading SECRET_PATTOKEN
2025-09-22T08:16:39.9444052Z ##[debug]loading SECRET_BICEP--PRIVATEENDPOINT--LATEST
2025-09-22T08:16:39.9445202Z ##[debug]loading SECRET_BICEP--LOGICAPP--LATEST
2025-09-22T08:16:39.9446333Z ##[debug]loading SECRET_DATABASEINVENTORYUSERPASS
2025-09-22T08:16:39.9447479Z ##[debug]loading SECRET_BICEP--MANAGEDINSTANCE--LATEST
2025-09-22T08:16:39.9448651Z ##[debug]loading SECRET_REDISCONNECTIONSTRING
2025-09-22T08:16:39.9449803Z ##[debug]loading SECRET_SFCONSUMERSECRET
2025-09-22T08:16:39.9450926Z ##[debug]loading SECRET_SASSVCCAT
2025-09-22T08:16:39.9452056Z ##[debug]loading SECRET_BICEP--ELASTICPOOL--LATEST
2025-09-22T08:16:39.9453224Z ##[debug]loading SECRET_BICEP--FUNCTIONAPP--LATEST
2025-09-22T08:16:39.9454391Z ##[debug]loading SECRET_HANGFIREJOBLOGIN
2025-09-22T08:16:39.9455559Z ##[debug]loading SECRET_SBMTESTTOPIC
2025-09-22T08:16:39.9456690Z ##[debug]loading SECRET_CRPSLACKOAUTHTOKEN
2025-09-22T08:16:39.9457814Z ##[debug]loading SECRET_DOMAINADMINPASSWORD
2025-09-22T08:16:39.9459164Z ##[debug]loading SECRET_BICEP--KEYVAULTACCESSPOLICIES--LATEST
2025-09-22T08:16:39.9460322Z ##[debug]loading SECRET_GRANTTYPE
2025-09-22T08:16:39.9461481Z ##[debug]loading SECRET_BICEP--CACHEFORREDISFIREWALLRULES--LATEST
2025-09-22T08:16:39.9462689Z ##[debug]loading SECRET_USERPASSWORD
2025-09-22T08:16:39.9463815Z ##[debug]loading SECRET_BICEP--METRICALERTS--LATEST
2025-09-22T08:16:39.9465173Z ##[debug]loading SECRET_SFCONSUMERKEY
2025-09-22T08:16:39.9466286Z ##[debug]loading SECRET_SONARQUBETOKEN
2025-09-22T08:16:39.9467406Z ##[debug]loading SECRET_AZUREGROUPURI
2025-09-22T08:16:39.9468512Z ##[debug]loading SECRET_ALLUREADMINUSER
2025-09-22T08:16:39.9469631Z ##[debug]loading SECRET_SFENABLESOAPAUTH
2025-09-22T08:16:39.9470761Z ##[debug]loading SECRET_SALESFORCEBILLINGUSERNAME
2025-09-22T08:16:39.9471915Z ##[debug]loading SECRET_BICEP--OPENAIMODELDEPLOYMENT--LATEST
2025-09-22T08:16:39.9473079Z ##[debug]loading SECRET_BICEP--COMPUTEGALLERY--LATEST
2025-09-22T08:16:39.9474260Z ##[debug]loading SECRET_BICEP--DATACOLLECTIONRULE--LATEST
2025-09-22T08:16:39.9475578Z ##[debug]loading SECRET_IMAPADDRESS
2025-09-22T08:16:39.9476733Z ##[debug]loading SECRET_BICEP--APPCONFIG--LATEST
2025-09-22T08:16:39.9477929Z ##[debug]loading SECRET_BICEP--ACTIONGROUP--LATEST
2025-09-22T08:16:39.9479485Z ##[debug]loading SECRET_BICEP--OPENAIMODELINFRASTRUCTURE--LATEST
2025-09-22T08:16:39.9480654Z ##[debug]loading SECRET_DV-TA-A19-SPN-SECRET
2025-09-22T08:16:39.9481812Z ##[debug]loading SECRET_LABADMINPASSWORD
2025-09-22T08:16:39.9482962Z ##[debug]loading SECRET_VADISUSERPASSWORDENCRYPTED
2025-09-22T08:16:39.9484088Z ##[debug]loading SECRET_TESTUSERNAME
2025-09-22T08:16:39.9485198Z ##[debug]loading SECRET_AZUREDEVOPSPATTOKEN
2025-09-22T08:16:39.9486331Z ##[debug]loading SECRET_BICEP--SERVICEBUSRULECORRELATION--LATEST
2025-09-22T08:16:39.9487511Z ##[debug]loading SECRET_BICEP--MANAGEDINSTANCEFAILOVERGROUP--LATEST
2025-09-22T08:16:39.9488934Z ##[debug]loading SECRET_BICEP--AITRANSLATION--LATEST
2025-09-22T08:16:39.9490120Z ##[debug]loading SECRET_AZUREADCLIENTSECRET
2025-09-22T08:16:39.9491314Z ##[debug]loading SECRET_BICEP--VIRTUALNETWORKWITHSUBNET--LATEST
2025-09-22T08:16:39.9492467Z ##[debug]loading SECRET_TRAININGUSERSAZUREGROUPURI
2025-09-22T08:16:39.9493608Z ##[debug]loading SECRET_TESTRUNNERPARAMS
2025-09-22T08:16:39.9494724Z ##[debug]loading SECRET_SLACKAPITOKEN
2025-09-22T08:16:39.9495871Z ##[debug]loading SECRET_BICEP--EVENTHUB--LATEST
2025-09-22T08:16:39.9496990Z ##[debug]loading SECRET_REPOPATH
2025-09-22T08:16:39.9498144Z ##[debug]loading SECRET_IQTESTUSERPASSWORD
2025-09-22T08:16:39.9499701Z ##[debug]loading SECRET_IQCOLLABORATORONLYTESTUSER
2025-09-22T08:16:39.9500828Z ##[debug]loading SECRET_SIGNINGKEY
2025-09-22T08:16:39.9502110Z ##[debug]loading SECRET_BICEP--SQLSERVERFIREWALLRULES--LATEST
2025-09-22T08:16:39.9503282Z ##[debug]loading SECRET_BICEP--TOPICS--LATEST
2025-09-22T08:16:39.9504446Z ##[debug]loading SECRET_BICEP--SQLSERVERAZUREFAILOVERGROUP--LATEST
2025-09-22T08:16:39.9505966Z ##[debug]loading SECRET_SFUSERPASSWORD
2025-09-22T08:16:39.9507096Z ##[debug]loading SECRET_PORT
2025-09-22T08:16:39.9508236Z ##[debug]loading SECRET_BICEP--MYSQLSERVER--LATEST
2025-09-22T08:16:39.9509387Z ##[debug]loading SECRET_BICEP--MACHINELEARNINGCOMPUTECLUSTER--LATEST
2025-09-22T08:16:39.9510542Z ##[debug]loading SECRET_PAT
2025-09-22T08:16:39.9511669Z ##[debug]loading SECRET_TORTILLAADMINPASSWORD
2025-09-22T08:16:39.9512856Z ##[debug]loading SECRET_BICEP--ROLEASSIGNMENT--LATEST
2025-09-22T08:16:39.9513986Z ##[debug]loading SECRET_PCFPASSWORD
2025-09-22T08:16:39.9515122Z ##[debug]loading SECRET_BICEP--MAIN--LATEST
2025-09-22T08:16:39.9516246Z ##[debug]loading SECRET_CLIENTSECRETLITE
2025-09-22T08:16:39.9517402Z ##[debug]loading SECRET_BICEP--KEYVAULTSECRET--LATEST
2025-09-22T08:16:39.9518558Z ##[debug]loading SECRET_BICEP--MACHINELEARNINGDATASTORE--LATEST
2025-09-22T08:16:39.9519717Z ##[debug]loading SECRET_TESTUSERPASSWORD
2025-09-22T08:16:39.9520858Z ##[debug]loading SECRET_BICEP--COPYSECRETS--LATEST
2025-09-22T08:16:39.9521999Z ##[debug]loading SECRET_BICEP--SUBNET--LATEST
2025-09-22T08:16:39.9523149Z ##[debug]loading SECRET_BICEP--DISK--LATEST
2025-09-22T08:16:39.9524281Z ##[debug]loading SECRET_PRICINGVERSION
2025-09-22T08:16:39.9525462Z ##[debug]loading SECRET_BICEP--DATAFACTORYINTEGRATIONRUNTIME--LATEST
2025-09-22T08:16:39.9526636Z ##[debug]loading SECRET_BICEP--DATABRICKS--LATEST
2025-09-22T08:16:39.9527797Z ##[debug]loading SECRET_PRDTFSBAGPASS
2025-09-22T08:16:39.9528977Z ##[debug]loading SECRET_BICEP--AZURECACHEFORREDISLINKEDSERVERS--LATEST
2025-09-22T08:16:39.9530145Z ##[debug]loading SECRET_SALESFORCEBILLINGUSERPASSWORD
2025-09-22T08:16:39.9531296Z ##[debug]loading SECRET_SLACKBOTTOKENCPE
2025-09-22T08:16:39.9532445Z ##[debug]loading SECRET_SECRETVALUE
2025-09-22T08:16:39.9533603Z ##[debug]loading SECRET_ADSSTORAGEBROWSERSHAREDACCESSSIGNATURE
2025-09-22T08:16:39.9534953Z ##[debug]loading SECRET_BICEP--MACHINELEARNING--LATEST
2025-09-22T08:16:39.9536101Z ##[debug]loading SECRET_LIGHTENVUSERSAZUREGROUPURI
2025-09-22T08:16:39.9537719Z ##[debug]loading SECRET_BICEP--VIRTUALNETWORKPEERINGS--LATEST
2025-09-22T08:16:39.9539820Z ##[debug]loading SECRET_XCONFIGCATSDKKEY
2025-09-22T08:16:39.9541151Z ##[debug]loading SECRET_PASSWORD
2025-09-22T08:16:39.9542482Z ##[debug]loading SECRET_BORATCOMMONSERVICECLIENTID
2025-09-22T08:16:39.9543661Z ##[debug]loading SECRET_IMAPPASSWORD
2025-09-22T08:16:39.9545400Z ##[debug]loading SECRET_DEVTEAMUSERSAZUREGROUPURI
2025-09-22T08:16:39.9546938Z ##[debug]loading SECRET_MODULES
2025-09-22T08:16:39.9548624Z ##[debug]loading SECRET_BICEP--EVENTHUBNAMESPACE--LATEST
2025-09-22T08:16:39.9549871Z ##[debug]loading SECRET_SQLMONITORAPITOKEN
2025-09-22T08:16:39.9551021Z ##[debug]loading SECRET_DEFAULTBTSUSERPASSWORD
2025-09-22T08:16:39.9552214Z ##[debug]loading SECRET_TOOLSGARDENINGTOKEN
2025-09-22T08:16:39.9553498Z ##[debug]loading SECRET_PLUTUSAUTHENTICATIONCLIENTSECRET
2025-09-22T08:16:39.9554902Z ##[debug]loading SECRET_BICEP--SERVICEBUSRULESQL--LATEST
2025-09-22T08:16:39.9556118Z ##[debug]loading SECRET_BICEP--APIMANAGEMENT--LATEST
2025-09-22T08:16:39.9557276Z ##[debug]loading SECRET_BICEP--RESOURCEGROUP--LATEST
2025-09-22T08:16:39.9558420Z ##[debug]loading SECRET_CONNECTIONSTRINGS--BLOBSTORAGE
2025-09-22T08:16:39.9559566Z ##[debug]loading SECRET_BICEP--APPLICATIONGATEWAY--LATEST
2025-09-22T08:16:39.9560702Z ##[debug]loading SECRET_BICEP--COSMOSACCOUNT--LATEST
2025-09-22T08:16:39.9561835Z ##[debug]loading SECRET_CONFIGCATBLOBURL
2025-09-22T08:16:39.9563050Z ##[debug]loading SECRET_BICEP--ROLEASSIGNMENTMANAGEMENTGROUP--LATEST
2025-09-22T08:16:39.9564488Z ##[debug]loading SECRET_BICEP--POSTGRESFLEXIBLESERVER--LATEST
2025-09-22T08:16:39.9565741Z ##[debug]loading SECRET_ALLUREADMINPASSWORD
2025-09-22T08:16:39.9566873Z ##[debug]loading SECRET_INTEGRATIONAPITOKEN
2025-09-22T08:16:39.9567972Z ##[debug]loading SECRET_SFORGANIZATIONID
2025-09-22T08:16:39.9569085Z ##[debug]loaded 216
2025-09-22T08:16:39.9570175Z ##[debug]Agent.ProxyUrl=undefined
2025-09-22T08:16:39.9571280Z ##[debug]Agent.CAInfo=undefined
2025-09-22T08:16:39.9572396Z ##[debug]Agent.ClientCert=undefined
2025-09-22T08:16:39.9573525Z ##[debug]Agent.SkipCertValidation=undefined
2025-09-22T08:16:40.0094627Z ##[debug]agent.proxyurl=undefined
2025-09-22T08:16:40.0114703Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2025-09-22T08:16:40.0116351Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_c2f5be1c-af4f-4854-96b6-d7c2fc4526cc_Release__465412_2237038_4
2025-09-22T08:16:40.0118539Z ##[debug]check path : /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-09-22T08:16:40.0120046Z ##[debug]adding resource file: /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-09-22T08:16:40.0121234Z ##[debug]system.culture=en-US
2025-09-22T08:16:40.0403550Z ##[debug]Feature 'EnableMsalV3' = 'True'. Processed as ''.
2025-09-22T08:16:40.0405266Z ##[debug]Using msalv3
2025-09-22T08:16:40.0545813Z ##[debug]Resource file has already set to: /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-09-22T08:16:40.0547682Z ##[debug]Agent.TempDirectory=/azp/_work/_temp
2025-09-22T08:16:40.0549488Z ##[debug]Resource file has already set to: /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-09-22T08:16:40.0554029Z ##[debug]workingDirectory=/azp/_work/r1/a
2025-09-22T08:16:40.0555681Z ##[debug]check path : /azp/_work/r1/a
2025-09-22T08:16:40.0557298Z ##[debug]agent.tempDirectory=/azp/_work/_temp
2025-09-22T08:16:40.0558953Z ##[debug]check path : /azp/_work/_temp
2025-09-22T08:16:40.0560172Z AZUREPS_HOST_ENVIRONMENT: ADO/AzurePowerShell@v5_Linux_linux-agent-spxqj-zzx8x_Launch.Acf-Docker_1621781_Launch.Acf-
-AKS_465412
2025-09-22T08:16:40.0561696Z ##[debug]check path : /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/task.json
2025-09-22T08:16:40.0563764Z ##[debug]adding resource file: /azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/task.json
2025-09-22T08:16:40.0565424Z ##[debug]system.culture=en-US
2025-09-22T08:16:40.0567125Z ##[debug]errorActionPreference=stop
2025-09-22T08:16:40.0568720Z ##[debug]ScriptType=InlineScript
2025-09-22T08:16:40.0570286Z ##[debug]ScriptPath=/azp/_work/r1/a
2025-09-22T08:16:40.0573885Z ##[debug]Inline=$environment = "***".Split('-')[0]

removed code

2025-09-22T08:16:40.0577383Z ##[debug]ScriptArguments=undefined
2025-09-22T08:16:40.0579231Z ##[debug]FailOnStandardError=***
2025-09-22T08:16:40.0580853Z ##[debug]TargetAzurePs=LatestVersion
2025-09-22T08:16:40.0582497Z ##[debug]CustomTargetAzurePs=LatestVersion
2025-09-22T08:16:40.0584173Z ##[debug]ConnectedServiceNameARM=759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:40.0585815Z ##[debug]USE_MSAL=***
2025-09-22T08:16:40.0587415Z ##[debug]MSAL - USE_MSAL override is found: ***
2025-09-22T08:16:40.0589096Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth scheme = ServicePrincipal
2025-09-22T08:16:40.0590857Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data subscriptionid = b38ef821-4-40e2-92da-82978bfdf8c0
2025-09-22T08:16:40.0592599Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data subscriptionname = dv-tps-a03
2025-09-22T08:16:40.0594279Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param serviceprincipalid = ***
2025-09-22T08:16:40.0595939Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data activeDirectoryAuthority = https://login.microsoftonline.com/
2025-09-22T08:16:40.0597675Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param tenantid = ***
2025-09-22T08:16:40.0599373Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c=https://management.azure.com/
2025-09-22T08:16:40.0601312Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data environment = AzureCloud
2025-09-22T08:16:40.0603171Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth scheme = ServicePrincipal
2025-09-22T08:16:40.0604903Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data msiclientId = undefined
2025-09-22T08:16:40.0606650Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2025-09-22T08:16:40.0608428Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2025-09-22T08:16:40.0610403Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data AzureKeyVaultDnsSuffix = vault.azure.net
2025-09-22T08:16:40.0612109Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data ScopeLevel = Subscription
2025-09-22T08:16:40.0613869Z ##[debug]MSAL - getEndpoint - useGraphActiveDirectoryResource=false
2025-09-22T08:16:40.0615622Z ##[debug]MSAL - getEndpoint - useMSAL=

2025-09-22T08:16:40.0617755Z ##[debug]MSAL - getEndpoint - endpoint={"subscriptionID":"b38ef821-4-40e2-92da-82978bfdf8c0","subscriptionName":"dv-tps-a03","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"***","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.core.windows.net/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription"}
2025-09-22T08:16:40.0620081Z ##[debug]MSAL - getEndpoint - connectedServiceName=759e356a-3ec8-455f-97bb-51feb513f06c
2025-09-22T08:16:40.0621780Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param authenticationType = spnKey
2025-09-22T08:16:40.0623354Z ##[debug]credentials spn endpoint
2025-09-22T08:16:40.0624892Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param serviceprincipalkey = ***
2025-09-22T08:16:40.0626432Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c data EnableAdfsAuthentication = false
2025-09-22T08:16:40.0627606Z ##[debug]759e356a-3ec8-455f-97bb-51feb513f06c auth param apitoken = undefined
2025-09-22T08:16:40.0629589Z ##[debug]{"subscriptionID":"b38ef821-4-40e2-92da-82978bfdf8c0","subscriptionName":"dv-tps-a03","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"***","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription","authenticationType":"spnKey","servicePrincipalKey":***,"isADFSEnabled":false,"applicationTokenCredentials":{"connectedServiceName":"759e356a-3ec8-455f-97bb-51feb513f06c","clientId":"***","tenantId":"***","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.microsoftonline.com/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":***,"isADFSEnabled":false,"useMSAL":***,"tokenMutex":{"_semaphore":{"_value":1,"_cancelError":{},"_weightedQueues":[],"_weightedWaiters":[]}}}}
2025-09-22T08:16:40.0631749Z ##[debug]Feature 'ShowWarningOnOlderAzureModules' = 'True'. Processed as ''.
2025-09-22T08:16:40.0633252Z ##[debug]Checking installed Az PowerShell module version...
2025-09-22T08:16:40.0634719Z ##[debug]which 'pwsh'
2025-09-22T08:16:40.0635878Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:40.0636994Z ##[debug]which '/usr/bin/pwsh'
2025-09-22T08:16:40.0638082Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:40.0639192Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2025-09-22T08:16:40.0640312Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2025-09-22T08:16:40.0641433Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2025-09-22T08:16:40.0642575Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2025-09-22T08:16:40.0643897Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2025-09-22T08:16:40.0645034Z ##[debug]/usr/bin/pwsh arg: -Command
2025-09-22T08:16:40.0646254Z ##[debug]/usr/bin/pwsh arg: . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:40.0647540Z ##[debug]exec tool: /usr/bin/pwsh
2025-09-22T08:16:40.0648676Z ##[debug]arguments:
2025-09-22T08:16:40.0649781Z ##[debug] -NoLogo
2025-09-22T08:16:40.0650895Z ##[debug] -NoProfile
2025-09-22T08:16:40.0652000Z ##[debug] -NonInteractive
2025-09-22T08:16:40.0653088Z ##[debug] -ExecutionPolicy
2025-09-22T08:16:40.0654189Z ##[debug] Unrestricted
2025-09-22T08:16:40.0655273Z ##[debug] -Command
2025-09-22T08:16:40.0656466Z ##[debug] . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:40.0657410Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/Utility.ps1'; Get-InstalledMajorRelease -moduleName 'Az' -iswin $false
2025-09-22T08:16:42.4509380Z 12.2.0
2025-09-22T08:16:42.4511229Z ##[debug]Found installed Az module version: 12.2.0
2025-09-22T08:16:42.4513698Z ##[debug]Feature 'ShowWarningOnOlderAzureModules' = 'True'. Processed as '
'.
2025-09-22T08:16:42.4517072Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-09-22T08:16:42.4518833Z ##[debug][GET]https://api.github.com/repos/Azure/azure-powershell/releases
2025-09-22T08:16:42.5873382Z ##[error]Error checking Azure version: _a.filter is not a function
2025-09-22T08:16:42.5874485Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=1dbed5f6-6ceb-4b90-92f0-c485ce91cc98;]Error checking Azure version: _a.filter is not a function
2025-09-22T08:16:42.5875426Z Generating script.
2025-09-22T08:16:42.5876463Z ##[debug]Agent.Version=4.261.0
2025-09-22T08:16:42.5877618Z ##[debug]which 'pwsh'
2025-09-22T08:16:42.5878759Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:42.5879857Z ##[debug]which '/usr/bin/pwsh'
2025-09-22T08:16:42.5881026Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:42.5882182Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2025-09-22T08:16:42.5883327Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2025-09-22T08:16:42.5884461Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2025-09-22T08:16:42.5885604Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2025-09-22T08:16:42.5886731Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2025-09-22T08:16:42.5887841Z ##[debug]/usr/bin/pwsh arg: -Command
2025-09-22T08:16:42.5889179Z ##[debug]/usr/bin/pwsh arg: . '/azp/_work/_temp/d8a6ac68-d46f-4e64-95f4-0754ae7e535c.ps1'
2025-09-22T08:16:42.5890717Z ##[debug]exec tool: /usr/bin/pwsh
2025-09-22T08:16:42.5892216Z ##[debug]arguments:
2025-09-22T08:16:42.5893694Z ##[debug] -NoLogo
2025-09-22T08:16:42.5895020Z ##[debug] -NoProfile
2025-09-22T08:16:42.5896129Z ##[debug] -NonInteractive
2025-09-22T08:16:42.5897233Z ##[debug] -ExecutionPolicy
2025-09-22T08:16:42.5898341Z ##[debug] Unrestricted
2025-09-22T08:16:42.5899736Z ##[debug] -Command
2025-09-22T08:16:42.5900917Z ##[debug] . '/azp/_work/_temp/d8a6ac68-d46f-4e64-95f4-0754ae7e535c.ps1'
2025-09-22T08:16:42.5901819Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/azp/_work/_temp/d8a6ac68-d46f-4e64-95f4-0754ae7e535c.ps1'
2025-09-22T08:16:42.5905789Z File saved!
2025-09-22T08:16:43.1066387Z ‌VERBOSE: Module path not present as expected in hosted agent, skipping step to make module available.‌
2025-09-22T08:16:43.1191614Z ##[debug]Processed: ##vso[telemetry.publish area=TaskHub;feature=AzurePowerShellV5]{"targetAzurePs":"","moduleSource":"privateAgent"}
2025-09-22T08:16:43.1472692Z ‌VERBOSE: Latest module folder detected: ‌
2025-09-22T08:16:43.1509399Z ‌VERBOSE: The updated value of the PSModulePath is: root.localsharepowershellModules:usrlocalsharepowershellModules:optmicrosoftpowershell7Modules‌
2025-09-22T08:16:43.1583047Z ‌VERBOSE: Populating RepositorySourceLocation property for module Az.Accounts.‌
2025-09-22T08:16:43.1732945Z ##[command]Import-Module -Name /root/.local/share/powershell/Modules/Az.Accounts/5.1.1/Az.Accounts.psd1 -Global
2025-09-22T08:16:43.1743846Z ‌VERBOSE: Loading module from path root.localsharepowershellModulesAz.Accounts5.1.1Az.Accounts.psd1.‌
2025-09-22T08:16:43.1747790Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.AssemblyLoading.dll.‌
2025-09-22T08:16:43.1749177Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Authentication.Abstractions.dll.‌
2025-09-22T08:16:43.1750983Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Authentication.dll.‌
2025-09-22T08:16:43.1752118Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Authenticators.dll.‌
2025-09-22T08:16:43.1753165Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll.‌
2025-09-22T08:16:43.1754225Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Authorization.dll.‌
2025-09-22T08:16:43.1755309Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Compute.dll.‌
2025-09-22T08:16:43.1756337Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll.‌
2025-09-22T08:16:43.1757389Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Monitor.dll.‌
2025-09-22T08:16:43.1758531Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Network.dll.‌
2025-09-22T08:16:43.1760394Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll.‌
2025-09-22T08:16:43.1762564Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.ResourceManager.dll.‌
2025-09-22T08:16:43.1763672Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Common.dll.‌
2025-09-22T08:16:43.1764732Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Storage.dll.‌
2025-09-22T08:16:43.1765827Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Storage.Management.dll.‌
2025-09-22T08:16:43.1766941Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.KeyVault.dll.‌
2025-09-22T08:16:43.1768023Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Websites.dll.‌
2025-09-22T08:16:43.1769057Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Hyak.Common.dll.‌
2025-09-22T08:16:43.1770866Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.ApplicationInsights.dll.‌
2025-09-22T08:16:43.1771945Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.Common.dll.‌
2025-09-22T08:16:43.1773224Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Rest.ClientRuntime.dll.‌
2025-09-22T08:16:43.1774306Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Rest.ClientRuntime.Azure.dll.‌
2025-09-22T08:16:43.1775326Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.WindowsAzure.Storage.dll.‌
2025-09-22T08:16:43.1776467Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Clients.Aks.dll.‌
2025-09-22T08:16:43.1777570Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Strategies.dll.‌
2025-09-22T08:16:43.1779718Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Common.Share.dll.‌
2025-09-22T08:16:43.1780852Z ‌VERBOSE: Loading Assembly from path root.localsharepowershellModulesAz.Accounts5.1.1FuzzySharp.dll.‌
2025-09-22T08:16:43.1781940Z ‌VERBOSE: Loading FormatsToProcess from path root.localsharepowershellModulesAz.Accounts5.1.1Accounts.format.ps1xml.‌
2025-09-22T08:16:43.1783063Z ‌VERBOSE: Loading FormatsToProcess from path root.localsharepowershellModulesAz.Accounts5.1.1Accounts.generated.format.ps1xml.‌
2025-09-22T08:16:43.1856021Z ‌VERBOSE: Populating RepositorySourceLocation property for module Az.Accounts.‌
2025-09-22T08:16:43.1860199Z ‌VERBOSE: Loading module from path root.localsharepowershellModulesAz.Accounts5.1.1Az.Accounts.psm1.‌
2025-09-22T08:16:43.2376420Z ‌VERBOSE: Loading module from path root.localsharepowershellModulesAz.Accounts5.1.1Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll.‌
importting....
2025-09-22T08:16:46.2777258Z ‌VERBOSE: Importing cmdlet Update-AzPolicyExemption_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2778202Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateExpanded.‌
2025-09-22T08:16:46.2779355Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2780363Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateViaIdentityPolicySetDefinitionExpanded.‌
2025-09-22T08:16:46.2781383Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinition_UpdateExpanded.‌
2025-09-22T08:16:46.2782365Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinition_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2783237Z ‌VERBOSE: Importing alias Set-AzPolicyAssignment.‌
2025-09-22T08:16:46.2784161Z ‌VERBOSE: Importing alias Set-AzPolicyExemption.‌
2025-09-22T08:16:46.2785077Z ‌VERBOSE: Importing alias Set-AzPolicyExemption.‌
2025-09-22T08:16:46.2786212Z ‌VERBOSE: Loading module from path root.localsharepowershellModulesAz.Resources7.3.0Policy.AutorestinternalAz.Policy.internal.psm1.‌
2025-09-22T08:16:46.2787212Z ‌VERBOSE: Importing cmdlet Export-CmdletSurface.‌
2025-09-22T08:16:46.2788124Z ‌VERBOSE: Importing cmdlet Export-ExampleStub.‌
2025-09-22T08:16:46.2789045Z ‌VERBOSE: Importing cmdlet Export-FormatPs1xml.‌
2025-09-22T08:16:46.2789966Z ‌VERBOSE: Importing cmdlet Export-HelpMarkdown.‌
2025-09-22T08:16:46.2790884Z ‌VERBOSE: Importing cmdlet Export-ModelSurface.‌
2025-09-22T08:16:46.2791809Z ‌VERBOSE: Importing cmdlet Export-ProxyCmdlet.‌
2025-09-22T08:16:46.2792618Z ‌VERBOSE: Importing cmdlet Export-Psd1.‌
2025-09-22T08:16:46.2793407Z ‌VERBOSE: Importing cmdlet Export-TestStub.‌
2025-09-22T08:16:46.2794303Z ‌VERBOSE: Importing cmdlet Get-CommonParameter.‌
2025-09-22T08:16:46.2795265Z ‌VERBOSE: Importing cmdlet Get-ModuleGuid.‌
2025-09-22T08:16:46.2796364Z ‌VERBOSE: Importing cmdlet Get-ScriptCmdlet.‌
2025-09-22T08:16:46.2797313Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_Get.‌
2025-09-22T08:16:46.2798342Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_Get1.‌
2025-09-22T08:16:46.2799218Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_GetViaIdentity.‌
2025-09-22T08:16:46.2800083Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_List.‌
2025-09-22T08:16:46.2800942Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_List1.‌
2025-09-22T08:16:46.2801735Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_List2.‌
2025-09-22T08:16:46.2802528Z ‌VERBOSE: Importing cmdlet Get-AzPolicyAssignment_List3.‌
2025-09-22T08:16:46.2803391Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionBuilt_Get.‌
2025-09-22T08:16:46.2804247Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionBuilt_GetViaIdentity.‌
2025-09-22T08:16:46.2805170Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionBuilt_List.‌
2025-09-22T08:16:46.2806164Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersionBuiltin_List.‌
2025-09-22T08:16:46.2807155Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersionBuilt_Get.‌
2025-09-22T08:16:46.2808373Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersionBuilt_GetViaIdentity.‌
2025-09-22T08:16:46.2809391Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersionBuilt_GetViaIdentityPolicyDefinition.‌
2025-09-22T08:16:46.2810354Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersionBuilt_List.‌
2025-09-22T08:16:46.2811295Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_Get.‌
2025-09-22T08:16:46.2812271Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_Get1.‌
2025-09-22T08:16:46.2813279Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_GetViaIdentity.‌
2025-09-22T08:16:46.2814282Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_GetViaIdentity1.‌
2025-09-22T08:16:46.2815300Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_GetViaIdentityPolicyDefinition.‌
2025-09-22T08:16:46.2816334Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_GetViaIdentityPolicyDefinition1.‌
2025-09-22T08:16:46.2817312Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_List.‌
2025-09-22T08:16:46.2818257Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_List1.‌
2025-09-22T08:16:46.2819522Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_List2.‌
2025-09-22T08:16:46.2820539Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinitionVersion_List3.‌
2025-09-22T08:16:46.2821494Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_Get.‌
2025-09-22T08:16:46.2822425Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_Get1.‌
2025-09-22T08:16:46.2823412Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_GetViaIdentity.‌
2025-09-22T08:16:46.2824444Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_GetViaIdentity1.‌
2025-09-22T08:16:46.2825431Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_List.‌
2025-09-22T08:16:46.2826434Z ‌VERBOSE: Importing cmdlet Get-AzPolicyDefinition_List1.‌
2025-09-22T08:16:46.2827406Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_Get.‌
2025-09-22T08:16:46.2828415Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_GetViaIdentity.‌
2025-09-22T08:16:46.2829388Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_List.‌
2025-09-22T08:16:46.2830387Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_List1.‌
2025-09-22T08:16:46.2831356Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_List2.‌
2025-09-22T08:16:46.2832339Z ‌VERBOSE: Importing cmdlet Get-AzPolicyExemption_List3.‌
2025-09-22T08:16:46.2833351Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionBuilt_Get.‌
2025-09-22T08:16:46.2834587Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionBuilt_GetViaIdentity.‌
2025-09-22T08:16:46.2835606Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionBuilt_List.‌
2025-09-22T08:16:46.2836719Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersionBuiltin_List.‌
2025-09-22T08:16:46.2837768Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersionBuilt_Get.‌
2025-09-22T08:16:46.2838803Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersionBuilt_GetViaIdentity.‌
2025-09-22T08:16:46.2839873Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersionBuilt_GetViaIdentityPolicySetDefinition.‌
2025-09-22T08:16:46.2840917Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersionBuilt_List.‌
2025-09-22T08:16:46.2841925Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_Get.‌
2025-09-22T08:16:46.2842943Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_Get1.‌
2025-09-22T08:16:46.2843978Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_GetViaIdentity.‌
2025-09-22T08:16:46.2845032Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_GetViaIdentity1.‌
2025-09-22T08:16:46.2846094Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_GetViaIdentityPolicySetDefinition.‌
2025-09-22T08:16:46.2847179Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_GetViaIdentityPolicySetDefinition1.‌
2025-09-22T08:16:46.2848211Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_List.‌
2025-09-22T08:16:46.2849239Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_List1.‌
2025-09-22T08:16:46.2850255Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_List2.‌
2025-09-22T08:16:46.2851269Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinitionVersion_List3.‌
2025-09-22T08:16:46.2852263Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_Get.‌
2025-09-22T08:16:46.2853260Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_Get1.‌
2025-09-22T08:16:46.2854289Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_GetViaIdentity.‌
2025-09-22T08:16:46.2855315Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_GetViaIdentity1.‌
2025-09-22T08:16:46.2856329Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_List.‌
2025-09-22T08:16:46.2857339Z ‌VERBOSE: Importing cmdlet Get-AzPolicySetDefinition_List1.‌
2025-09-22T08:16:46.2858609Z ‌VERBOSE: Importing cmdlet New-AzPolicyAssignment_CreateExpanded.‌
2025-09-22T08:16:46.2859625Z ‌VERBOSE: Importing cmdlet New-AzPolicyAssignment_CreateExpanded1.‌
2025-09-22T08:16:46.2860636Z ‌VERBOSE: Importing cmdlet New-AzPolicyDefinitionVersion_CreateExpanded.‌
2025-09-22T08:16:46.2861671Z ‌VERBOSE: Importing cmdlet New-AzPolicyDefinitionVersion_CreateExpanded1.‌
2025-09-22T08:16:46.2862712Z ‌VERBOSE: Importing cmdlet New-AzPolicyDefinition_CreateExpanded.‌
2025-09-22T08:16:46.2863722Z ‌VERBOSE: Importing cmdlet New-AzPolicyDefinition_CreateExpanded1.‌
2025-09-22T08:16:46.2864726Z ‌VERBOSE: Importing cmdlet New-AzPolicyExemption_CreateExpanded.‌
2025-09-22T08:16:46.2865768Z ‌VERBOSE: Importing cmdlet New-AzPolicySetDefinitionVersion_CreateExpanded.‌
2025-09-22T08:16:46.2866798Z ‌VERBOSE: Importing cmdlet New-AzPolicySetDefinitionVersion_CreateExpanded1.‌
2025-09-22T08:16:46.2867835Z ‌VERBOSE: Importing cmdlet New-AzPolicySetDefinition_CreateExpanded.‌
2025-09-22T08:16:46.2868854Z ‌VERBOSE: Importing cmdlet New-AzPolicySetDefinition_CreateExpanded1.‌
2025-09-22T08:16:46.2869875Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyAssignment_Delete.‌
2025-09-22T08:16:46.2870918Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyAssignment_Delete1.‌
2025-09-22T08:16:46.2871952Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyAssignment_DeleteViaIdentity.‌
2025-09-22T08:16:46.2873131Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_Delete.‌
2025-09-22T08:16:46.2874225Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_Delete1.‌
2025-09-22T08:16:46.2875269Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_DeleteViaIdentity.‌
2025-09-22T08:16:46.2876304Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_DeleteViaIdentity1.‌
2025-09-22T08:16:46.2877376Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_DeleteViaIdentityPolicyDefinition.‌
2025-09-22T08:16:46.2878456Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinitionVersion_DeleteViaIdentityPolicyDefinition1.‌
2025-09-22T08:16:46.2879487Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinition_Delete.‌
2025-09-22T08:16:46.2880491Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinition_Delete1.‌
2025-09-22T08:16:46.2881528Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinition_DeleteViaIdentity.‌
2025-09-22T08:16:46.2882566Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyDefinition_DeleteViaIdentity1.‌
2025-09-22T08:16:46.2883582Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyExemption_Delete.‌
2025-09-22T08:16:46.2884609Z ‌VERBOSE: Importing cmdlet Remove-AzPolicyExemption_DeleteViaIdentity.‌
2025-09-22T08:16:46.2885624Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_Delete.‌
2025-09-22T08:16:46.2886650Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_Delete1.‌
2025-09-22T08:16:46.2887688Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_DeleteViaIdentity.‌
2025-09-22T08:16:46.2888752Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_DeleteViaIdentity1.‌
2025-09-22T08:16:46.2889837Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_DeleteViaIdentityPolicySetDefinition.‌
2025-09-22T08:16:46.2890943Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinitionVersion_DeleteViaIdentityPolicySetDefinition1.‌
2025-09-22T08:16:46.2891988Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinition_Delete.‌
2025-09-22T08:16:46.2893006Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinition_Delete1.‌
2025-09-22T08:16:46.2894036Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinition_DeleteViaIdentity.‌
2025-09-22T08:16:46.2895123Z ‌VERBOSE: Importing cmdlet Remove-AzPolicySetDefinition_DeleteViaIdentity1.‌
2025-09-22T08:16:46.2896174Z ‌VERBOSE: Importing cmdlet Update-AzPolicyAssignment_UpdateExpanded.‌
2025-09-22T08:16:46.2897165Z ‌VERBOSE: Importing cmdlet Update-AzPolicyDefinitionVersion_UpdateExpanded.‌
2025-09-22T08:16:46.2898203Z ‌VERBOSE: Importing cmdlet Update-AzPolicyDefinitionVersion_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2899420Z ‌VERBOSE: Importing cmdlet Update-AzPolicyDefinitionVersion_UpdateViaIdentityPolicyDefinitionExpanded.‌
2025-09-22T08:16:46.2900492Z ‌VERBOSE: Importing cmdlet Update-AzPolicyDefinition_UpdateExpanded.‌
2025-09-22T08:16:46.2901507Z ‌VERBOSE: Importing cmdlet Update-AzPolicyDefinition_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2902535Z ‌VERBOSE: Importing cmdlet Update-AzPolicyExemption_UpdateExpanded.‌
2025-09-22T08:16:46.2903562Z ‌VERBOSE: Importing cmdlet Update-AzPolicyExemption_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2904595Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateExpanded.‌
2025-09-22T08:16:46.2905635Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2906710Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinitionVersion_UpdateViaIdentityPolicySetDefinitionExpanded.‌
2025-09-22T08:16:46.2907662Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinition_UpdateExpanded.‌
2025-09-22T08:16:46.2908752Z ‌VERBOSE: Importing cmdlet Update-AzPolicySetDefinition_UpdateViaIdentityExpanded.‌
2025-09-22T08:16:46.2909594Z ‌VERBOSE: Importing ...
2025-09-22T08:16:46.4519939Z ‌VERBOSE: Importing cmdlet Update-AzTag.‌
2025-09-22T08:16:46.7679588Z
2025-09-22T08:16:46.7680752Z [INFO] Key Vault lau-acf-dv-kv01-weu-a03 found.
2025-09-22T08:16:47.3291404Z [INFO] Key Vault lau-acf-dv-kv01-weu-a03 contains clientId and clientSecret.
2025-09-22T08:16:47.3292236Z
2025-09-22T08:16:47.3293432Z [INFO] Preflight checks before deployment...
2025-09-22T08:16:47.3312748Z [INFO] Good to go!
2025-09-22T08:16:47.3858963Z
2025-09-22T08:16:47.3889042Z ##[debug]Exit code 0 received from tool '/usr/bin/pwsh'
2025-09-22T08:16:47.3890761Z ##[debug]STDIO streams have closed for tool '/usr/bin/pwsh'
2025-09-22T08:16:47.3894251Z ##[debug]which 'pwsh'
2025-09-22T08:16:47.3895792Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:47.3897376Z ##[debug]which '/usr/bin/pwsh'
2025-09-22T08:16:47.3899131Z ##[debug]found: '/usr/bin/pwsh'
2025-09-22T08:16:47.3900740Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2025-09-22T08:16:47.3902299Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2025-09-22T08:16:47.3903869Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2025-09-22T08:16:47.3905532Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2025-09-22T08:16:47.3907200Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2025-09-22T08:16:47.3908792Z ##[debug]/usr/bin/pwsh arg: -Command
2025-09-22T08:16:47.3910492Z ##[debug]/usr/bin/pwsh arg: . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/RemoveAzContext.ps1'
2025-09-22T08:16:47.3911981Z ##[debug]exec tool: /usr/bin/pwsh
2025-09-22T08:16:47.3913388Z ##[debug]arguments:
2025-09-22T08:16:47.3914695Z ##[debug] -NoLogo
2025-09-22T08:16:47.3915783Z ##[debug] -NoProfile
2025-09-22T08:16:47.3916855Z ##[debug] -NonInteractive
2025-09-22T08:16:47.3917938Z ##[debug] -ExecutionPolicy
2025-09-22T08:16:47.3919033Z ##[debug] Unrestricted
2025-09-22T08:16:47.3920388Z ##[debug] -Command
2025-09-22T08:16:47.3921975Z ##[debug] . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/RemoveAzContext.ps1'
2025-09-22T08:16:47.3923215Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/azp/_work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.261.0/RemoveAzContext.ps1'
2025-09-22T08:16:48.4605659Z ##[command]Disconnect-AzAccount -Scope CurrentUser -ErrorAction Stop
2025-09-22T08:16:48.5441576Z ##[command]Disconnect-AzAccount -Scope Process -ErrorAction Stop
2025-09-22T08:16:48.5466010Z ##[command]Clear-AzContext -Scope Process -ErrorAction Stop
2025-09-22T08:16:48.5968183Z
2025-09-22T08:16:48.5983903Z ##[debug]Exit code 0 received from tool '/usr/bin/pwsh'
2025-09-22T08:16:48.5985115Z ##[debug]STDIO streams have closed for tool '/usr/bin/pwsh'
2025-09-22T08:16:48.6043779Z ##[section]Finishing: First run pipeline test

Repro steps

steps:
- task: AzurePowerShell@5
  displayName: 'First run pipeline test'
  inputs:
    azureSubscription: '$(azureSubscription)'
    ScriptType: InlineScript
    Inline: |
     $environment = "$(environment)".Split('-')[0]
     $serviceName = "$(serviceName)"
     $keyVaultName = "$(keyVaultName)"
     $location = "$(location)"
     $isMicroserviceJob = "$(serviceName)".Split('-').Count -gt 3
     

    FailOnStandardError: true
    azurePowerShellVersion: LatestVersion
    pwsh: true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions