Error: Read-onlyThis file is in view-only mode because it is stored on an unlicensed OneDrive for Business site. Please contact your administrator to restore editing access

Rachelle Nguyen 0 Reputation points
2026-10-12T20:48:26.87+00:00

I got a "Read-onlyThis file is in view-only mode because it is stored on an unlicensed OneDrive for Business site. Please contact your administrator to restore editing access" error. I check the account is it active and the latest invoice was paid and have $0.00 balance.

Microsoft 365 and Office | OneDrive | For business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Ivory 2,165 Reputation points Independent Advisor
    2026-10-12T21:05:37.52+00:00

    Hi Rachelle,

    If you're seeing the following message:

    "This file is in view-only mode because it is stored on an unlicensed OneDrive for Business site. Please contact your administrator to restore editing access."

    the issue is typically not related to the tenant's invoice status, subscription renewal, or account balance. Even when the Microsoft 365 subscription is active, all invoices have been paid, and the balance shows $0.00, it still identifies the specific OneDrive owner account as unlicensed.

    An unlicensed OneDrive account occurs when the user no longer has a valid license assigned that includes OneDrive. This can happen if a license was removed, expired, or was never properly assigned. When this occurs, the OneDrive site is placed into read-only mode, preventing users from editing files, and eventually move it into an archived state if the licensing issue is not resolved. OneDrive accounts can enter read-only mode after 60 days without a valid license assignment.

    Because of this, it is important to verify not only that the tenant subscription is active, but also that the owner of the OneDrive site where the file is stored has a valid license assigned that includes OneDrive for Business.

    To make sure that your account is assigned a valid license that includes OneDrive:

    1. Go to Microsoft 365 admin center with your Microsoft 365 Global Admin account, go to Users > Active users.
    2. Select the affected user account.
    3. In the details pane, select Licenses and apps.
    4. Expand the Licenses section, and then check whether a valid license that includes OneDrive is assigned. If it isn't, assign the required license to the user.
    5. You can also try unassigning and then reassigning the license to the affected user account to force a refresh of the user's OneDrive licensing status

    User's image

    For more information, please consult Manage unlicensed OneDrive user accounts - SharePoint in Microsoft 365 | Microsoft Learn

    If the issue persists, make sure that your account is assigned as the primary site collection administrator of their OneDrive site.

    1. In the SharePoint admin center also with your Global admin account, select More Features.
    2. Under User Profiles, select Open.
    3. Under People, select Manage User Profiles.
    4. In the Find profiles search box, enter the affected user account, and then select Find.
    5. Right-click the user and select Manage site collection owners.
    6. In the Primary Site Collection Administrator section, check whether the user account is displayed. If it's not, add the user account, and then select OK.

    For reference:

    What happens when your OneDrive account becomes unlicensed? | Microsoft Support

    You Can't Edit Your Files Because Your License to Use OneDrive Ended Over a Couple of Months Ago - …

    If you have any questions or need further assistance, please feel free to share them in the comments on this post.


    If the answer is helpful, please click 'Yes' and kindly upvote it.

    Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.