Share via

How to delete a school account for wich I do not have the password

Nicolas Rochette 0 Reputation points
2026-03-06T14:45:21.1566667+00:00

Hello,

Since 2022, Teams and sometimes Windows thinks I am a employee of the school of my children with a strange account: Information deleted for privacy protection

In this account, there is my personal email (***@hotmail.com). Information deleted for privacy protection is the school, the "a" I suppose is for admin... but the rest is a mystery to me.
It creates many problems on my PC and when I connect on Teams. Sometimes, Windows asks me to communicate with the admin of the school to change a configuration on my PC. But I am not with the school and there is no admin for me to talk to.

As I don't know what this account is, I don't have any password to access the delete option.

Microsoft Teams | Microsoft Teams for education | School connection

2 answers

Sort by: Most helpful
  1. Ryan-N 12,100 Reputation points Microsoft External Staff Moderator
    2026-03-06T15:44:17.97+00:00

    Hi @Nicolas Rochette,

    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:

    1. Sign out of all accounts from all Office applications, then close all Office apps (including Microsoft Teams).
    2. 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 User's image
      1. 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

    User's image

    Step 3: Delete all files and folders in this directory.

    Step 4: Reset Microsoft Teams.

     

    1. Go to Settings > Accounts > Access work or school.
    2. Check whether you see a school account under Access work or school. User's image

    If yes, select that account and choose Disconnect. Then select Connect and sign in again using your work account to re‑register the device.

    1. Clear cached credentials:

    Open Control Panel > Credential Manager.

    User's image

    In both Windows Credentials and Generic Credentials, look for entries related to your Microsoft 365 account.

    Select and delete those entries.

    User's image

    Restart your computer and try adding the account to Office again.

    1. 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.

    1. Restart the device.
    2. 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. 

    0 comments No comments

  2. Q&A Assist
    2026-03-06T14:45:39.5566667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The account shown as ...#EXT#@csdma.onmicrosoft.com is a “guest” work/school account created by the school’s Microsoft 365 tenant using the same personal email address. It is not something that can be deleted or managed with a separate password; it is controlled by the school’s tenant admin. What can be done locally is:

    1. Sign out of Teams and remove the account from Teams
      • In the Teams desktop app (Windows or web), select the profile picture at the top right.
      • Select Sign out.
      • Sign back in only with the desired personal account.
        Note: Signing out removes the account’s data from the Teams app on that device, but does not remove the account from other apps or from the school’s tenant.
    2. Leave the school’s Teams organization (if using Teams Free UI)
      If the account appears as an organization in Teams Free:
      • Open Teams (desktop or web).
      • Go to SettingsAccounts and orgs.
      • Under Organizations, find the school organization (CSDM).
      • Select Leave next to that organization and confirm in the browser window that opens.
        After a few hours, sign out and back in to Teams; the organization should no longer appear.
    3. Remove the work/school account from Windows (device registration)
      If Windows is treating the device as connected to the school:
      • Open SettingsAccountsAccess work or school.
      • Select the school/work account entry (the one referencing the school) and choose Disconnect.
        This removes the work/school account from the device and unregisters it from that organization’s directory for this device.
    4. If the account still appears as part of an organization
      Because the #EXT#@csdma.onmicrosoft.com identity is created and owned by the school’s Microsoft 365 tenant, only that organization’s admin can fully remove the guest account from their tenant. If Windows or Teams continues to prompt for that organization’s policies after the steps above, contact the school’s IT or technical support and ask them to remove the guest account associated with the personal email address from their tenant.

    If the goal is to completely close the underlying personal Microsoft account (the @hotmail.com address) that is used to access Teams and other services, that can only be done after it is no longer tied to organizations or subscriptions, and closing it will also remove access to Outlook.com, OneDrive, Skype, Xbox, and other consumer services.


    References:

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.