Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Saviynt API - Update Account - UserGroup not found

adriencosson
Valued Contributor
Valued Contributor

Hi folks,

We have the need to load data on accounts in Saviynt for Access Request purpose.

Among these attributes, we must populate a precalculated value on usergroup.

We are doing this mass load using a CSV runs with Saviynt API /updateaccount

When trying to send the below JSON with usergroup, the response is sending an error, telling that the specified usergroup is not found :

{
    "securitysystem": "C00CLNT100",
    "endpoint": "C00CLNT100",
    "name": "USER12345",
    "customproperty8":"ALL",
    "usergroup":"MYUSERGROUP"
}

Response : 

adriencosson_0-1716367106083.png

Has anyone encountered this issue before ? How do we allow values of usergroup to be populated from API ?

Thanks !

Regards,
Adrien COSSON
5 REPLIES 5

pmahalle
All-Star
All-Star

Hi @adriencosson ,

You want to set usergroup as owner for account here using API or just wanted to push usergroup in one of customproperty of the account?


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

PremMahadikar
All-Star
All-Star

Hi @adriencosson ,

Its working fine for me!

PremMahadikar_0-1716371979720.png

  • If you are calling from custom sav role user, please check once from Admin sav role user

 

adriencosson
Valued Contributor
Valued Contributor

Hi @PremMahadikar / @pmahalle ,

I want to populate the usergroup attribute in the associated account in Saviynt.

Effectively, I have provided ROLE_ADMIN to the identity used when calling APIs.

Seems it is not related to SAV Role then.

We might need to look into either Global Configuration or files

Regards,
Adrien COSSON

I also got same error.

rushikeshvartak_0-1716436789806.png

rushikeshvartak_1-1716436799797.png

 

@adriencosson  This is defect in API>

API is validating that saviynt user group exists then only it updates acocunt

rushikeshvartak_2-1716437122039.png

rushikeshvartak_3-1716437155250.png

 

rushikeshvartak_4-1716437186772.png

 

Please raise support ticket for same. User group validation should be removed. as in case of sap based application this group will never created in saviynt.

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

adriencosson
Valued Contributor
Valued Contributor

Oh so it means adding that "usergroup" attribute on the account attribute requires (as of now) needs the creation of the same User Group in the identity Repository.

Thanks for the heads up, will open a ticket for the same.
Would not have been able to find this without you guys.

Thanks !

Regards,
Adrien COSSON