<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A4hehfCQAOkta Classic EngineIntegrationsAnswered2026-02-17T09:00:23.000Z2024-04-18T22:39:38.000Z2024-04-30T17:42:16.000Z

gl7e3 (gl7e3) asked a question.

userName Update Unassigning app and then reassigning - expected behaviour?

Hi Team,

 

We are trying to use SCIM Provisioning with a third party application and running into an issue where updating the app username (set to Email) is unassigning the application and then reassigning the application. This is causing issues with the third party vender as the appuser profile loses the external id provided by the third party application.

This then causes Okta to send a create new user call to the 3rd party application rather than a user update call, the third party application is then creating a new duplicate user rather than updating the actual user.

 

The vendor to their credit is investigating a solution that involves checking the okta user id sent through SCIM on a create user call to see if it should be a user update instead but they are worried this goes against SCIM workflows.

 

Steps to recreate:

1.) Configure application to use SCIM Provisioning (create and update users - no import)

1.1) App username is set to `Email` and `Create and Update`

2.) Assign application to user

3.) Appuser profile is created, create new user call is sent to 3rd party - handled as expected

4.) Appuser profile is update with External Id from 3rd party

5.) User's email changes

6.) Appuser profile is updated

7.) User is unassigned from application

8.) User is assigned to application

9.) Appuser profile no longer has External Id

10.) Okta sends create new user call instead of update user call

11.) 3rd party application creates duplicate user account

 

Is this expected behaviour or have we misconfigured something?


  • nfmez (nfmez)

    Hello @gl7e3 (gl7e3)​ Thank you for reacting out to our Community!

     

    The behaviour you are seeing is definitely not expected behaviour. Once the user's email is changed the only call that should be done is a call update to the application and nothing else.

    From what it seems the there is definitely something miss-configured with the application.

    Please also see our doc below, maybe it will help:

    https://developer.okta.com/docs/concepts/scim/

     

    --

    Subscribe Today: The Okta Community is on YouTube

    Expand Post
    Selected as Best
  • gl7e3 (gl7e3)

    Hi @nfmez (nfmez)​ 

     

    Thanks for your response.

     

    The vendor has done a bit of investigation on their end and they are saying it's got something to do with the fact the app has both sso and scim configured and is suggesting we create two applications. One for SSO and one for SCIM.

     

    Any thoughts on that?

     

     

    Expand Post
This question is closed.
Loading
userName Update Unassigning app and then reassigning - expected behaviour?