PnP Web Cast - Asynchronous operations with Office 365 using Azure WebJobs

Play PnP Web Cast - Asynchronous operations with Office 365 using Azure WebJobs
Sign in to queue


In this PnP Web Cast we concentrated on asynchronous operation pattern with Office 365 using Azure WebJobs. This is really powerful pattern for performing scheduled and on-demand operations, which is commonly needed for long lasting operations. Pattern is taking advantage of continuously running Azure WebJob model with communications using Azure storage queues. 

Web cast presenters: Vesa Juvonen, Bert Jansen

Typical use cases for asynchronous operations would be for example following:

  • Long running AppInstalled events
  • Long running remote event receiver events
  • Site collection or site provisioning
  • Long running integration scenarios for example to on-premises
  • Governance tasks towards sites and other Office 365 content

During the web cast we demonstrated the process with simplistic sample from the PnP sample gallery called Core.QueueWebJobUsage. This sample concentrates on showing the actual pattern without any additional complexity.

Notice. Key reason for using the asynchronous pattern is simply time out handling either in SharePoint or in Azure web sites. Good example of this challenge is for example site collection provisioning which you cannot execute in the process of Azure web site, since Azure web site has 60 second time out for the processes. This means that you'll need to offload the process for example to Azure WebJob. 

Presentation used in this web cast is available from

Additional resources

See following PnP videos for related material on covered topics

See following samples from the PnP sample gallery for additional reference around covered topics.

See following references for additional details around Azure WebJobs


If you have any feedback or comments related on this web cast, please use the Office 365 Developer Patterns and Practices Yammer group to provider your input. Thx for your interest advance.

Generic Episode Image



Download this episode

The Discussion

Add Your 2 Cents