Send exchange mail error with Microsoft authentication

Hi People
I am using Microsoft authentication to send exchange mail . It was running well in my local but when i pushed the code to Prod Orchestrator I see the below error.

Send Exchange Mail Message: Unsupported User Type ‘Unknown’. Please see Username Password Authentication · AzureAD/microsoft-authentication-library-for-dotnet Wiki · GitHub
.

any leads?
Thanks in advance
Happy automation.

@komal.v.konduru

Manually you are able to access?

Thanks
Varun

@varunk
Yes. I can run that in my local

@komal.v.konduru

Now you want to run the bot in VM or where you are facing issue

Thanks
Varun

Yes .I am running in VMware

@komal.v.konduru

Due to some restrictions your are facing this issue
Take help from it support they will help you on this

Thanks
Varun

OKay ThankYou