This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Question - Provisioning Engine and Azure Functions Best Practice #102
Labels
area: provisioning ⚙
Provisioning engine issue or pull request
question
Further information is requested
Hi
I was wondering if you had any resources you could point to which outline best practices and configurations for using the PnP Provisioning engine with Azure Function Apps?
I have came across a problem where depending on the complexity of the provisioning template being applied it can take up to 10 minutes. There is a built in time out for Azure Functions of 230 seconds if the function has not returned any data. (There are many posts that cover this including Azure/Azure-Functions#1053 ). This timeout is different than the Azure Function timeout limit and can not be changed or avoided.
When using the inbuilt Azure function test tools in the browser you will see the function being run a second time while the first thread is still running. If you use Postman, you will get a 500 error but checking the Azure function logs you see that the function itself is still executing.
Are there any recommendations around using Azure Durable Functions or Storage queues to avoid this timeout? Also, are there any configuration best practices for the Azure Function App itself for concurrency or performance?
Thanks
Simon
The text was updated successfully, but these errors were encountered: