Share via

Azure function for hosting long running function

Azure-learning 56 Reputation points
2022-08-30T13:44:24.62+00:00

I am using Azure function for hosting powershell function which is consuming a lot of time.

This function generally takes 60min to complete ,is there any other way we can host a long running powershell based script/function. or we can use Azure function to achieve this with some modification. What is the suggested way

I tried to create function app in premium plan. still I am getting 503 error. looks like it is related to memory.

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>Service unavailable</title></head><body><div id='content'><div id='message'><h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='errorref'><span>0ZRIOYwAAAAAKK8GyASooQ6qr/nxWMLAEQk9NMDJFREdFMDgyMAA3ZGIwYWMxYy1iNzZkLTRiYTQtYTE3NS01NTgxNTUxMTEzZDU=</span></div></div></body></html>

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,511 Reputation points
    2022-09-04T16:17:36.867+00:00

    Already provided answer for this question here : https://learn.microsoft.com/en-us/answers/questions/988258/index.html

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.