-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzurePowerShell
Task version
2.*
Issue Description
It looks like the Azure PowerShell tasks checks for updates for the Az module at beginning of script. I imagine this adds unnecessary runtime.
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-latest and windows-latest
Relevant log output
2026-03-27T07:57:30.6579022Z WARNING: Youre using Az version 14.6.0. The latest version of Az is 15.4.0. Upgrade your Az modules using the following commands:
2026-03-27T07:57:30.6579800Z Update-PSResource Az -WhatIf -- Simulate updating your Az modules.
2026-03-27T07:57:30.6580237Z Update-PSResource Az -- Update your Az modules.
2026-03-27T07:57:30.6580924Z There will be breaking changes from 14.6.0 to 15.4.0. Open https:go.microsoft.comfwlink?linkid=2241373 and check the details.Full task logs with system.debug enabled
2026-03-27T08:33:09.9466347Z ##[debug]Evaluating condition for step: 'Open firewall'
2026-03-27T08:33:09.9467672Z ##[debug]Evaluating: succeeded()
2026-03-27T08:33:09.9468193Z ##[debug]Evaluating succeeded:
2026-03-27T08:33:09.9468705Z ##[debug]=> True
2026-03-27T08:33:09.9468969Z ##[debug]Result: True
2026-03-27T08:33:09.9469972Z ##[section]Starting: Open firewall
2026-03-27T08:33:09.9476120Z ==============================================================================
2026-03-27T08:33:09.9476219Z Task : Azure PowerShell
2026-03-27T08:33:09.9476286Z Description : Run a PowerShell script within an Azure environment
2026-03-27T08:33:09.9476365Z Version : 5.270.1
2026-03-27T08:33:09.9476429Z Author : Microsoft Corporation
2026-03-27T08:33:09.9476492Z Help : https://aka.ms/azurepowershelltroubleshooting
2026-03-27T08:33:09.9476578Z ==============================================================================
2026-03-27T08:33:09.9600075Z ##[debug]Resource Utilization warnings is disabled, switch "DISABLE_RESOURCE_UTILIZATION_WARNINGS" variable to "false" if you want to enable it
2026-03-27T08:33:10.0333144Z ##[debug]Using node path: /home/vsts/actions-runner/cached/4.270.0/externals/node20_1/bin/node
2026-03-27T08:33:10.0990316Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2026-03-27T08:33:10.1011818Z ##[debug]loading inputs and endpoints
2026-03-27T08:33:10.1018680Z ##[debug]loading INPUT_CONNECTEDSERVICENAMEARM
2026-03-27T08:33:10.1033759Z ##[debug]loading INPUT_SCRIPTTYPE
2026-03-27T08:33:10.1035396Z ##[debug]loading INPUT_SCRIPTPATH
2026-03-27T08:33:10.1037537Z ##[debug]loading INPUT_INLINE
2026-03-27T08:33:10.1041174Z ##[debug]loading INPUT_ERRORACTIONPREFERENCE
2026-03-27T08:33:10.1042593Z ##[debug]loading INPUT_FAILONSTANDARDERROR
2026-03-27T08:33:10.1044820Z ##[debug]loading INPUT_TARGETAZUREPS
2026-03-27T08:33:10.1045705Z ##[debug]loading INPUT_PWSH
2026-03-27T08:33:10.1049900Z ##[debug]loading INPUT_VALIDATESCRIPTSIGNATURE
2026-03-27T08:33:10.1051383Z ##[debug]loading INPUT_WORKINGDIRECTORY
2026-03-27T08:33:10.1052673Z ##[debug]loading ENDPOINT_AUTH_ef36e69d-b80e-4a90-802b-dd1c587d5515
2026-03-27T08:33:10.1056448Z ##[debug]loading ENDPOINT_AUTH_SCHEME_ef36e69d-b80e-4a90-802b-dd1c587d5515
2026-03-27T08:33:10.1059291Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_TENANTID
2026-03-27T08:33:10.1061688Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_WORKLOADIDENTITYFEDERATIONISSUERTYPE
2026-03-27T08:33:10.1065256Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_WORKLOADIDENTITYFEDERATIONISSUER
2026-03-27T08:33:10.1067502Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_WORKLOADIDENTITYFEDERATIONSUBJECT
2026-03-27T08:33:10.1069422Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_SCOPE
2026-03-27T08:33:10.1071392Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_ef36e69d-b80e-4a90-802b-dd1c587d5515_SERVICEPRINCIPALID
2026-03-27T08:33:10.1072703Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2026-03-27T08:33:10.1074206Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2026-03-27T08:33:10.1076767Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2026-03-27T08:33:10.1083787Z ##[debug]loading SECRET_DEMOAZURESQLCONNECTIONSTRING
2026-03-27T08:33:10.1085824Z ##[debug]loaded 22
2026-03-27T08:33:10.1091130Z ##[debug]Agent.ProxyUrl=undefined
2026-03-27T08:33:10.1093091Z ##[debug]Agent.CAInfo=undefined
2026-03-27T08:33:10.1094423Z ##[debug]Agent.ClientCert=undefined
2026-03-27T08:33:10.1095819Z ##[debug]Agent.SkipCertValidation=undefined
2026-03-27T08:33:10.2000513Z ##[debug]agent.proxyurl=undefined
2026-03-27T08:33:10.2003396Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2026-03-27T08:33:10.2010667Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_6fe845bc-a629-4abc-9f80-4bd1000de947_Release__472_892_3
2026-03-27T08:33:10.2011586Z ##[debug]check path : /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2026-03-27T08:33:10.2012729Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2026-03-27T08:33:10.2013470Z ##[debug]system.culture=en-US
2026-03-27T08:33:10.2469437Z ##[debug]Feature 'EnableMsalV3' = 'True'. Processed as 'true'.
2026-03-27T08:33:10.2471752Z ##[debug]Using msalv3
2026-03-27T08:33:10.3506055Z ##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2026-03-27T08:33:10.3509957Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2026-03-27T08:33:10.3513574Z ##[debug]Resource file has already set to: /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2026-03-27T08:33:10.3528232Z ##[debug]workingDirectory=/home/vsts/work/r1/a
2026-03-27T08:33:10.3531061Z ##[debug]check path : /home/vsts/work/r1/a
2026-03-27T08:33:10.3534147Z ##[debug]agent.tempDirectory=/home/vsts/work/_temp
2026-03-27T08:33:10.3536839Z ##[debug]check path : /home/vsts/work/_temp
2026-03-27T08:33:10.3544371Z AZUREPS_HOST_ENVIRONMENT: ADO/AzurePowerShell@v5_Linux_Azure Pipelines [REDACTED] - test_472
2026-03-27T08:33:10.3552390Z ##[debug]check path : /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/task.json
2026-03-27T08:33:10.3556219Z ##[debug]adding resource file: /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/task.json
2026-03-27T08:33:10.3559538Z ##[debug]system.culture=en-US
2026-03-27T08:33:10.3570363Z ##[debug]errorActionPreference=stop
2026-03-27T08:33:10.3574216Z ##[debug]ScriptType=InlineScript
2026-03-27T08:33:10.3578582Z ##[debug]ScriptPath=/home/vsts/work/r1/a
2026-03-27T08:33:10.3600572Z ##[debug]Inline=[REDACTED]
2026-03-27T08:33:10.3603455Z ##[debug]ScriptArguments=undefined
2026-03-27T08:33:10.3604205Z ##[debug]FailOnStandardError=false
2026-03-27T08:33:10.3605103Z ##[debug]TargetAzurePs=LatestVersion
2026-03-27T08:33:10.3605713Z ##[debug]CustomTargetAzurePs=undefined
2026-03-27T08:33:10.3607696Z ##[debug]ConnectedServiceNameARM=ef36e69d-b80e-4a90-802b-dd1c587d5515
2026-03-27T08:33:10.3610924Z ##[debug]USE_MSAL=true
2026-03-27T08:33:10.3612869Z ##[debug]MSAL - USE_MSAL override is found: true
2026-03-27T08:33:10.3615447Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth scheme = WorkloadIdentityFederation
2026-03-27T08:33:10.3616985Z ##[debug]Overriding useMSAL to true as workloadidentityfederation supports only MSAL
2026-03-27T08:33:10.3620689Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data subscriptionid = 944ab1af-d7e9-49fc-b698-26003bcd10f0
2026-03-27T08:33:10.3621494Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data subscriptionname = Partner Success Expanded Benefits (Ways Sweden AB)
2026-03-27T08:33:10.3622437Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth param serviceprincipalid = ***
2026-03-27T08:33:10.3623148Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data activeDirectoryAuthority = https://login.microsoftonline.com/
2026-03-27T08:33:10.3623872Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth param tenantid = 67a9601a-bcae-4b5d-bc95-d5eb01f91274
2026-03-27T08:33:10.3624547Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515=https://management.azure.com/
2026-03-27T08:33:10.3625207Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data environment = AzureCloud
2026-03-27T08:33:10.3625878Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth scheme = WorkloadIdentityFederation
2026-03-27T08:33:10.3626545Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data msiclientId = undefined
2026-03-27T08:33:10.3627319Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data activeDirectoryServiceEndpointResourceId = https://management.core.windows.net/
2026-03-27T08:33:10.3629640Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data AzureKeyVaultServiceEndpointResourceId = https://vault.azure.net
2026-03-27T08:33:10.3630503Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data AzureKeyVaultDnsSuffix = vault.azure.net
2026-03-27T08:33:10.3631329Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data ScopeLevel = Subscription
2026-03-27T08:33:10.3632195Z ##[debug]MSAL - getEndpoint - useGraphActiveDirectoryResource=false
2026-03-27T08:33:10.3632838Z ##[debug]MSAL - getEndpoint - useMSAL=true
2026-03-27T08:33:10.3637312Z ##[debug]MSAL - getEndpoint - endpoint={"subscriptionID":"944ab1af-d7e9-49fc-b698-26003bcd10f0","subscriptionName":"Partner Success Expanded Benefits (Ways Sweden AB)","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"67a9601a-bcae-4b5d-bc95-d5eb01f91274","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"WorkloadIdentityFederation","activeDirectoryResourceID":"https://management.core.windows.net/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription"}
2026-03-27T08:33:10.3638975Z ##[debug]MSAL - getEndpoint - connectedServiceName=ef36e69d-b80e-4a90-802b-dd1c587d5515
2026-03-27T08:33:10.3641009Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth param authenticationType = undefined
2026-03-27T08:33:10.3641821Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 data EnableAdfsAuthentication = false
2026-03-27T08:33:10.3642589Z ##[debug]Feature 'ALLOWSCOPELEVELTOKEN' not found. Returning false as default.
2026-03-27T08:33:10.3643343Z ##[debug]ef36e69d-b80e-4a90-802b-dd1c587d5515 auth param apitoken = undefined
2026-03-27T08:33:10.3645345Z ##[debug]{"subscriptionID":"944ab1af-d7e9-49fc-b698-26003bcd10f0","subscriptionName":"Partner Success Expanded Benefits (Ways Sweden AB)","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"67a9601a-bcae-4b5d-bc95-d5eb01f91274","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"WorkloadIdentityFederation","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription","isADFSEnabled":false,"applicationTokenCredentials":{"connectedServiceName":"ef36e69d-b80e-4a90-802b-dd1c587d5515","clientId":"***","tenantId":"67a9601a-bcae-4b5d-bc95-d5eb01f91274","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.microsoftonline.com/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"scheme":2,"isADFSEnabled":false,"useMSAL":true,"allowScopeLevelToken":false,"tokenMutex":{"_semaphore":{"_value":1,"_cancelError":{},"_weightedQueues":[],"_weightedWaiters":[]}}}}
2026-03-27T08:33:10.3647671Z ##[debug]Feature 'ShowWarningOnOlderAzureModules' not found. Returning false as default.
2026-03-27T08:33:10.3650188Z Generating script.
2026-03-27T08:33:10.3652303Z ##[debug]System.TeamProjectId=dc1140e2-3df9-4093-becf-8ca2613bc7c4
2026-03-27T08:33:10.3655054Z ##[debug]System.HostType=release
2026-03-27T08:33:10.3656424Z ##[debug]System.PlanId=e3082852-d971-4950-9811-68d4a4a8bfc3
2026-03-27T08:33:10.3658898Z ##[debug]System.JobId=3808c392-09df-5ee1-e761-af51cc1620e8
2026-03-27T08:33:10.3659647Z ##[debug]System.CollectionUri=https://ways.vsrm.visualstudio.com/
2026-03-27T08:33:10.3660364Z ##[debug]Getting credentials for local feeds
2026-03-27T08:33:10.3661026Z ##[debug]SYSTEMVSSCONNECTION exists true
2026-03-27T08:33:10.3661645Z ##[debug]Got auth token
2026-03-27T08:33:10.3671697Z ##[debug]Feature 'UseOIDCToken2InAzureArmRest' = 'True'. Processed as 'true'.
2026-03-27T08:33:10.6984272Z ##[debug]Got OIDC token
2026-03-27T08:33:10.6986475Z ##[debug]Agent.Version=4.270.0
2026-03-27T08:33:10.7000028Z ##[debug]which 'pwsh'
2026-03-27T08:33:10.7068855Z ##[debug]found: '/usr/bin/pwsh'
2026-03-27T08:33:10.7071300Z ##[debug]which '/usr/bin/pwsh'
2026-03-27T08:33:10.7089753Z ##[debug]found: '/usr/bin/pwsh'
2026-03-27T08:33:10.7091597Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2026-03-27T08:33:10.7092366Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2026-03-27T08:33:10.7093039Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2026-03-27T08:33:10.7098740Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2026-03-27T08:33:10.7099467Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2026-03-27T08:33:10.7100151Z ##[debug]/usr/bin/pwsh arg: -Command
2026-03-27T08:33:10.7100979Z ##[debug]/usr/bin/pwsh arg: . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/ImportVstsTaskSdk.ps1'; . '/home/vsts/work/_temp/2d8769c6-4d59-4112-8812-39bc5f0c9b1c.ps1'
2026-03-27T08:33:10.7119325Z ##[debug]exec tool: /usr/bin/pwsh
2026-03-27T08:33:10.7121521Z ##[debug]arguments:
2026-03-27T08:33:10.7123466Z ##[debug] -NoLogo
2026-03-27T08:33:10.7125380Z ##[debug] -NoProfile
2026-03-27T08:33:10.7127391Z ##[debug] -NonInteractive
2026-03-27T08:33:10.7129180Z ##[debug] -ExecutionPolicy
2026-03-27T08:33:10.7131212Z ##[debug] Unrestricted
2026-03-27T08:33:10.7133216Z ##[debug] -Command
2026-03-27T08:33:10.7134831Z ##[debug] . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/ImportVstsTaskSdk.ps1'; . '/home/vsts/work/_temp/2d8769c6-4d59-4112-8812-39bc5f0c9b1c.ps1'
2026-03-27T08:33:10.7135632Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/ImportVstsTaskSdk.ps1'; . '/home/vsts/work/_temp/2d8769c6-4d59-4112-8812-39bc5f0c9b1c.ps1'
2026-03-27T08:33:10.7599116Z File saved!
2026-03-27T08:33:15.1940920Z VERBOSE: Latest selected, will make use of the latest available in agent as folder.
2026-03-27T08:33:15.2131273Z ##[debug]Processed: ##vso[telemetry.publish area=TaskHub;feature=AzurePowerShellV5]{"moduleSource":"hostedAgentFolder","targetAzurePs":""}
2026-03-27T08:33:15.3225460Z VERBOSE: Latest module folder detected: usrshareaz_14.6.0
2026-03-27T08:33:15.3258386Z VERBOSE: The updated value of the PSModulePath is: usrshareaz_14.6.0:homevsts.localsharepowershellModules:root.localsharepowershellModules:usrlocalsharepowershellModules:optmicrosoftpowershell7Modules:usrshareaz_14.6.0
2026-03-27T08:33:15.3580137Z VERBOSE: Populating RepositorySourceLocation property for module Az.Accounts.
2026-03-27T08:33:16.3019415Z ##[command]Import-Module -Name /usr/share/az_14.6.0/Az.Accounts/5.3.3/Az.Accounts.psd1 -Global
2026-03-27T08:33:16.3028728Z VERBOSE: Loading module from path usrshareaz_14.6.0Az.Accounts5.3.3Az.Accounts.psd1.
2026-03-27T08:33:16.3036088Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.AssemblyLoading.dll.
2026-03-27T08:33:16.3043323Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Authentication.Abstractions.dll.
2026-03-27T08:33:16.3045866Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Authentication.dll.
2026-03-27T08:33:16.3047220Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Authenticators.dll.
2026-03-27T08:33:16.3050819Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll.
2026-03-27T08:33:16.3055682Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Authorization.dll.
2026-03-27T08:33:16.3057457Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Compute.dll.
2026-03-27T08:33:16.3058501Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll.
2026-03-27T08:33:16.3059241Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Monitor.dll.
2026-03-27T08:33:16.3059937Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Network.dll.
2026-03-27T08:33:16.3060650Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll.
2026-03-27T08:33:16.3061387Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.ResourceManager.dll.
2026-03-27T08:33:16.3062062Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Common.dll.
2026-03-27T08:33:16.3062749Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Storage.dll.
2026-03-27T08:33:16.3063476Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Storage.Management.dll.
2026-03-27T08:33:16.3064176Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.KeyVault.dll.
2026-03-27T08:33:16.3069821Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Websites.dll.
2026-03-27T08:33:16.3073725Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Hyak.Common.dll.
2026-03-27T08:33:16.3074208Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.ApplicationInsights.dll.
2026-03-27T08:33:16.3074536Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.Common.dll.
2026-03-27T08:33:16.3075062Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Rest.ClientRuntime.dll.
2026-03-27T08:33:16.3075393Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Rest.ClientRuntime.Azure.dll.
2026-03-27T08:33:16.3076109Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.WindowsAzure.Storage.dll.
2026-03-27T08:33:16.3076716Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Clients.Aks.dll.
2026-03-27T08:33:16.3077279Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Strategies.dll.
2026-03-27T08:33:16.3078124Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Common.Share.dll.
2026-03-27T08:33:16.3078670Z VERBOSE: Loading Assembly from path usrshareaz_14.6.0Az.Accounts5.3.3FuzzySharp.dll.
2026-03-27T08:33:16.3079167Z VERBOSE: Loading FormatsToProcess from path usrshareaz_14.6.0Az.Accounts5.3.3Accounts.format.ps1xml.
2026-03-27T08:33:16.3079500Z VERBOSE: Loading FormatsToProcess from path usrshareaz_14.6.0Az.Accounts5.3.3Accounts.generated.format.ps1xml.
2026-03-27T08:33:16.6863328Z VERBOSE: Populating RepositorySourceLocation property for module Az.Accounts.
2026-03-27T08:33:16.6870388Z VERBOSE: Loading module from path usrshareaz_14.6.0Az.Accounts5.3.3Az.Accounts.psm1.
2026-03-27T08:33:16.7834332Z VERBOSE: Loading module from path usrshareaz_14.6.0Az.Accounts5.3.3Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll.
2026-03-27T08:33:17.2407731Z VERBOSE: Importing cmdlet Register-AzModule.
2026-03-27T08:33:17.2410360Z VERBOSE: Importing cmdlet Clear-AzConfig.
2026-03-27T08:33:17.2414379Z VERBOSE: Importing cmdlet Export-AzConfig.
2026-03-27T08:33:17.2414878Z VERBOSE: Importing cmdlet Get-AzConfig.
2026-03-27T08:33:17.2415285Z VERBOSE: Importing cmdlet Import-AzConfig.
2026-03-27T08:33:17.2415669Z VERBOSE: Importing cmdlet Update-AzConfig.
2026-03-27T08:33:17.2416085Z VERBOSE: Importing cmdlet Connect-AzAccount.
2026-03-27T08:33:17.2416530Z VERBOSE: Importing cmdlet Disconnect-AzAccount.
2026-03-27T08:33:17.2416983Z VERBOSE: Importing cmdlet Get-AzContext.
2026-03-27T08:33:17.2417406Z VERBOSE: Importing cmdlet Import-AzContext.
2026-03-27T08:33:17.2417808Z VERBOSE: Importing cmdlet Save-AzContext.
2026-03-27T08:33:17.2418480Z VERBOSE: Importing cmdlet Set-AzContext.
2026-03-27T08:33:17.2418937Z VERBOSE: Importing cmdlet Disable-AzDataCollection.
2026-03-27T08:33:17.2419388Z VERBOSE: Importing cmdlet Enable-AzDataCollection.
2026-03-27T08:33:17.2419828Z VERBOSE: Importing cmdlet Add-AzEnvironment.
2026-03-27T08:33:17.2420239Z VERBOSE: Importing cmdlet Get-AzEnvironment.
2026-03-27T08:33:17.2420645Z VERBOSE: Importing cmdlet Remove-AzEnvironment.
2026-03-27T08:33:17.2421043Z VERBOSE: Importing cmdlet Set-AzEnvironment.
2026-03-27T08:33:17.2421442Z VERBOSE: Importing cmdlet Send-Feedback.
2026-03-27T08:33:17.2421846Z VERBOSE: Importing cmdlet Get-AzSubscription.
2026-03-27T08:33:17.2422238Z VERBOSE: Importing cmdlet Get-AzTenant.
2026-03-27T08:33:17.2422635Z VERBOSE: Importing cmdlet Get-AzAccessToken.
2026-03-27T08:33:17.2423055Z VERBOSE: Importing cmdlet Uninstall-AzureRm.
2026-03-27T08:33:17.2423474Z VERBOSE: Importing cmdlet Invoke-AzRestMethod.
2026-03-27T08:33:17.2423887Z VERBOSE: Importing cmdlet Open-AzSurveyLink.
2026-03-27T08:33:17.2424300Z VERBOSE: Importing cmdlet Resolve-AzError.
2026-03-27T08:33:17.2424995Z VERBOSE: Importing cmdlet Clear-AzDefault.
2026-03-27T08:33:17.2425385Z VERBOSE: Importing cmdlet Get-AzDefault.
2026-03-27T08:33:17.2425771Z VERBOSE: Importing cmdlet Set-AzDefault.
2026-03-27T08:33:17.2426171Z VERBOSE: Importing cmdlet Disable-AzureRmAlias.
2026-03-27T08:33:17.2431956Z VERBOSE: Importing cmdlet Enable-AzureRmAlias.
2026-03-27T08:33:17.2432407Z VERBOSE: Importing cmdlet Disable-AzContextAutosave.
2026-03-27T08:33:17.2432850Z VERBOSE: Importing cmdlet Enable-AzContextAutosave.
2026-03-27T08:33:17.2433302Z VERBOSE: Importing cmdlet Get-AzContextAutosaveSetting.
2026-03-27T08:33:17.2433721Z VERBOSE: Importing cmdlet Clear-AzContext.
2026-03-27T08:33:17.2434107Z VERBOSE: Importing cmdlet Remove-AzContext.
2026-03-27T08:33:17.2434336Z VERBOSE: Importing cmdlet Rename-AzContext.
2026-03-27T08:33:17.2434548Z VERBOSE: Importing cmdlet Select-AzContext.
2026-03-27T08:33:17.2434770Z VERBOSE: Importing alias Set-AzConfig.
2026-03-27T08:33:17.2434987Z VERBOSE: Importing alias Login-AzAccount.
2026-03-27T08:33:17.2435204Z VERBOSE: Importing alias Login-AzureRmAccount.
2026-03-27T08:33:17.2435416Z VERBOSE: Importing alias Add-AzAccount.
2026-03-27T08:33:17.2435626Z VERBOSE: Importing alias Logout-AzAccount.
2026-03-27T08:33:17.2435840Z VERBOSE: Importing alias Logout-AzureRmAccount.
2026-03-27T08:33:17.2436060Z VERBOSE: Importing alias Remove-AzAccount.
2026-03-27T08:33:17.2436271Z VERBOSE: Importing alias Save-AzProfile.
2026-03-27T08:33:17.2436486Z VERBOSE: Importing alias Select-AzSubscription.
2026-03-27T08:33:17.2436701Z VERBOSE: Importing alias Get-AzureRmDomain.
2026-03-27T08:33:17.2436912Z VERBOSE: Importing alias Get-AzDomain.
2026-03-27T08:33:17.2437119Z VERBOSE: Importing alias Invoke-AzRest.
2026-03-27T08:33:17.2512617Z VERBOSE: Exporting function Test-DotNet.
2026-03-27T08:33:17.2516042Z VERBOSE: Exporting function Preload-Assembly.
2026-03-27T08:33:17.2520133Z VERBOSE: Exporting function Write-InstallationCheckToFile.
2026-03-27T08:33:17.2522710Z VERBOSE: Exporting cmdlet Register-AzModule.
2026-03-27T08:33:17.2526873Z VERBOSE: Exporting cmdlet Clear-AzConfig.
2026-03-27T08:33:17.2535041Z VERBOSE: Exporting cmdlet Export-AzConfig.
2026-03-27T08:33:17.2535530Z VERBOSE: Exporting cmdlet Get-AzConfig.
2026-03-27T08:33:17.2535978Z VERBOSE: Exporting cmdlet Import-AzConfig.
2026-03-27T08:33:17.2536452Z VERBOSE: Exporting cmdlet Update-AzConfig.
2026-03-27T08:33:17.2537164Z VERBOSE: Exporting cmdlet Connect-AzAccount.
2026-03-27T08:33:17.2537623Z VERBOSE: Exporting cmdlet Disconnect-AzAccount.
2026-03-27T08:33:17.2539293Z VERBOSE: Exporting cmdlet Get-AzContext.
2026-03-27T08:33:17.2539751Z VERBOSE: Exporting cmdlet Import-AzContext.
2026-03-27T08:33:17.2540167Z VERBOSE: Exporting cmdlet Save-AzContext.
2026-03-27T08:33:17.2540571Z VERBOSE: Exporting cmdlet Set-AzContext.
2026-03-27T08:33:17.2541009Z VERBOSE: Exporting cmdlet Disable-AzDataCollection.
2026-03-27T08:33:17.2541459Z VERBOSE: Exporting cmdlet Enable-AzDataCollection.
2026-03-27T08:33:17.2541928Z VERBOSE: Exporting cmdlet Add-AzEnvironment.
2026-03-27T08:33:17.2542398Z VERBOSE: Exporting cmdlet Get-AzEnvironment.
2026-03-27T08:33:17.2542853Z VERBOSE: Exporting cmdlet Remove-AzEnvironment.
2026-03-27T08:33:17.2543308Z VERBOSE: Exporting cmdlet Set-AzEnvironment.
2026-03-27T08:33:17.2543753Z VERBOSE: Exporting cmdlet Send-Feedback.
2026-03-27T08:33:17.2544188Z VERBOSE: Exporting cmdlet Get-AzSubscription.
2026-03-27T08:33:17.2544832Z VERBOSE: Exporting cmdlet Get-AzTenant.
2026-03-27T08:33:17.2545249Z VERBOSE: Exporting cmdlet Get-AzAccessToken.
2026-03-27T08:33:17.2545666Z VERBOSE: Exporting cmdlet Uninstall-AzureRm.
2026-03-27T08:33:17.2546096Z VERBOSE: Exporting cmdlet Invoke-AzRestMethod.
2026-03-27T08:33:17.2546764Z VERBOSE: Exporting cmdlet Open-AzSurveyLink.
2026-03-27T08:33:17.2547197Z VERBOSE: Exporting cmdlet Resolve-AzError.
2026-03-27T08:33:17.2547668Z VERBOSE: Exporting cmdlet Clear-AzDefault.
2026-03-27T08:33:17.2548348Z VERBOSE: Exporting cmdlet Get-AzDefault.
2026-03-27T08:33:17.2548795Z VERBOSE: Exporting cmdlet Set-AzDefault.
2026-03-27T08:33:17.2549215Z VERBOSE: Exporting cmdlet Disable-AzureRmAlias.
2026-03-27T08:33:17.2549637Z VERBOSE: Exporting cmdlet Enable-AzureRmAlias.
2026-03-27T08:33:17.2550070Z VERBOSE: Exporting cmdlet Disable-AzContextAutosave.
2026-03-27T08:33:17.2550582Z VERBOSE: Exporting cmdlet Enable-AzContextAutosave.
2026-03-27T08:33:17.2551057Z VERBOSE: Exporting cmdlet Get-AzContextAutosaveSetting.
2026-03-27T08:33:17.2551502Z VERBOSE: Exporting cmdlet Clear-AzContext.
2026-03-27T08:33:17.2551928Z VERBOSE: Exporting cmdlet Remove-AzContext.
2026-03-27T08:33:17.2552355Z VERBOSE: Exporting cmdlet Rename-AzContext.
2026-03-27T08:33:17.2552783Z VERBOSE: Exporting cmdlet Select-AzContext.
2026-03-27T08:33:17.2553200Z VERBOSE: Exporting alias Set-AzConfig.
2026-03-27T08:33:17.2553620Z VERBOSE: Exporting alias Login-AzAccount.
2026-03-27T08:33:17.2554066Z VERBOSE: Exporting alias Login-AzureRmAccount.
2026-03-27T08:33:17.2554522Z VERBOSE: Exporting alias Add-AzAccount.
2026-03-27T08:33:17.2554975Z VERBOSE: Exporting alias Logout-AzAccount.
2026-03-27T08:33:17.2555423Z VERBOSE: Exporting alias Logout-AzureRmAccount.
2026-03-27T08:33:17.2555856Z VERBOSE: Exporting alias Remove-AzAccount.
2026-03-27T08:33:17.2556263Z VERBOSE: Exporting alias Save-AzProfile.
2026-03-27T08:33:17.2556685Z VERBOSE: Exporting alias Select-AzSubscription.
2026-03-27T08:33:17.2557115Z VERBOSE: Exporting alias Get-AzureRmDomain.
2026-03-27T08:33:17.2557530Z VERBOSE: Exporting alias Get-AzDomain.
2026-03-27T08:33:17.2558342Z VERBOSE: Exporting alias Invoke-AzRest.
2026-03-27T08:33:17.2558824Z VERBOSE: Importing cmdlet Add-AzEnvironment.
2026-03-27T08:33:17.2559268Z VERBOSE: Importing cmdlet Clear-AzConfig.
2026-03-27T08:33:17.2559706Z VERBOSE: Importing cmdlet Clear-AzContext.
2026-03-27T08:33:17.2560150Z VERBOSE: Importing cmdlet Clear-AzDefault.
2026-03-27T08:33:17.2560618Z VERBOSE: Importing cmdlet Connect-AzAccount.
2026-03-27T08:33:17.2561083Z VERBOSE: Importing cmdlet Disable-AzContextAutosave.
2026-03-27T08:33:17.2561588Z VERBOSE: Importing cmdlet Disable-AzDataCollection.
2026-03-27T08:33:17.2562063Z VERBOSE: Importing cmdlet Disable-AzureRmAlias.
2026-03-27T08:33:17.2562532Z VERBOSE: Importing cmdlet Disconnect-AzAccount.
2026-03-27T08:33:17.2563007Z VERBOSE: Importing cmdlet Enable-AzContextAutosave.
2026-03-27T08:33:17.2563474Z VERBOSE: Importing cmdlet Enable-AzDataCollection.
2026-03-27T08:33:17.2563937Z VERBOSE: Importing cmdlet Enable-AzureRmAlias.
2026-03-27T08:33:17.2564387Z VERBOSE: Importing cmdlet Export-AzConfig.
2026-03-27T08:33:17.2564833Z VERBOSE: Importing cmdlet Get-AzAccessToken.
2026-03-27T08:33:17.2565271Z VERBOSE: Importing cmdlet Get-AzConfig.
2026-03-27T08:33:17.2565759Z VERBOSE: Importing cmdlet Get-AzContext.
2026-03-27T08:33:17.2566260Z VERBOSE: Importing cmdlet Get-AzContextAutosaveSetting.
2026-03-27T08:33:17.2566918Z VERBOSE: Importing cmdlet Get-AzDefault.
2026-03-27T08:33:17.2567375Z VERBOSE: Importing cmdlet Get-AzEnvironment.
2026-03-27T08:33:17.2568076Z VERBOSE: Importing cmdlet Get-AzSubscription.
2026-03-27T08:33:17.2568569Z VERBOSE: Importing cmdlet Get-AzTenant.
2026-03-27T08:33:17.2569192Z VERBOSE: Importing cmdlet Import-AzConfig.
2026-03-27T08:33:17.2569651Z VERBOSE: Importing cmdlet Import-AzContext.
2026-03-27T08:33:17.2570122Z VERBOSE: Importing cmdlet Invoke-AzRestMethod.
2026-03-27T08:33:17.2570583Z VERBOSE: Importing cmdlet Open-AzSurveyLink.
2026-03-27T08:33:17.2571029Z VERBOSE: Importing cmdlet Register-AzModule.
2026-03-27T08:33:17.2571628Z VERBOSE: Importing cmdlet Remove-AzContext.
2026-03-27T08:33:17.2572083Z VERBOSE: Importing cmdlet Remove-AzEnvironment.
2026-03-27T08:33:17.2572537Z VERBOSE: Importing cmdlet Rename-AzContext.
2026-03-27T08:33:17.2572990Z VERBOSE: Importing cmdlet Resolve-AzError.
2026-03-27T08:33:17.2573361Z VERBOSE: Importing cmdlet Save-AzContext.
2026-03-27T08:33:17.2573791Z VERBOSE: Importing cmdlet Select-AzContext.
2026-03-27T08:33:17.2574185Z VERBOSE: Importing cmdlet Send-Feedback.
2026-03-27T08:33:17.2574590Z VERBOSE: Importing cmdlet Set-AzContext.
2026-03-27T08:33:17.2574994Z VERBOSE: Importing cmdlet Set-AzDefault.
2026-03-27T08:33:17.2575409Z VERBOSE: Importing cmdlet Set-AzEnvironment.
2026-03-27T08:33:17.2575822Z VERBOSE: Importing cmdlet Uninstall-AzureRm.
2026-03-27T08:33:17.2576248Z VERBOSE: Importing cmdlet Update-AzConfig.
2026-03-27T08:33:17.2576660Z VERBOSE: Importing alias Add-AzAccount.
2026-03-27T08:33:17.2577073Z VERBOSE: Importing alias Get-AzDomain.
2026-03-27T08:33:17.2577509Z VERBOSE: Importing alias Invoke-AzRest.
2026-03-27T08:33:17.2578362Z VERBOSE: Importing alias Login-AzAccount.
2026-03-27T08:33:17.2578849Z VERBOSE: Importing alias Logout-AzAccount.
2026-03-27T08:33:17.2579278Z VERBOSE: Importing alias Remove-AzAccount.
2026-03-27T08:33:17.2579687Z VERBOSE: Importing alias Save-AzProfile.
2026-03-27T08:33:17.2580073Z VERBOSE: Importing alias Select-AzSubscription.
2026-03-27T08:33:17.2580448Z VERBOSE: Importing alias Set-AzConfig.
2026-03-27T08:33:17.2580817Z ##[command]Clear-AzContext -Scope Process
2026-03-27T08:33:17.2869791Z VERBOSE: Populating RepositorySourceLocation property for module Az.
2026-03-27T08:33:17.4579760Z ##[command]Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2026-03-27T08:33:17.5152903Z VERBOSE: Using WorkloadIdentityFederation authentication scheme
2026-03-27T08:33:17.5168163Z ##[command] Connect-AzAccount -ServicePrincipal -Tenant 67a9601a-bcae-4b5d-bc95-d5eb01f91274 -ApplicationId *** -FederatedToken ***** -Environment AzureCloud -Scope Process
2026-03-27T08:33:18.5548310Z ##[command] Set-AzContext -SubscriptionId 944ab1af-d7e9-49fc-b698-26003bcd10f0 -TenantId 67a9601a-bcae-4b5d-bc95-d5eb01f91274
2026-03-27T08:33:19.3149715Z VERBOSE: Loading module from path optmicrosoftpowershell7ModulesPackageManagementPackageManagement.psm1.
2026-03-27T08:33:19.3187706Z VERBOSE: Loading module from path optmicrosoftpowershell7ModulesPackageManagementPackageManagement.psd1.
2026-03-27T08:33:19.3194376Z VERBOSE: Loading FormatsToProcess from path optmicrosoftpowershell7ModulesPackageManagementPackageManagement.format.ps1xml.
2026-03-27T08:33:19.3710430Z VERBOSE: Loading module from path optmicrosoftpowershell7ModulesPackageManagementPackageManagement.psm1.
2026-03-27T08:33:19.4102302Z VERBOSE: Loading module from path optmicrosoftpowershell7ModulesPackageManagementcoreclrnetstandard2.0Microsoft.PackageManagement.dll.
2026-03-27T08:33:19.4329141Z VERBOSE: Loading module from path optmicrosoftpowershell7ModulesPackageManagementcoreclrnetstandard2.0Microsoft.PowerShell.PackageManagement.dll.
2026-03-27T08:33:19.4451202Z VERBOSE: Importing cmdlet Find-Package.
[REDACTED "Importing cmdlet..." because log too long for issue for to validate]
2026-03-27T08:33:21.2149268Z VERBOSE: Exporting function Find-Command.
[REDACTED "Exporting function..." because log too long for issue for to validate]
2026-03-27T08:33:21.4976740Z VERBOSE: Loading module from path usrshareaz_14.6.0Az.Websites3.4.2Microsoft.Azure.PowerShell.Cmdlets.Websites.dll.
2026-03-27T08:33:21.5272146Z VERBOSE: Importing cmdlet Add-AzWebAppTrafficRouting.
[REDACTED "Importing cmdlet..." because log too long for issue for to validate]
2026-03-27T08:33:52.2529229Z ##[debug]Exit code 0 received from tool '/usr/bin/pwsh'
2026-03-27T08:33:52.2531588Z ##[debug]STDIO streams have closed for tool '/usr/bin/pwsh'
2026-03-27T08:33:52.2537796Z ##[debug]which 'pwsh'
2026-03-27T08:33:52.2544645Z ##[debug]found: '/usr/bin/pwsh'
2026-03-27T08:33:52.2545562Z ##[debug]which '/usr/bin/pwsh'
2026-03-27T08:33:52.2546201Z ##[debug]found: '/usr/bin/pwsh'
2026-03-27T08:33:52.2546772Z ##[debug]/usr/bin/pwsh arg: -NoLogo
2026-03-27T08:33:52.2547357Z ##[debug]/usr/bin/pwsh arg: -NoProfile
2026-03-27T08:33:52.2554182Z ##[debug]/usr/bin/pwsh arg: -NonInteractive
2026-03-27T08:33:52.2554845Z ##[debug]/usr/bin/pwsh arg: -ExecutionPolicy
2026-03-27T08:33:52.2555435Z ##[debug]/usr/bin/pwsh arg: Unrestricted
2026-03-27T08:33:52.2556017Z ##[debug]/usr/bin/pwsh arg: -Command
2026-03-27T08:33:52.2556714Z ##[debug]/usr/bin/pwsh arg: . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/RemoveAzContext.ps1'
2026-03-27T08:33:52.2557431Z ##[debug]exec tool: /usr/bin/pwsh
2026-03-27T08:33:52.2558697Z ##[debug]arguments:
2026-03-27T08:33:52.2559306Z ##[debug] -NoLogo
2026-03-27T08:33:52.2559870Z ##[debug] -NoProfile
2026-03-27T08:33:52.2560446Z ##[debug] -NonInteractive
2026-03-27T08:33:52.2561042Z ##[debug] -ExecutionPolicy
2026-03-27T08:33:52.2561649Z ##[debug] Unrestricted
2026-03-27T08:33:52.2562241Z ##[debug] -Command
2026-03-27T08:33:52.2562905Z ##[debug] . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/RemoveAzContext.ps1'
2026-03-27T08:33:52.2563558Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.270.1/RemoveAzContext.ps1'
2026-03-27T08:33:53.2972326Z ##[command]Disconnect-AzAccount -Scope CurrentUser -ErrorAction Stop
2026-03-27T08:33:53.3660625Z ##[command]Disconnect-AzAccount -Scope Process -ErrorAction Stop
2026-03-27T08:33:53.3696027Z ##[command]Clear-AzContext -Scope Process -ErrorAction Stop
2026-03-27T08:33:54.3122681Z
2026-03-27T08:33:54.3160708Z ##[debug]Exit code 0 received from tool '/usr/bin/pwsh'
2026-03-27T08:33:54.3163917Z ##[debug]STDIO streams have closed for tool '/usr/bin/pwsh'
2026-03-27T08:33:54.3166741Z ##[debug]Cleanup exit code: 0
2026-03-27T08:33:54.3237257Z ##[section]Finishing: Open firewall
Repro steps
steps:
- task: AzurePowerShell@5
displayName: 'Open firewall'
inputs:
ScriptType: InlineScript
Inline: |
[REDACTED]
azurePowerShellVersion: LatestVersion