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

Request to create AD group in Bulk

krishna_sk
Regular Contributor
Regular Contributor

Hi Everyone,

Is it possible to create multiple AD groups (Bulk groups) through the following 'createrequest' API.

{{url}}/ECM/{{path}}/createrequest 

Please help us with the JSON if someone configured this in their engagement.

Thank you.

2 REPLIES 2

rushikeshvartak
All-Star
All-Star
  • You can use postman runner to create groups in bulk using api

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

krishna_sk
Regular Contributor
Regular Contributor

Thank you Rushikesh for the inputs.

We have used the following Payload with Dynamic attributes in the Body and passed the values through a .CSV file (Refer attached file) and ran the API using Collection Runner functionality in Postman.

Request Body-

krishna_sk_1-1724754754670.png

 

{
"accesstype": "roles",
"requestor": "SVC_API_ADMIN",
"displayname": "{{displayname}}",
"roletype": "ADGroup",
"entitlementtype": "memberOf",
"suffix": "{{suffix}}",
"description": "{{description}}",
"requesttype": "create",
"category": "Security",
"securitysystem": "Active Directory",
"endpoint": "Active Directory",
"domain": "DC=saviynt,DC=dev,DC=com",
"environment": "dev",
"application": "OU=TestGroup,DC=saviynt,DC=dev,DC=com",
"owner": [
{
"ownername": "{{ownername}}",
"rank": 1
}
],
"accounts": [
{
"accountname": "{{accountname}}",
"updatetype": "add"
}
]
}

Steps to run Collection Runner in Postman-

https://learning.postman.com/docs/collections/running-collections/intro-to-collection-runs/

Thank you.