Share via

My PC cannot be accessed on my peer to peer network.

Greg Dugan 40 Reputation points
2026-03-02T20:38:20.62+00:00

My admin user with azure appears to be keeping my pc from being accessed on my small peer to peer network. How do I remove the azure user? I recently factory reset my pc and the azure user is back. Is this connected to my email address?

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

Answer accepted by question author
  1. Henry Mai 7,890 Reputation points Independent Advisor
    2026-03-02T23:59:15.4666667+00:00

    Hello Greg, I am Henry and I want to help you with your concern.

    When a PC is signed in with a work or school account, it can become associated with an organization through Microsoft Entra. A standard Windows reset removes local data, but it does not always remove the device from the organization’s tenant. If the same work or school email is used again during setup, Windows may automatically reconnect the device — which is why the Azure/organization account appears again after the reset.

    This behavior is directly related to the email used during configuration. If that address belongs to a work or school tenant, Windows treats it as an organizational identity and may re-establish the association. The reference documents list below also offer further clarification:

    If this is your personal PC and you do not want it linked to an organization, set it up using a local account or a personal Microsoft account only, and avoid signing in with the work or school email during initial configuration. If the device was previously enrolled by an organization, it may need to be removed from the tenant by the administrator before the association fully stops.

    The presence of an admin account does not by itself block peer-to-peer networking; however, device management policies applied through organizational enrollment can affect sharing and network visibility.

    I hope you’ll give my recommendation a try and let me know how it goes and if this answer helps, feel free to hit “Accept Answer” so others can benefit too.


Answer accepted by question author
  1. Q&A Assist
    2026-03-02T20:38:31.8233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The Azure/organization account is tied to the work or school account that is connected to Windows and to apps. Removing or disconnecting that work/school account from Windows will remove the Azure/organization context from the PC, but it does not delete the account itself and it can come back if the same account is used again during setup or sign-in.

    To disconnect the Azure (work/school) account from the PC:

    1. Open Settings on the PC.
    2. Go to Accounts.
    3. Select Access work or school (or use this shortcut if available: ms-settings:workplace).
    4. In the list, select the work or school account that corresponds to the Azure/organization account.
    5. Select Disconnect.
    6. Confirm by selecting Yes.

    This removes the organization account and its policies from the device, which can help with peer‑to‑peer access issues if those policies were restricting network access. The account itself (in Azure/Microsoft Entra or Microsoft 365) is not deleted; only its connection and data on this device are removed.

    If the same email address is used both as a personal Microsoft account and as a work/school account, Windows and Microsoft services may keep offering or reattaching the work/school account. In that case, also check:

    1. Accounts → Email & accounts (ms-settings:emailandaccounts):
      • Under Accounts used by email, calendar, and contacts, remove any work/school account entries that are not needed.
      • Under Accounts used by other apps, remove any work/school account entries.
    2. If the device is used with multiple accounts (for example, in Windows App or other Microsoft apps), sign out the work/school account from those apps as well, so it does not rejoin the device.

    After disconnecting the work/school account, configure the peer‑to‑peer network sharing again using a local account or a personal Microsoft account that is not joined to an organization.


    References:

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.