Home > Net >  Azure Function App create cannot select existing storage account
Azure Function App create cannot select existing storage account

Time:11-17

I have always to create a new storage account (same resource group) when I create a function app.

The system either proposes a name or I can enter my own and but no way can I enter an already existing storage account. Of course, if I want to create a new one with the same name it does not allow it as it already exists.

Why's that? What setting determines this?

The existing storage account is "StorageV2 (general purpose v2)" and the newly created one for the func app is "Storage (general purpose v1)"

So I'd thought perhaps this is the reason but I created a new func app and again it did not let me again choose an existing storage account (for example the storage account created for the first func app) so I would have had to create a new one.

Is this by design?

CodePudding user response:

Yes, at present, by design, during creation of the Function app via Azure Portal, you cannot change the storage account, though the portal UI seems to indicate you can link to one of the existing and compatible storage accounts. After the function app gets created, you can change it using the method described in this post.

  • Related