azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Getting "Value of "AzureWebJobsStorage" app setting is invalid." banner while using managed identity

Open ikhtesam opened this issue 1 year ago • 8 comments

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.

ikhtesam avatar Mar 18 '24 12:03 ikhtesam

@ikhtesam Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT avatar Mar 18 '24 16:03 Naveenommi-MSFT

Thanks @ikhtesam, I am running into the exact same error message using a managed identity.

Nerdykidtech avatar Mar 22 '24 19:03 Nerdykidtech

Same issue here on a Windows Function App slot.

Massively frustrating when the function doesn't work as directly documented by MS!

tracetechnical avatar Mar 25 '24 17:03 tracetechnical

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

scrocquesel-ml150 avatar Mar 27 '24 17:03 scrocquesel-ml150

I am also running into the same error message when using managed identity for 'AzureWebJobsStorage'.

Renyx1219 avatar Apr 04 '24 23:04 Renyx1219

Same error here too. I'm using AzureWebJobsStorage__accountName and MI.

kemmis avatar Apr 10 '24 21:04 kemmis