Search code examples
azureazure-functionsazure-storageazure-storage-accountazure-functions-runtime

Encountered a StorageException while trying to fetch the diagnostic events


Out of nowhere started seeing this error when opened function apps, Application is working though.

Unable to retrieve diagnostics and error information for your function app. 
Encountered a StorageException while trying to fetch the diagnostic events. 
Please make sure the connection string in the app setting "AzureWebJobsStorage" has the permissions to access Azure Table Storage

Storage account network access is set to "Enabled from selected virtual networks and IP addresses". Even with this settings there was no error before.

but now the above error message is gone only when changed to "Enabled from all networks".

Recently updated functionapp to dotnet 6.0 and v4 runtime even after, there was no error. Not sure if this has anything to do with this.

How do I fix for this?


Solution

  • This was caused by a platform level alert raised by a diagnostic component, and although it had no impact on the production workloads, the verbiage wasn't clear and the level misleading. The event has been disabled and you should no longer see this come up.

    To expand, this error was reported by the control plane for the diagnostic component, which is meant to surface diagnostic events raised by production components to the portal, but not involved in any production workload flow and had no impact on the App's functionality.