-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect-AzContext throws the given key 'WriteWarning-System.EventHandler' was not present in the dictionary #21914
Comments
Thanks for reporting the issue. I'll follow up with it. |
Thank you, @isra-fel I tried to update the command to follows in function script but got following errors when trying to read KeyVault.
This is the authentication commands in profile.ps1.
I added the command to each function as it randomly throws the following errors and failed to read KeyVault. We have 16 timer trigger functions within one function app running every 5/10/15 minutes, and 3 queue trigger functions might run at same time. Follows are related configurations. |
I have same issue here.
Exception :
ScriptStackTrace : at , /home/site/wwwroot/DeployOrchestrator/run.ps1: line 13 |
Findings / questions
|
RCA in #26624 |
Description
I have following command for connect Azure with user assigned managed identity in Azure Functions (we have 18 functions running at same time). But got exceptions in some invocations.
Connect-AzAccount -Identity -AccountId $ENV:AZURE_CLIENT_ID
Script or Debug output
Environment data
No response
Module versions
No response
Error output
No response
The text was updated successfully, but these errors were encountered: