Share via

Azure Functionapp update problem

Volodymyr Krasulia 5 Reputation points
2023-06-07T08:10:18.7933333+00:00

Sometimes when I trying to run:

az functionapp update --name <name> --resource-group <res-group> --subscription <subs> --set httpsOnly=true

I got: ERROR: Operation returned an invalid status 'Conflict',

If using '--plan', a consumption plan may be unable to migrate to a given premium plan. But I have only Consumption plan and do not want to change it. But after an additional attempt to run this command - everything works fine. Could you please help to understand the main reason of this issue?

Azure Functions
Azure Functions

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


1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,251 Reputation points Microsoft Employee Moderator
    2023-06-07T11:33:42.29+00:00

    @Volodymyr Krasulia Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    I have tested the above shared cmdlet in our environment and without passing the --plan I am able to set the httpsOnly property of function app without any issues.

    It is hard to determine why you are landing up in conflict error when trying to update/set/change the settings of the function App. I would suggest you check the activity logs of the function app/resource group to know more why the conflict error occurs.

    In general, conflict error occurs when the function app is in busy state, or the earlier operation is still in progress and not able to perform this operation.

    Refer to this documentation for more information about common deployment errors.

    Feel free to reach back to me if you have any further questions on this.

    Was this answer helpful?

    0 comments No comments

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.