Closed shpengmsft closed 3 months ago
Hi @shpengmsft
How you get above log? (It looks not Azure Powershell cmdlets log.) Would you please share more information the issue template asked, so we can continue follow up the issue?
I will write a mail to you, you can share the info in mail.
BTW, the Azure DevOps pipeline AzurePowershell@5 task not owned by our team. You might need contact Azure Devops to get support on the AzurePowershell@5 task.
It's a complicated problem that involves in Azure Devops pipeline, Federated Identity, possible token cache persistance and MSAL. I'll update this issue once we've figure out the root cause.
It's a complicated problem that involves in Azure Devops pipeline, Federated Identity, possible token cache persistance and MSAL. I'll update this issue once we've figure out the root cause.
I believe so. Thanks for reaching out via internal email. Let's use that to continue the investigation.
Description
This issue happened with Azure DevOps release pipeline.
This pipeline is using AzurePowershell@5 tasks to upload/update blobs on specific storage account. (These blobs are Python wheels or indexes.)
When the pipeline is using a service connection with Federated Credentials.
In the first 3~4 minutes, all these cmdlets (Set.AzContext, Set.AzCurrentStorageAccount) work fine. After that, we observed one of these cmdlets' executions time will be longer than 2.5 hours.
Detailed repro steps. Please contact me via internal email.
Issue script & Debug output
Environment data
Module versions
Error output