0

Long story short I have a Azure Powershell script (think Storage Account creation) that I want to run from within an Azure Website - is that possible at all?

If not directly from the website, can I put it in some sort of other resource that can be called? What is the recommended way of going about this? Thank you.

2 Answers 2

1

You can run PowerShell script within an Azure Web App or Web Job (or from Kudu Console). But there are some limitations coming from the sandbox.

If you run into a specific issue with it, feel free to ask a new question that targets that issue specifically.

Sign up to request clarification or add additional context in comments.

Comments

0

Actually you can't execute a powerShell script within your Azure Website without limitations, but you can host your powershell script in an automation runbook and execute it with an http call (webhook) from your Azure Website, besides another solution would be to create the storage account using the Azure Management API.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.