When the function application is launched, the host takes care of automatically receiving / polling new events in all of our various types of triggers (queues, event hubs, drops, etc.). However, some differences arise based on the level at which you work.
In our dynamic SKU s, we have a service external to the functional application, which is responsible for monitoring work and ensures that the Function application will work when it should be. When there is no work to do (for example, no queue messages, new drops, etc.), the Function application goes into sleep mode. Responsibility for external service is responsible for waking up when work begins.
I am our Classic SKU s (Basic / Standard), this external monitor is missing from the image. The Function application must run in Always On mode to save it. This parameter should be automatically set to "On." For you, when you create the Function app in the classic level.
Given all this background, if you work in Dynamic SKU, things should "just work." If this is not the case, please report the error here . If you are working in a classic SKU, make sure that you have Always On enabled. This is a common problem that people face.
source share