Forum Discussion
Is there a way to reset/wipe all data from M365 user accounts in order to re-use the same accounts?
- Mar 24, 2023yes , deleting the users will guarantee what you are trying to achieve , let me know if you need a PowerShell script to create the users based on csv input
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
fstorer I recommend you use the identity governance by create a creating an access review for those users in a yearly time frame and you can use the lifecycle workflows to onboard and offboard the users
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
- fstorerMar 24, 2023Brass Contributor
elieelkarkafi thank you for your quick reply.
Unfortunately that solution is not feasible at the moment for us because we don't have an Azure AD Premium P2 or E5 license.
Francesco
- Mar 24, 2023what about a PowerShell script that delete the users for you based on CSV input ?
- fstorerMar 24, 2023Brass Contributor
elieelkarkafi that's exactly my question. We can delete all the accounts and set them up again for the next academic year, but we were wondering if we can keep them with all their settings and wipe/remove ONLY the OneDrive/Outlook data. Again, probably deleting and recreating them is the quickest solution...