After successfully authenticating the user with Bot.Builder.Community.Middleware.AzureAdAuthentication middleware, the AuthController tries to send a proactive message using this line:
connectorClient.Conversations.SendToConversation(proactiveMessage);
The above line is throwing an exception Microsoft.Bot.Schema.ErrorResponseException with message
Operation returned an invalid status code 'Unauthorized'
After successfully authenticating the user with
Bot.Builder.Community.Middleware.AzureAdAuthenticationmiddleware, theAuthControllertries to send a proactive message using this line:The above line is throwing an exception
Microsoft.Bot.Schema.ErrorResponseExceptionwith message