@YutongTie-5848
Apologies for the delay. The have provided the solution in the following link where I had originally posted the question.
- The HandOffMiddleware gets invoked after upgrading the Microsoft.Bot.Builder and related packages to Version 4.10.3
- Click here for the solution