Issue Summary
Deleting a user from Identity Providers does not deactivate the user in the Atlassian directory and the SCIM data is orphaned for the user.
Steps to Reproduce
- Sync a user from your IdP to the Atlassian directory via user provisioning.
- Delete the user directly in your IdP directory and not from the Atlassian Cloud application.
- This will remove the user assignment from the application and the IdP directory
- The next provisioning does not deactivate the account at Atlassian Cloud; The user stays active in Atlassian and the SCIM data is orphaned.
Expected Results
The user should get deactivated over the next provisioning cycle.
Actual Results
The IdP never sends further updates about the user to Atlassian Cloud, causing a desync. The Atlassian Accounts get locked in an orphaned state since the user still belongs to the provisioning scope and their Atlassian Account does not deactivate.
Workaround
- Recreate the user on your IdP, add the user to the provisioning scope, and wait for it to be provisioned. Deactivate the account at the IdP and wait for this to be synced. Then delete the account from the IdP
- Use User provisioning REST APIs to delete the orphaned provisioning record. Reach Atlassian Support in case help is required
- Run manual provision on-demand after deleting the user from AD. This will deactivate the user in the Atlassian directory
- Delete the current SCIM user provisioning configuration from Atlassian, this will allow you to locally manage accounts on Atlassian AdminHub admin.atlassian.com, reconnect after the necessary adjustments are made
Pinned by
Andre Borzzatto
Thank you all for voting and sharing your comments in this bug report.
We have identified that the issue was fixed in Microsoft side, causing the functionality to work now in Atlassian.
If you are still facing similar issues, please do open a ticket with Atlassian support so we can guide you through any configuration problems that might be causing this issue in your end.
Have a good one everybody!