I would like to receive the externalId of a group in my custom app integration with SCIM. When I am trying to add this id to the group attributes I get the following error:
Property name externalId is reserved for use by external directory groups.
I have added the group via Directory → Groups → Add Group.
While debugging I do get some information like the displayName and description when pushing the groups. However I do not get the externalId.
Am I using the wrong group or what actions should I take to get this to work?
Thanks in advance!
Which externalId are you trying to receive and where/how: the external Id for the group on the SCIM server, or an external Id for a group from the directory it was imported from (e.g. AD, Workday, Google, etc)?
Thank you very much for your reply.
I am trying to receive the external Id for the group on the SCIM server. The group was not imported from an external source.
The ID for the group on the SCIM server will be used by Okta to make update requests, but if Okta doesn’t know the group id on the SCIM side yet, we’ll attempt to create one.
Thank you for your reply again.
We’ve taken some time to further debug the issue.
In the body we expect to receive the externalId of the group but while debugging the request, this externalId is not present:
In Azure externalId gets mapped by default to “objectid” and can even be changed:
In Okta we get an error when trying to define it for te group that it’s a reserved field:
While the externalId is send with a new user it’s not send with a new group in the request body.
At last, should we have import groups action enabled for this to work on the SCIM connection tab in our scim app integration?
When trying to check the “Import Groups” checkbox and saving, we get a “Bad request” error. I can not find any helpful information in the logs apart from the following:
Changes to the Group push mapping for the group Test group could not take effect due to error: Error while creating user group Test group: Bad Request.
Even when having no groups we are not able to save the “Import groups” setting.
Thank you for your time.