System.AggregateException: 'Failed to acquire token for client credentials. (Parameters: Connection String: RunAs=App;AppId=bc107559-ff62-4f67-8dd4-0dce6a0fe426, Resource: https://api.botframework.com, Authority: . Exception Message: Tried to get token using Managed Service Identity. Unable to connect to the Instance Metadata Service (IMDS). Skipping request to the Managed Service Identity (MSI) token endpoint.)'
Inner Exception : AzureServiceTokenProviderException: Parameters: Connection String: RunAs=App;AppId=bc107559-ff62-4f67-8dd4-0dce6a0fe426, Resource: https://api.botframework.com, Authority: . Exception Message: Tried to get token using Managed Service Identity. Unable to connect to the Instance Metadata Service (IMDS). Skipping request to the Managed Service Identity (MSI) token endpoint.
The above Exception is throw when trying to send message to user or getting user details for ex:
var messageText ="What can I help you with today?\nSay something like \"Book a flight from Paris to Berlin on March 22, 2020\"";
var promptMessage = MessageFactory.Text(messageText, messageText, InputHints.ExpectingInput);
return await stepContext.PromptAsync(nameof(TextPrompt), new PromptOptions { Prompt = promptMessage }, cancellationToken);
The exception is thrown in the 3rd line that is when trying to send the user a prompt message
