Azure Function App: Test/Run with payload works on Flex Consumption but fails on Elastic Premium

Varsha Vishwakarma (AVANADE INC) 40 Reputation points Microsoft External Staff
2025-12-04T18:59:53.31+00:00

I have an Azure Function App deployed using Run From Package.

  • Hosting Plan: Elastic Premium
  • Deployment Method: ZIP package
  • App Setting: WEBSITE_RUN_FROM_PACKAGE = 1

On Flex Consumption, I can use the Test/Run feature in the Azure Portal to send a payload and validate the API without modifying files. However, on Elastic Premium, the same Test/Run action fails (or does not behave as expected).

I am getting notification in elastic premium functionapp "Your app is currently in read only mode because you are running from a package file. To make any changes update the content in your zip file and WEBSITE_RUN_FROM_PACKAGE app setting."

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

Answer accepted by question author
  1. Pravallika KV 2,690 Reputation points Microsoft External Staff Moderator
    2025-12-04T21:18:30.2166667+00:00

    Hi Varsha Vishwakarma (AVANADE INC),

    Thanks for our offline conversation, Glad your issue is resolved.

    Upon investigating further, it was identified that the issue was due to missing roles required for the Function App to run using its Managed Identity.

    Solution:

    • Go to the Storage Account => IAM => Add Role Assignment
    • Assign the following roles to the Function App's Managed Identity:
    Storage Blob Data Contributor
    Storage Queue Data Contributor
    

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.

    User's image

    If you have any other questions, let me know in the "comments" and I would be happy to help you.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.