Error while sending emails 0365 , Graph API and powershell script : The underlying connection was closed: An unexpected error occurred on a send

R

RavinderOU

Hi Team, We have powershell script which uses 0365 and MS Graph API to send emails. The script works from my local system and server 1 but the script is failing from one of the DMZ server. We further added logging to trace error in the script and got below errors : 2024-08-01 01:30:24 - Network connection test to Microsoft Graph API endpoint succeeded. 2024-08-01 01:30:24 - Error: The underlying connection was closed: An unexpected error occurred on a send. Based on discussions with internal network team , we can see the below error in firewall logs (tcp-rst-from-client) but as per them noth

Continue reading...
 
Back
Top Bottom