- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 01:34 AM
Hello Everyone,
We are going to work on a ServiceNow integration where we are supposed to connect to a Linux Server & Execute a command. For this, i have created a vey basic, sample custom WF activity , connecting a particular hostname.
Upon Execution i am getting the below error
{
"output": null,
"errorMessages": "No credential found for types [SSH Password,SSH Private Key] with credential tag [TEST_SSH_AMAVAR_SNOW]\n",
"debugMessages": "{\"debug_info\":[{\"10.220.995.632\":{\"credentials_attempted\":[],\"connection_parameters\":{\"credential_types\":[\"SSH Password\",\"SSH Private Key\"],\"required_tag\":\"TEST_SSH_AMAVAR_SNOW\",\"target\":\"10.220.995.632\"}}}]}",
"eccSysId": "6e74860a1b1018142fdb8444cc4bcb4f",
"tags": null
}
Can anyone kindly inform what is the cause of happening of the issue ...
Solved! Go to Solution.
- Labels:
-
Orchestration (ITOM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2020 08:33 AM
Hi Tim,
Tried all the things but no luck hence raised a Hi-Ticket.
Response from Hi-Support team is if the instance is NewYork version then if we have outh2.0 credentials in the Credentials table then we will get the errors
SEVERE *** ERROR *** An error occurred while decrypting credentials from instance
com.snc.automation_common.integration.exceptions.AutomationIOException: Unable to retrieve data from instance. This MID may not be validated.
This is fixed in Orland it seems.
Inactivated the outh 2.0 credentials we have & checked then it worked perfectly fine
Thanks for your suggestions & help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 10:17 AM
Hi Krishna,
Please check this documentation https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/product/orchestration/task/set-up-cred-tags-powershell.html and see if you are tagging the required credential with "TEST_SSH_AMAVAR_SNOW". If you are updating the creddential properly the execution should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 10:55 AM
Hi Sandeep
I have to access a Linux Server for executing.a particular command hence created a SSH Custom Activity, In credentials table I have created the credential record by giving the user name & password and checked the ‘test credential . It’s working fine , after checking that have created a Connection & Credential Aliases record of type Credential & liked this to the credential record. Please see the screen shots.
Is there any wrong in this, kindly let me know the corrections.(I am very new to this ITOM module, started working on this since yesterday)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 10:51 AM
Hi,
Check this article for how you should use credential tags:
https://community.servicenow.com/community?id=community_blog&sys_id=27521d19db1c549c5129a851ca9619fa
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 10:57 AM
Hi Ashutosh,
i am looking for using credentials for SSH Custom Activity . Could you help on how to do this please.
Thanks & Regards,
Vamsi Krishna