Since i have upgraded mu automation from TargetFramwork (windows - legacy) to (Windows) i have problems with Send E-Mail with the unattended robot. I receive the following error:
Microsoft.Graph.ServiceException: Code: generalException
Message: An error occurred sending the request.
—> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (login.microsoftonline.com:443) —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.
I use the muipath.microsoftoffice365.activities 2.0.1 package.
I have checked all my settings but i can’t find the solution for this. When i use the automation with the TargetFramework (windows - Lecagy) everything work fine.