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

Sav role through ARS

Joon
Regular Contributor II
Regular Contributor II

Hello,

I made an request for others to grant a Sav Role(Read Admin).

The task is completed and I can see the role in "Selected" in ARS.

But, the role is actually not assigned to the user.

Can you please give me some advice to make it work? 

Joon_0-1701659761626.png

Joon_1-1701659828532.png

 

 

2 REPLIES 2

nimitdave
Saviynt Employee
Saviynt Employee

@Joon , pls check the AddAccessJSON for the connection that processed the particular task to completion. Check the REST API that is getting invoked from that JSON.

rushikeshvartak
All-Star
All-Star

Only sav role entitlement is added not actual sav role. check add access json in connection

Please find working json 

{
   "call":[
      {
         "name":"SAVRole",
         "connection":"acctAuth",
         "url":"https://dev.saviyntcloud.com/ECM/api/v5/addremoveuserfromrole",
         "httpMethod":"POST",
         "httpContentType":"application/json",
         "httpParams":"{\"username\":\"${arsTasks.accountKey.name}\",\"rolename\":\"${entitlementValue.entitlement_value}\",\"operation\":\"1\"}",
         "httpHeaders":{
            "Authorization": "${access_token}"
         },
         "successResponses": {
        "statusCode": [
          200,
          201
        ]
       }
      }
   ]
}

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