This was first noticed in an Azure DevOps pipeline using the AzurePowerShell@5 task with Az 8.0.0 and the Az.Accounts module 2.9.1,, but I was able to create a minimal repro case that occurs even on my local machine.
This error occurs with every version of Az.Accounts I've tested with between version 2.8.0 and 3.0.3. It doesn't occur with Az.Accounts 2.7.6 because the Update-AzConfig cmdlet does not exist in that version.
Some of the windows display no error, the rest display
update-azconfig : The process cannot access the file 'C:\Users\danie.Azure\PSConfig.json' because it is being used by
another process.
At line:1 char:51
Description
This was first noticed in an Azure DevOps pipeline using the
AzurePowerShell@5
task with Az 8.0.0 and the Az.Accounts module 2.9.1,, but I was able to create a minimal repro case that occurs even on my local machine.This error occurs with every version of Az.Accounts I've tested with between version 2.8.0 and 3.0.3. It doesn't occur with Az.Accounts 2.7.6 because the Update-AzConfig cmdlet does not exist in that version.
Issue script & Debug output
Some of the windows display no error, the rest display
Environment data
Module versions
Error output
No response