I am creating an azure function with system managed identity to be used to connect to storage account. As per documentation, the i have added the required role to storage account so that function can access the storage. Also, i have replaced AzureWebJobsStorage appsetting with AzureWebJobsStorage__accountName and have provided the storage account name. The function is working fine but I am getting a message in azure portal saying
Value of "AzureWebJobsStorage" app setting is invalid.
The strange thing is that i was not seeing this error till tomorrow and have started seeing it today only. Followed this one completely https://techcommunity.microsoft.com/t5/apps-on-azure-blog/use-managed-identity-instead-of-azurewebjobsstorage-to-connect-a/ba-p/3657606
Does anyone know if I am missing anything?
This looks like an information level log. If you will click on the banner, you see see some links and error code like below-
In our case we have set the value as storage account name whereas AzureWebJobsStorage expects connection string. AFAIK, as we are passing a different value than connection string we are getting the message.
There is also a suppress condition which says about key vault references.