An Azure service that provides an event-driven serverless compute platform.
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.