Skip to content
All tools

set_default_m365_account

Microsoft 365 · macOS · Windows

Effect: write (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Choose which connected Microsoft 365 account the Microsoft 365 and Teams tools use when no `account` is given. Pass its email (upn), id, or display name (see list_m365_accounts). Only runs on the computer itself, not through the cloud connector.

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "The account to make the default: its email (upn), id, or display name.",
      "type": "string"
    }
  },
  "required": [
    "account"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "alex@example.com"
}

Windows

Purpose

Choose which connected Microsoft 365 account the Microsoft 365 and Teams tools use when no `account` is given. Pass its email (upn), id, or display name (see list_m365_accounts). Only runs on the computer itself, not through the cloud connector.

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — Windows
{
  "properties": {
    "account": {
      "description": "The account to make the default: its email (upn), id, or display name.",
      "type": "string"
    }
  },
  "required": [
    "account"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "alex@example.com"
}