disconnect_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
Disconnect ONE Microsoft 365 account and remove its stored sign-in. Pass account (its email, id or display name); with only one account connected it can be omitted, with several it must be given. If it was the default account, the oldest remaining one becomes the default and the answer says which. Runs immediately, with no preview or confirm step; reconnecting requires the Microsoft sign-in flow again. Only runs on the computer itself, not through the cloud connector.
Required inputs
No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.
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.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — macOS
{
"properties": {
"account": {
"description": "The account to disconnect: its email (upn), id, or display name. Required when more than one account is connected.",
"type": "string"
}
},
"required": [],
"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.
{}Windows
Purpose
Disconnect ONE connected Microsoft 365 account and remove its stored sign-in. Pass account (its email, id, or display name; see list_m365_accounts); it can be left out when only one account is connected. Runs immediately, with no preview or confirm step; reconnecting requires the Microsoft sign-in flow again. If it was the default, the oldest remaining account becomes the default.
Required inputs
No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.
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.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — Windows
{
"properties": {
"account": {
"description": "The account to disconnect: its email (upn), id, or display name. Required when more than one account is connected.",
"type": "string"
}
},
"required": [],
"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.
{}