xcskilab
xcskilab

Reputation: 188

Differences in behavior in Azure Function running in App Service plan and Consumption Plan. Why?

Differences in behavior in Azure Function running in App Service plan and Consumption Plan. Why?

I'm running the WkHtmlToPdf.exe as part as an Azure Function in an App Service Plan (B1). I would like to move this Azure Function to a Consumption plan, but it seems to fail.

I track down the blocking point to be the WkHtmlToPdf.exe, by using the Kudo console.

With an Azure Function in a Consumption plan, it just ends in a deadlock and never returns to the console.

Any ideas on this?

How it looks when running in a App Service Plan: Azure Function in an App Service plan

Upvotes: 0

Views: 643

Answers (1)

Fabio Cavalcante
Fabio Cavalcante

Reputation: 12538

This is caused by sandbox restrictions that do not apply to dedicated plans on Basic+ tiers.

You can find more information about the sandbox here, and this portion of the documents covers PDF generation.

Upvotes: 3

Related Questions