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

How to complete create entitlement task in Saviynt from Saviynt APIs

narendranegi
New Contributor II
New Contributor II

Hi,

I am trying to complete AADs' create entitlement task from Saviynt rest API.

I can complete the task from Saviynt API but entitlement is not getting created inside. so far what i have is in the screenshot below:

 

narendranegi_0-1702565143604.png

can any please tell me what is missing here?

Regards

Narendra Negi

11 REPLIES 11

Rajesh-R
Saviynt Employee
Saviynt Employee

@narendranegi  - You have to use the following API - {{url}}/ECM/{{path}}/completetask

Refer: https://documenter.getpostman.com/view/23973797/2s9YXce5Yd#c113cc22-a8be-4305-8659-7429b6bda4a7

you need to pass "provisioning=true" as a parameter for the task to trigger provisioning. 

updateTask will only complete the task in saviynt and does not push the update to the target.


Thanks
Rajesh Ramalingam
Saviynt India

narendranegi
New Contributor II
New Contributor II

Hi,

I have tried that as well:

narendranegi_0-1702632837589.png

but no luck. I am only look for create entitlement task completion and as a result it should create related entitlement in the endpoint.

let me know what else can be tried.

Regards

Does automated provisioning is enabled under security system 


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

Yes, It is enabled.

Thing is If I complete the task normally (from provisioning JOB) it works and it creates entitlement. but not when I complete the task from API.

Regards

Rajesh-R
Saviynt Employee
Saviynt Employee

@narendranegi  you are using updateTask API. Please use {{url}}/ECM/{{path}}/completetask API.

Both are different.


Thanks
Rajesh Ramalingam
Saviynt India

Yes, I tried that too. First, I update task to add provisioning meta-data followed by complete tasks.

Regards

rushikeshvartak_0-1702881017332.png

rushikeshvartak_1-1702881027429.png

 


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

Did this action create the entitlement?

regards

Yes


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

I tried below steps:
Step 1. 

narendranegi_0-1702886848376.png

Step 2 

narendranegi_1-1702886864216.png

Result:

narendranegi_2-1702887109123.png

Entitlement not created:

narendranegi_3-1702887202100.png

can you please try with AAD entitlement?

Configuration we have on our side:

narendranegi_4-1702887359030.png

 

 

 

My Entitlement type was AADGroup. Please check if role is created or not


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