import Global from '/docs/cmd/_global.mdx';
Log out from Microsoft 365
m365 logout [options]
The logout
command logs out from Microsoft 365 and removes any access and refresh tokens from memory
Log out from Microsoft 365
m365 logout
Log out from Microsoft 365 in debug mode including detailed debug information in the console output
m365 logout --debug
The command won't return a response on success.