This is a regurgitation of the official MS docs you can find here and here. Thought I’d make a post so I can refer to it myself. I made a similar post earlier for Event Hubs.
The steps are straightforward.
- Create a Managed Identity for the Azure Function.
- Give it the Storage Blob Data Owner and Storage Queue Data Contributor roles on the Storage Account.
- Change the name of the existing
AzureWebJobsStorage
configuration key toAzureWebJobsStorage__accountName
. Change the value of this to be just the storage account name (e.g.storageacct1234
). However, if your storage account isn’t using the default DNS suffix for some reason delete theAzureWebJobsStorage
configuration key instead and create these two new: