teams status
Show current CLI status
Usage​
teams status [options]
Options​
| Flag | Description |
|---|---|
-v, --verbose | [OPTIONAL] Show additional details |
--json | [OPTIONAL] Output as JSON |
What it shows​
- Login status — username, tenant ID (with
--verbose) - TDP access — whether a Teams Developer Portal token can be acquired
- Sideloading (tenant) — whether the tenant admin has enabled custom app sideloading
- Sideloading (user) — whether the user's Teams app setup policy allows sideloading
- Azure CLI — installation, login status, and active subscription
JSON output​
{
"loggedIn": true,
"username": "user@contoso.com",
"tenantId": "abc-123",
"tdp": {
"connected": true,
"sideloading": {
"tenant": true,
"user": true
}
},
"azureCli": {
"installed": true,
"loggedIn": true,
"subscription": { "name": "My Sub", "id": "sub-id" }
}
}