AD connection alias unable to connect to MID Server to use AD Spokes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 03:31 AM
Hi,
I get the following error when testing the 'Add user to group' action from the AD spoke application: (Note I have removed the service account details below)
IPaaSActionProbe | PowerShell script execution failed. Script returned status 1 using account user ''.
Failed while executing DanaherActionAddUserToADGroup.ps1 (Access denied)PowerShell script execution failed. Script returned status 1 using account user ''.
I've logged into the MID server using that service account and run the script manually, with a few amendments to allow me to run it without passing in the group and user from the flow, which has successfully added the user to the group.
Run as is set to System user.
I have tested the credentials and confirmed I get back 'Credential validated'.
The connection and credential alias is connected to the successfully validated credential.
I've also confirmed that I sent other commands to MID server without using the credential alias.
All of the above suggests to me it's an issue with the credential alias/credentials but as they are validated successfully I'm not clear on what might be causing the issue.
Anyone come across this before and found a fix?
Steven