question

ChrisJohannesson-5007 avatar image
0 Votes"
ChrisJohannesson-5007 asked ChrisJohannesson-5007 answered

No storage section when trying to create azure function app

Hi,

For some strange reason I can't get the Storage section in the Hosting tab when I try to create an Azure function. There simply isn't anything there. There should be a Storage section above the Operating system but I have nothing.

After the function is created and running I get a warning saying "Storage is not configured properly".

What can I do to solve this problem?

112967-function-page-1.png
112968-function-page-2.png
112988-function-page-3.png
113031-function-page-5.png
113032-function-page-6.png


azure-functionsazure-storage-accounts
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Crhis,

Can you show us the list of roles you have on the subscription?

Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/check-access

0 Votes 0 ·

Role assignments (0)
Deny assignments (0)
Classic administrators (1)
Role
Service Administrator
Description
Has full access to all resources in the subscription

0 Votes 0 ·
JaliyaUdagedara avatar image
0 Votes"
JaliyaUdagedara answered JaliyaUdagedara commented

This is because of the Azure Trial Subscription you are using.

Is the function app is working? It might work, but it won't have the full features like automatic scaling etc.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Jaliya,

Yes the function app is working as it should.

Maybe it has something to do with the Trial account that I'm using it's just that It shows that option on every single page that is documenting Azure Functions and there are no notices about that the Trial account doesn't have that section.

When you are completely new to Azure and you also get a warning that there is a problem with storage account then you get a bit confused and worried that something is wrong.

It might be a good idea for MS to mention that in their documentation it would have saved me many hours of worrying and work trying to find a solution that could have been much better used to actually learn something about Azure instead.

So thank you for your answer it's much appreciated.

Kind regards,
Chris

0 Votes 0 ·

Hi Chris,

I can completely understand! Can you kindly share the documentation you were following? I'd be more than happy to raise a GitHub issue suggesting updating the documentation.

Thanks.

Cheers,
Jaliya

0 Votes 0 ·
ChrisJohannesson-5007 avatar image
0 Votes"
ChrisJohannesson-5007 answered

Here is one of them:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-student-starter

Also all of the functions in the docs How to guide shows the same when. There is always a storage account in the Hosting section/tab.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.