Functions not getting deployed in the Premium App Service Plan

Csaba Gura 45 Reputation points
2024-02-02T17:24:02.9633333+00:00

Hello!

We have detected an issue what we can't solve. We have a python based repository which holds function applications. This was deployed to our Azure with Consumption Plan with Linux. This was working without any issues. However we would like to upgrade from Consumption Plan to Premium App Service Plan. I have done that. deleted the old function app with the App Service, created the new one with EP1 SKU and deployed the Function App with Python on it. I have configured the GitHub CI/CD (which worked with the consumption plan) to update the Publish Profile, ran the Action, it stated it deployed it without any issues, however in Azure we are unable to see the Functions inside the Function App. We just get the "Create functions in your preferred environment" screen and the Runtime version changed to "---".

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,559 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,475 questions
{count} vote

Accepted answer
  1. Mike Urnun 9,856 Reputation points Microsoft Employee
    2024-03-01T02:36:12.65+00:00

    Hello @Csaba Gura - I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

    Issue:

    You had a Python Functions App that ran on and deployed successfully to a Linux-based Consumption plan. Upon upgrading to a Premium plan (EP1 SKU) and configuring Github Actions for CI/CD deployment (which went without any issues), your Functions appeared missing in Portal, and you only saw the "Create functions in your preferred environment" screen.

    Solution:

    After troubleshooting with support team, we pinpointed out that the issue was a python package within the requirements.txt file. Asyncio was the issue, after removing it from the requirements.txt (support told me it is installed my deafult on the elastic premium plan) and deploying the code, the functions appeared in the portal. According to support different python packages are supported in the Consumption Plan and in the Elastic Premium Plan.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 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.


    Comments have been turned off. Learn more

Your answer

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