OneDrive - User disabled and re-enabled.


A user starts with a OneDrive URL like


Probably once a month, a user is disabled (leaves the company), but then is re-enabled later (returns to the company.)

It seems like sometimes, when the user is re-enabled, instead of getting their old URL back, they get provisioned a new OneDrive site:
Notice the "1" added in the URL.

What causes a person to get a new site instead of reusing their old site?  Is it a period of time?  7 days?  30 days?

2 Replies

Hi.. As far as i know this depends on the retention period you have set for orphaned onedrive for business sites.


Ideally, when you disable a user, (assuming on your local AD you change the OU membership to an OU that isnt currently syncing to o365), the change is replicated to AZURE ad and this marks the users site for deletion. 


Depending on the retention period that you have, when you recreate the user, this time the users PUID is different. It notices that it has a site that is already existing and so appends a "1" and creates a new one.


From my experience, if you delete the user, and the timer job kicks in to clean up the user profile(30 days by default), but you recreate the user before the site is deleted that is when the "1" is added.




OneDrive for a disabled used is kept by default 30 days