cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Question: I'm currently trying to write a console app that will do all my user administration stuff automatically, but am having a hard time making a post to the bulk ad end point that includes groups.
Solution: 
This is currently a limitation.  
Possible workarounds:
You can either: use POST api/v1/users
and specifiy "activeDirectory": true,

like this:
{
  "email": "[email protected]",
  "groups": [
    "5d4bfbe5bd3ef11b68180cef"
  ],
"activeDirectory": true,
    "hash": null

}
Or you can create the users using the regular /user/ad/bulk, and then go over the ID's you are getting and make a second call to PATCH  users/{id} with the groups.
Both options tested and worked.
Version history
Last update:
‎03-02-2023 08:37 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: