App Logo
teams.microsoft.com

Teams whoami

Report which Microsoft Teams account this browser is signed in as — work or personal: email, name, whether it is a personal (consumer) or work account, and which Teams host it lives on (personal accounts are redirected to teams.live.com). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session — and pick the right Teams host — before running other Teams scripts.

Input

None

Output

loggedIn required
host optional

The Teams host the account landed on

name optional
email optional
accountType optional

personal = consumer Microsoft account (Teams on teams.live.com); work = organization account

FAQ

Report which Microsoft Teams account this browser is signed in as — work or personal: email, name, whether it is a personal (consumer) or work account, and which Teams host it lives on (personal accounts are redirected to teams.live.com). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session — and pick the right Teams host — before running other Teams scripts.
Nothing. It takes no input.
It returns host, name, email, loggedIn, accountType.
Yes. It acts as you on teams.microsoft.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the teams.microsoft.com cookies saved by the Reduck extension.
It only reads. It looks things up on teams.microsoft.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/teams.microsoft.com/whoami, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/teams.microsoft.com/whoami
It is part of Reduck's official curated catalogue.

Start building not clicking