Deleted one org in our cluster and its user as well, i m creating same org again with same usernames

deleted one org in our cluster and its user as well, i m creating same org again with same usernames, i am getting error username already exists
10 Replies
Justin Mathew
Justin MathewOP3mo ago
Anwser: Yes it does take time cc: @Swarnika for more clarification
rohitkanchan
rohitkanchan3mo ago
How long? I am still not able to add user which i deleted before @shikharTS can you please help with this I logged support ticket after not getting sufficient traction here for my query
shikharTS
shikharTS3mo ago
I think it is marked for deletion. It takes sometime to get deleted. Here is what is found internally The default period of cleanup is 24 hours and can be configured with this command: tscli --adv service add-javaopt tomcat.tomcat D orion.orgsConfiguration.orgsCleanUpCronExpression "0 0 * * *" Also, the cleanup job will be triggered after 1 week of Org Deletion by customer. This buffer time is kept to enable a restore in case the customer asks for it. The buffer is also configurable via this command: tscli --adv service add-javaopt tomcat.tomcat D orion.orgsConfiguration.retainOrgContentSec 604800 You can get the flags changed through the support ticket to whatever value you need.
rohitkanchan
rohitkanchan3mo ago
So if i need to revert an org, by creating a support ticket is that can be reverted? Without affecting other existing orgs?
shikharTS
shikharTS3mo ago
yes. but that ask should be withing 1 week of org deletion
rohitkanchan
rohitkanchan3mo ago
And user part of that org would be back too as well? Yeah it is with in week still I logged ticket yesterday for user creation, i updated ticket to revert back the org if everything can be reverted
shikharTS
shikharTS3mo ago
I think so. The support should be able to help you with this..
rohitkanchan
rohitkanchan3mo ago
Support is very slow , hardly responsive
shikharTS
shikharTS3mo ago
You can try intercom which is chat support on your TS cluster to get help on this? That should be more responsive..
Kendall Thrapp
Kendall Thrapp2mo ago
Just wanted to chime in to say I hit the same issue last month, but I found that if I separately deleted the user before deleting the org, I wouldn't have any issue creating the user again in the new org. Updated our process to be to always remove all org users before removing an org.

Did you find this page helpful?