Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Discontinued tasks with "USERNAME IS NOT ASSOCIATED WITH ACCOUNTNAME" error

adriencosson
Valued Contributor
Valued Contributor

Hi folks,

For some applications connected with REST connector, WSRetryJob is running and tasks are getting completed with appropriate result on the target, but the task itself in Saviynt is getting discontinued with the error message : "USERNAME IS NOT ASSOCIATED WITH ACCOUNTNAME" error.

Has anyone encounter this and knows how it can be fixed ?

Regards,
Adrien COSSON
5 REPLIES 5

SB
Saviynt Employee
Saviynt Employee

Can you share the logs for 1 task. 


Regards,
Sahil

Sampritha_r
Saviynt Employee
Saviynt Employee

Hello @adriencosson 

Kindly share CreateAccountJson and this API response. 

 

rushikeshvartak
All-Star
All-Star

Does account is orphan account 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

adriencosson
Valued Contributor
Valued Contributor

Hi @rushikeshvartak@Sampritha_r@SB.

We found out that the issue was related to the response from API.

Indeed, when the target application does not send the accountID, we wanted to use the "accountName" in accountIdPath.

However, if the API sends a response (instead of null), this cannot be use.

The solution is either to : 

  • Have a Null response from the target and therefore "accountIdPath":"accountName" works.
  • Add a 2nd API call to get the accountID from the target application.
Regards,
Adrien COSSON

IAM_99
Regular Contributor II
Regular Contributor II

Hi @adriencosson , We do have same issue for REST app.

1.We are using "accountIdPath":"accountName" in CreateAccountJOSOn but still tasks are 'discontinued' 

Is there any thing else we can try ?

 

2. Do you have sample JSON for this

  • Add a 2nd API call to get the accountID from the target application.

Thanks