Share via

When I try to create a function app, the Hosting tab is missing

Andy Tuke 0 Reputation points
2024-08-15T11:59:14.1833333+00:00

I have a free basic subscription.

I am trying to create a function app for learning PnP Provisioning Engine. When I try to create the Function App, all the online guides say there should be a tab for Hosting where I need to select my Storage Account (or create a new one) looking like this

User's image

When I do it that tab is missing like this

User's image

If I do the same on a MSDN subscription then its there fine. I cant find anything online saying I need a special type of subscription to see this. If I create one without it then it won't let me upload my .pfx certificate which I am thinking is because there's no storage account connected to load it into

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
    2026-05-04T17:59:06.48+00:00

    Hello !

    Thank you for posting on MS Learn Q&A.

    The missing hosting tab is most likely an issue with the portal not proof that no storage account is attached but the current Function App creation flow uses a different layout and there are defaults in the remaining tabs including creating a storage account on the storage tab for consumption apps. A function app still requires a storage account to run.

    After creating the function app, check function app then settings then environment variables then configuration

    AzureWebJobsStorage
    WEBSITE_CONTENTAZUREFILECONNECTIONSTRING
    WEBSITE_CONTENTSHARE
    

    If those exist, the function app is connected to storage.

    The .pfx certificate issue is probably separate. Uploading or mporting private certificates through App Service requires the app App Service plan to be basic, standard, premium or isolated and a consumption function app does not use those dedicated app service tiers, so the certificate upload option may be unavailable or limited.

    For your case, you can use one of these options:

    • create the Function App on a Basic B1 App Service Plan or Premium Functions plan, then upload the .pfx
    • store the certificate in Azure Key Vault and load it from the function code using Managed Identity
    • for learning only, include the .pfx in the deployed function package but this is not recommended for production.
    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.