Share via

Removing work account using Poweshell (or cmd)

Anonymous
2022-04-25T13:36:51+00:00

Hi,

I'm looking for a script to disconnect all work accounts from "Access work or school".

Our users experience some issues and errors when accessing Teams app after changing Azure user's password. The only fix for these issues is to disconnect the work account and access Teams again.

Haven't been able to find such powershell script.

Thanks,

Microsoft Teams | Microsoft Teams for business | Sign up and Sign in | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-04-25T14:32:49+00:00

    Hi eliraf, I'm Sergio, it's a pleasure to help you.

    You can use the Teams PowerShell command:

    PS C:> Disconnect-MicrosoftTeams

    You can get more details about the different ways of uses it in this reference article:

    https://docs.microsoft.com/en-us/powershell/mod...

    I hope that the information gives to you will be useful to your purposes, please let me know about the result, because other users with the same problem will know what to do.

    Greetings.

    Was this answer helpful?

    0 comments No comments