A Microsoft file hosting and synchronization service.
Dear @JC,
Welcome to the Q&A Community.
Thank you for the detailed explanation and for sharing the PowerShell steps you already attempted.
I understand how concerning it is when a former user’s OneDrive briefly switches to read‑only and the OneDrive settings in the Microsoft 365 admin center do not load as expected. I appreciate your patience while working through this.
- The OneDrive settings page will not load because the user’s personal site was not fully provisioned or the admin center cannot read the profile link, even though the site opens normally by URL.
- The classic profile page shows “personal site not created” because the personal‑site flag was never set, usually when provisioning did not finish. This does not affect access to the OneDrive URL but prevents the admin UI from showing settings.
- The previous read‑only state happened due to a site lock or closure policy. The unlock command you used is correct, but the lock can return if a policy applies it again.
- The OneDrive is not at risk of deletion as long as the user account remains active and licensed. It only enters the deletion lifecycle when the account is removed and retention settings can be adjusted if needed.
Here are some options you can consider:
Option 1: Stabilize access using supported admin paths
Step 1: Open Microsoft 365 admin center > Users > Active users > Select the user > OneDrive > Choose “Create link to files”. This provides a supported access path and confirms the URL.
Step 2: Go to SharePoint admin center > More features > User profiles > Manage User Profiles > Locate the user > Manage site collection owners > Add the appropriate admin or designated owner.
Option 2: Ensure the OneDrive is fully provisioned
If the admin center still cannot load the OneDrive settings, it can help to trigger provisioning again. This is safe and ignored if the site already exists.
Note: Ensure both the administrator running the command and the target user have an assigned SharePoint or OneDrive license and that sign‑in is not blocked.
Run the following command:
Connect-SPOService -Url https://<tenant>-admin.sharepoint.com Request-SPOPersonalSite -UserEmails
Option 3: Prevent the site from returning to read‑only
Step 1: Check and clear the lock state:
Get-SPOSite -Identity "<OneDriveSiteURL>" | Select Url, LockState Set-SPOSite -Identity "<OneDriveSiteURL>" -LockState Unlock
Step 2: If the UI still shows inconsistencies, temporarily unassign and reassign the user’s SharePoint or OneDrive license to refresh provisioning metadata.
Lock and unlock sites - SharePoint in Microsoft 365 | Microsoft Learn
Option 4: Protect against accidental deletion
Step 1: Review the OneDrive retention policy in SharePoint admin center and extend it if required.
Step 2: Enable automatic access delegation and assign a secondary owner so administrators continue receiving notifications and access if the account is removed in the future.
Option 5: Contact Microsoft Support
If the issue still persists, I sincerely recommend that the IT administrator to create a support ticket via Microsoft 365 Admin Center > Support > Help & Support for further investigation.
A technical support engineer can perform a remote session to investigate the situation, verify the backend configurations, and run any necessary synchronization tools to resolve the problem. If the issue requires further attention, they can escalate it to a specialized team for deeper analysis.
As community moderators, we kindly ask for your understanding that our access to internal development details is limited. Our primary role is to guide users toward the appropriate resources and support channels. While we may not have visibility into performing deeper backend analysis, we’ll continue doing our best to support you within the scope of our responsibilities.
I hope this information is helpful. If you have any questions or need further support, please don’t hesitate to reach out at any time.
Thank you for your patience and understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.