Azure Function - Powershell version

2022-11-01T09:31:48.51+00:00

On 3 December 2022, support for PowerShell 7.0 in Azure Functions will end.
Your existing workloads and apps that are hosted on Functions will continue to run, but we'll no longer provide updates or customer service for PowerShell 7.0.
To ensure that your Functions apps are fully supported, you'll need to upgrade them to PowerShell 7.2 by that date

But I can't set the version in the Azure portal??
The option is not visible?

Function runtime settings = ~4

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

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2022-11-01T09:45:36.637+00:00

    Hi @POSTEMA Jan (ENGIE Energie Nederland NV) ,

    The PowerShell Core version of an Azure Function App can be set here:

    256042-image.png

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


  2. MayankBargali-MSFT 70,936 Reputation points Moderator
    2022-11-01T11:06:40.557+00:00

    @POSTEMA Jan (ENGIE Energie Nederland NV) Thanks for reaching out. It looks like your function worker runtime in not Powershell as the General Properties are different for different worker runtime. Please navigate to your Configuration --> Application setting --> Check the value for functions_worker_runtime

    For more details on the function worker runtime please refer to this document.

    256102-image.png

    Let me know if you have any queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

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.