In BizTalk, BAM applies on pipeline level and in orchestration. Here we are going to implement BAM in Orchestration through BAM API programming. For more details of BAM APIs, you can refer to https://vkbiztalk.wordpress.com/2017/07/17/bam-api/ Normally for BAM Programming below three functions are required under EventStream class. BizTalk.Bam.EventObservation.OrchestrationEventStream.BeginActivity BizTalk.Bam.EventObservation.OrchestrationEventStream.UpdateActivity BizTalk.Bam.EventObservation.OrchestrationEventStream.EndActivity If you want some more advance…