Access Denided. Script returned status 3 using account user null . MID Server AD

GayanU
Tera Contributor

HI Experts,

 

I'm facing an issue while connecting Exchange Online through MID server script.

Currently, AD activities are working ON-PREM, and there were no errors connecting to AD and doing the activities.

But when I tried to connect to Exchange Online, I got the error. We have defined a service user account to connect ExchangeOnline.

This script work in the Server powershell but we have tried using MID server script in workflow but didn't work and got error

 

the error as "Failed to access target system. Please check credentials and firewall settings on the target system ensure accessibility: the RPC server is unavailable......... "

 

The MID server credentials are working, and it can do the on-prem AD activities.

 

0 REPLIES 0