Forum Discussion
Aravind Ganesan
Sep 02, 2018Copper Contributor
OneDrive restored site scope
In one of our SPO Tenant, we had a request to restore the deleted Onedrive account of a deleted User and grand Admin permission to the account for an existing user. We restored using the commands in ...
Aravind Ganesan
Sep 03, 2018Copper Contributor
Hi David,
Thanks for the reply.
We don't want the user's profile/account to be restored, as user is not a part of the organization. We would like to know how long the Restored OneDrive Site Collection exist.
Thanks for the reply.
We don't want the user's profile/account to be restored, as user is not a part of the organization. We would like to know how long the Restored OneDrive Site Collection exist.
davidpetree1
Sep 04, 2018Iron Contributor
Oh, then by default,
Once a user is deleted, then the users "Onedrive" is marked for deletion. Default is 30days. So, depending on when you deleted the user, you have 30 days to get in there and get all the users data out of that users Onedrive library.
Now, you are saying, you have used PowerShell to restore that users site, and you assigned a different Site Collection Admin to that site collection. Are you want to know how long this site collection will stay there?
As you might already know, once you restore a users, the users OneDrive will restore, but you are saying that you did not restore the user, you used PowerShell to just restore the site collection.
Why dont you just restore it, then move the files out of it, put it in SharePoint or something and then you don't have to worry about that other users Restored Site Collection.
But, I would think, once you restore the site collection, and you have assigned a new site collection admin to it, then it will stay , as long as that new Site Collection Admin is active.
I just think there are easier ways to do what your trying to do. Since the only files in the users OneDrive should of been the users own Personal files, you could just move them to a new SharePoint library and not worry about the restored site collection
But yea, I think that answers your question
Once a user is deleted, then the users "Onedrive" is marked for deletion. Default is 30days. So, depending on when you deleted the user, you have 30 days to get in there and get all the users data out of that users Onedrive library.
Now, you are saying, you have used PowerShell to restore that users site, and you assigned a different Site Collection Admin to that site collection. Are you want to know how long this site collection will stay there?
As you might already know, once you restore a users, the users OneDrive will restore, but you are saying that you did not restore the user, you used PowerShell to just restore the site collection.
Why dont you just restore it, then move the files out of it, put it in SharePoint or something and then you don't have to worry about that other users Restored Site Collection.
But, I would think, once you restore the site collection, and you have assigned a new site collection admin to it, then it will stay , as long as that new Site Collection Admin is active.
I just think there are easier ways to do what your trying to do. Since the only files in the users OneDrive should of been the users own Personal files, you could just move them to a new SharePoint library and not worry about the restored site collection
But yea, I think that answers your question