Powershell failure on Midserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
I have custom powershell script in place which fetches the data from our active directory and syncs the table on weekly basis.
We have not made any changes in the script/credential/connections and yet the script failed with the issue
'Either the target name is incorrect or the server has rejected the client credentials.'.
I have verified the credentials by running a powershell command on the server and it works fine.
The only change that is recently done is that the AD domain controller was earlier on prem and now has moved on cloud.
Can anyone of you please suggest what could be the issue. Within the powershell, I accessing AD objects through ADObject. I am unable to find anything in ECC queue as well.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @Rachael12 ,
Have you checked with your network/security team?
It seems to me to be a firewall blocking. We also moved from on-prem to cloud and faced random issues.
Also, have you considered using LDAP to import the data from AD?