Azure Web Job and PowerShell Module

Eric Kyaw 26 Reputation points

Hi All,

Is it possible to install PowerShell module in Azure Web Job? because I need to implement a console application which will host in the Azure Web Job will use PowerShell command for Power Apps ( to extract the Power Apps information.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,224 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 17,136 Reputation points

    Hi @Eric Kyaw ,

    Thanks for your patience.

    Based on this response from the engineering team and due to the current sandbox security restriction imposed on Azure Web sites/web job, running Azure PowerShell command in Azure Web Job is currently not supported. The product group is aware of this limitation and working to address this, there is no ETA we can share at this point. You can track the work on this repo.

    We apologize for any frustration this limitation may cause. You may try looking into PowerShell runbook in Azure Automation to see if it fits your scenario. PowerShell runbooks are based on Windows PowerShell. You directly edit the code of the runbook using the text editor in the Azure portal. Please see this tutorial for more information on PowerShell runbook.

    Hope that helps. Let us know if you have further questions



0 additional answers

Sort by: Most helpful