Remove Work or School account option when signing into Microsoft Account

Remove Work or School account option when signing into Microsoft Account (Confirmed working!)

UPDATE #2: It works! it took about a week, though after deleting the account and domain from Office 365, I’m no longer prompted to choose between a Microsoft account and a Work or School Account

UPDATE #1: You can also rename the email alias on your Microsoft Account if you can’t remove your work or school account for any reason. Here’s how: https://support.microsoft.com/en-us/help/11545/microsoft-account-rename-your-personal-account

I was testing the user experience of signing up for a Power BI trial without having an existing Office 365 subscription. For this, I used my personal Microsoft Account ([email protected])

The trial sign up worked fine, though Power BI is not a service that gets attached to a Microsoft Account, instead, it creates a new Organizational AKA Work or School AKA Azure AD account using your email address.

Now, each time you sign into your personal Microsoft Account, you’ll be prompted to choose whether you want to use your Microsoft Account, or your Work or School account.

Used with more than one account

Unfortunately, there doesn’t seem to be a quick and easy way to remove this account once it’s created. And even once the account is removed, the login screens will continue to ask you to choose between accounts for about a week.

I’m guessing there’s a flag that gets added to your email once a Personal or ‘Work or School’ account is added to your email, and it’s this flag that’s checked each time you sign in with the address.

In order to remove this flag (that may or may not be a thing), you’ll need to completely remove the Work or School account.

To completely remove this account, you’ll need to do the following:

  1. Take over as the administrator for your domain according to Microsoft
  2. Create a new Admin user under the Admin section and sign in as the new admin
  3. Delete the old user that shares your email address
  4. Delete the Domain from Office 365

Take over as the administrator of your domain according to Microsoft

  1. Sign into the work or school account at portal.office.com using the password you chose when signing up to Power BI
  2. Click the App launcher on the top left or right and choose AdminClick app launcher, open admin
  3. Click Yes, I want to be the adminYes I want to be admin of Office 365
  4. You’ll be asked to verify your domain using a TXT record. The steps to do this will depend on the platform your using to manage your DNS records. Microsoft have a bunch of instructions for various platforms here: https://support.office.com/en-us/article/Create-DNS-records-for-Office-365-when-you-manage-your-DNS-records-b0f3fdca-8a80-4e8e-9ef3-61e8a2a9ab23. Keep in mind that the only record you need to add is the Verification TXT record specified below – don’t add or remove any other DNS records from your domain.Add Office 365 txt record
  5. Once you’ve added the TXT record, click Okay, I’ve added the record and wait for it to verify.Verify office 365 txt record
  6. You should now be the admin for your domain name. Though don’t worry too much about the implications of this. It’s only temporary – we need to be the admin to disassociate the domain from Office 365/Power BI.Office 365 admin confirmation

Create a new Admin user under the Admin section and sign in as the new admin

  1. Click OK and wait for the Admin Center to load, then click UsersOpen users again
  2. You should see a single user with your email address. We now want to create a new Admin account, though don’t use your domain name in the user name, select the Domain dropdown and use the domainname.onmicrosoft.com address. This is important when it comes to deleting the domain from Office 365 – it must not be associated with any existing users.Create new Office 365 admin
  3. Under Roles, choose Global administrator. You may need to specify an alternate email address, choose one on a different domain name to your current account.Set new admin as global administrator
  4. Sign out of the current user.

Delete the old user that shares your email address

  1. Sign into portal.office.com as your new [email protected] userSign in as new admin
  2. Open Users
  3. Select the user that shares your email address and click Delete UserDelete Microsoft account user

Delete the Domain from Office 365

  1. Once the user has been deleted, go to Settings, then DomainsGo to domains
  2. Select your domain and click RemoveRemove domain from Office 365
  3. Confirm the removal and wait for the domain to be removedDomain is successfully removed

At this point, you pretty much have to cut and run. You no longer have your email or domain name associated with the tenant. The only thing you can’t remove is the domainname.onmicrosoft.com domain. If you ever decide to sign up for Office 365 using this exact tenant name – even though it includes the trailing top level domain – you can just sign in as your new admin user.

An extra step to try to speed things up

You might have noticed when deleting your user, that it will be available to restore for 30 days.Confirm deletion of user

If you want to permanently remove it, you can connect to Office 365 via Powershell

Prerequisites to connect to Office 365 via Powershell

  1. Install the Microsoft Online Services Sign in Assistant for IT Professionals BETA: https://www.microsoft.com/en-au/download/details.aspx?id=39267
  2. Install the Windows Azure Active Directory Module for Powershell (get the GA version): http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185

Permanently remove Azure AD/Office 365 users via PowerShell

Connect to Microsoft Online Services via Powershell. You do this by opening PowerShell on your computer, entering the following Powershell command followed by the credentials of your admin user


Connect to Office 365 via Msol Service powershell as admin

Enter the following command to get a list of deleted users.

Get-MsolUser -ReturnDeletedUsers

This should display your recently deleted user. Now, run this to delete your user.

Get-MsolUser -ReturnDeletedUsers | Remove-Msoluser -RemoveFromRecycleBin -Force

Get user and permanently delete

So will I still be prompted for a Work or School account?

The change on my account did not take effect immediately. It took about a week before I was no longer prompted to choose between a Microsoft Account, or a Work or School account. Though the good news is, it will eventually recognise that the Work or School account no longer exists.

Was this article helpful?

Related Articles

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *