question

EricKyaw-6265 avatar image
0 Votes"
EricKyaw-6265 asked ·

Azure Web Job and PowerShell Module

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 (https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell) to extract the Power Apps information.

azure-webapps-webjobs
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered ·

Hi @EricKyaw-6265,

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

Best,

Grace


· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @EricKyaw-6265, just checking to see if the above solution answered your question.

0 Votes 0 · ·

Yes, thanks for the information.

1 Vote 1 · ·