Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access Azure Storage "(Classic)" from an Azure Function

When accessing Azure storage from inside the function "Integrations" tab, it appears that it is only possible to link to a "new" storage account not a storage account that it listed as "(Classic)".

I have verified that the "(Classic)" storage account I want to connect with IS in the same region as the Azure App Service and Function that I am working with so it should appear but it does not.

How do I connect a function to a "(Classic)" Azure Storage account?

like image 292
mwatts42 Avatar asked May 21 '16 15:05

mwatts42


1 Answers

The UI storage picker does not show Classic accounts. However, you could achieve the same manually:

  • create a new App Setting in your Web App pointing to the connection string to your Classic account
  • In the Integrate tab, go to raw view and set "connection": "YOURCONNECTIONNAME" in the binding.
like image 123
David Ebbo Avatar answered Jan 02 '23 01:01

David Ebbo