Description
We are trying to create user account using SCIM Create User API. The API was able to create user account but does not set the user group passed in the payload. It always sets the user group to the default group configured for the account. Can you confirm if this is a known issue and if a fix is targeted for future?
Error
Which App Type (OAuth / Chatbot / JWT / Webhook)?
It is a Server side APP using JWT
Which Endpoint/s?
How To Reproduce (If applicable)
Steps to reproduce the behavior:
Request body -
userPayload = {
“schemas”:[“urn:ietf:params:scim:schemas:core:2.0:User”],
“userName”:str(user_payload[‘email’]),
“userType”:str(user_payload[‘type’]),
“name”:{
“givenName”:str(user_payload[‘first_name’]),
“familyName”:str(user_payload[‘last_name’])
},
“groups”:[
{
“display”:str(user_payload[‘user_group’]),
“type”:“direct”,
“primary”:True
}
],
“title”:str(user_payload[‘job_title’]),
“locale”:str(user_payload[‘location’]),
“urn:ietf:params:scim:schemas:extension:enterprise:2.0:User”:{
“department”:str(user_payload[‘dept’]),
“organization”:str(user_payload[‘company’])
},
“urn:us:zoom:scim:schemas:extension:1.0:ZoomUser”:{
“loginType”:{
“workEmail”:False,
“sso”:True
}
}}
user_group reflected as part of groups is not reflected in the user account that was created.
Screenshots (If applicable)
Additional context
Add any other context about the problem here.