Hi @John van Zalk ,
If you have enabled Managed identity on Function App and want to connect it with storage account.
After Deploying the function app, you need to add environment variables as below:
AzureWebJobsStorage__accountName---->rithtest123
AzureWebJobsStorage__blobServiceUri---->https://rithtest123.blob.core.windows.net
AzureWebJobsStorage__credential---->managedIdentity
If you want to access blobs from Storage account, you have to add
AzureWebJobsStorage__blobServiceUri---->https://rithtest123.blob.core.windows.net
for fileshare :
AzureWebJobsStorage__queueServiceUri---->https://rithtest123.queue.core.windows.net
Then give Storage Blob Contributor for accessing blobs and others for roles to perform other actions.
Then you can able to access the function app.
Why this one behaved differently so I can avoid the extra steps going forward.
No, generally Storage account created from Vs Code will use connection string as default. But since the storage is defaulted to Identity, either you can change it to connection string or use it by giving roles and changing the environment variables.
If this answer was helpful, please click "Accept the answer" and mark Yes
, as this can help other community members.
If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.