Thank you for posting your question in the Microsoft Q&A forum.
I would like to provide you with the following information:
This issue occurs because a school account was previously signed in on your device. At that time, Windows identified your device as being part of the school tenant.
Please follow the steps below:
- Sign out of all accounts from all Office applications, then close all Office apps (including Microsoft Teams).
- Open File Explorer, paste the following path into the address bar, and delete all files and folders inside it: %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
- Next, please clear the Microsoft Teams cache by following these steps:
Step 1: Completely exit Microsoft Teams.
Step 2: Press Windows + R, then paste the following path and press Enter:
%userprofile%\appdata\local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams
Step 3: Delete all files and folders in this directory.
Step 4: Reset Microsoft Teams.
- Go to Settings > Accounts > Access work or school.
- Check whether you see a school account under Access work or school.
If yes, select that account and choose Disconnect. Then select Connect and sign in again using your work account to re‑register the device.
- Clear cached credentials:
Open Control Panel > Credential Manager.
In both Windows Credentials and Generic Credentials, look for entries related to your Microsoft 365 account.
Select and delete those entries.
Restart your computer and try adding the account to Office again.
- Download OLicenseCleanup.vbs and run the file. This tool helps to:
Remove licenses Delete cached identities in the HKCU registry Remove saved credentials
For more details, you can refer to the article: Reset Microsoft 365 Apps for enterprise activation state.
- Restart the device.
- Reopen the Office applications and sign in using the correct account.
If the steps above do not resolve the issue, you can contact the IT department or administrative office of your child’s school and ask them to detach the account from the device through the admin console, so the device is no longer recognized as being associated with the school profile.
The “admin” here refers to the person or IT department that provided the school account to your child.
Note: Please understand that my initial response may not always resolve the issue immediately. However, with your cooperation and additional details, I can continue working with you to find the most appropriate solution.
I hope this information is helpful. Please follow the steps above and let me know the results. If the issue persists, I will continue to assist you until it is fully resolved.
Thank you for your patience and understanding. If you have any questions, please do not hesitate to contact me again. I look forward to your response.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have 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.