Closed v-bafa closed 11 months ago
Added following command to force install the missing module, but still got same error.
Install-Module -Name Microsoft.Identity.Client -RequiredVersion 4.49.1.0 -Force
Turned out this was due to https://github.com/Azure/azure-functions-powershell-worker/issues/1010
Hello @v-bafa -- Please refer to issue https://github.com/Azure/azure-functions-powershell-worker/issues/1010 in the PowerShell language worker. Closing this issue.
Description
My PowerShell Azure Function started to fail with the exception below at Connect-AzAccount with SPN from 10/10/2023.
Repro code block
Ran
[System.AppDomain]::CurrentDomain.GetAssemblies()
and following are the output.Issue script & Debug output
Environment data
Module versions
Error output