Powershell failure on Midserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 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