List Microsoft 365 Accounts
list_m365_accountsList the Microsoft 365 accounts connected on this computer: email (upn), id, display name, which one is the default, its state (connected, reauth_required, unavailable) and the permissions it has. Use an account's email or id as the account parameter of the Microsoft 365 and Teams tools. Add an account with connect_m365_account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| accounts | Yes | ||
| default_account | No |