azure-docs
azure-docs copied to clipboard
Getting "Value of "AzureWebJobsStorage" app setting is invalid." banner while using managed identity
I have done the set up as given in this https://techcommunity.microsoft.com/t5/apps-on-azure-blog/use-managed-identity-instead-of-azurewebjobsstorage-to-connect-a/ba-p/3657606 and my function works perfectly but I still see Value of "AzureWebJobsStorage" app setting is invalid. in the Overview blade of function app.
In the case of system assigned managed identity we use AzureWebJobsStorage__accountName: <storageAccountName> instead of AzureWebJobsStorage: <storage accounts connection string>. When I navigated to the error code(AZFD0002) page, I can see some description about the banner and suppress condition too but its only given for connection string and key vault references, there is no information about managed identity. I believe I am getting the message because I am using storage account name instead of connection string. It would be helpful if the error code page should have some information about managed identity condition too.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 347733dc-a274-7153-050f-684d42852b9f
- Version Independent ID: 7a88cfe4-322e-65b5-5c6d-edd6d31e6a20
- Content: AZFD0002: Value of AzureWebJobsStorage app setting is invalid. - Azure Functions
- Content Source: articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0002.md
- Service: azure-functions
- GitHub Login: @soninaren
- Microsoft Alias: nasoni
@ikhtesam Thanks for your feedback! We will investigate and update as appropriate.
Thanks @ikhtesam, I am running into the exact same error message using a managed identity.
Same issue here on a Windows Function App slot.
Massively frustrating when the function doesn't work as directly documented by MS!
Exact same issue with the following tutorial https://learn.microsoft.com/en-us/azure/azure-functions/functions-identity-based-connections-tutorial (Dedicated plan / Linux) I removed the non necessary WEBSITE_CONTENTAZUREFILECONNECTIONSTRING
I am also running into the same error message when using managed identity for 'AzureWebJobsStorage'.
Same error here too. I'm using AzureWebJobsStorage__accountName and MI.