SOLVED

PowerShell in Azure Functions not available anymore?

%3CLINGO-SUB%20id%3D%22lingo-sub-276114%22%20slang%3D%22en-US%22%3EPowerShell%20in%20Azure%20Functions%20not%20available%20anymore%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-276114%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Elast%20time%20i%20worked%20with%20azure%20functions%2C%20i%20was%20able%20to%20create%20a%20function%20using%20%22Webhook%20%2B%20API%22%20and%20select%20PowerShell%20by%20%22create%20your%20own%20custom%20function%22%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20342px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57882iDEF474705AF0D07D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22AzureFunctions.png%22%20title%3D%22AzureFunctions.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EToday%20i%20wanted%20to%20create%20another%20function%20based%20on%20PowerShell%20but%20it%20is%20not%20possible%20anymore%20or%20i%20am%20not%20able%20to%20find%20it...%20Any%20explanations%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EMarvin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-276114%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-276133%22%20slang%3D%22en-US%22%3ERe%3A%20PowerShell%20in%20Azure%20Functions%20not%20available%20anymore%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-276133%22%20slang%3D%22en-US%22%3E%3CP%3EFigured%20it%20out%20by%20myself%3A%3CBR%20%2F%3EI%20had%20to%20change%20the%20runtime%20version%20for%20the%20function%20in%20the%20function%20settings%20from%20~2%20to%20~1%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20272px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57890i61789FFDE6307FC8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22AzureFunctions_RuntimeVersion.png%22%20title%3D%22AzureFunctions_RuntimeVersion.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hey everyone,

 

last time i worked with azure functions, i was able to create a function using "Webhook + API" and select PowerShell by "create your own custom function":

AzureFunctions.png

Today i wanted to create another function based on PowerShell but it is not possible anymore or i am not able to find it... Any explanations?

 

Best regards

Marvin

1 Reply
Best Response confirmed by Marvin Bangert (New Contributor)
Solution

Figured it out by myself:
I had to change the runtime version for the function in the function settings from ~2 to ~1:
AzureFunctions_RuntimeVersion.png