Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ms365-connect

Skill by sonichi

Connects Sutando to Microsoft 365 through Microsoft Graph, using the python-o365 (O365) library. It covers OneDrive files, Outlook mail, Calendar and Teams for use in Sutando workflows.

  • Score 71
  • 412 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ms365-connect

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sonichi/sutando /tmp/sutando && mkdir -p ~/.claude/skills && cp -r /tmp/sutando/skills/ms365-connect ~/.claude/skills/ms365-connect

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ms365-connect in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

ms365-connect gives Sutando access to Microsoft 365 through Microsoft Graph, using the open-source python-o365 (O365) library. It covers listing and downloading OneDrive files, listing and sending Outlook email, listing calendar events over a number of days, and posting messages to Teams channels. Commands run from a Python CLI at scripts/ms365.py.

Access uses a one-time delegated OAuth2 consent flow, and the refresh token is cached on disk so later commands run without prompts. Secrets are read from environment variables that should be filled from the Sutando vault. The workspace owner must first register an Azure AD app with the listed Graph scopes. It is meant for Sutando users who need Microsoft 365 data inside their workflows.

Written from the project's SKILL.md and checked against it.

What it can do

  • authRuns the one-time OAuth consent flow and caches the token.
  • onedrive-listLists a OneDrive folder's contents, or the root by default.
  • onedrive-getDownloads a OneDrive file to a local path.
  • outlook-listLists recent inbox messages.
  • outlook-sendSends an email as the signed-in user.
  • calendar-listLists upcoming calendar events over a window of days.
  • teams-postPosts a message to a channel in a Teams team.

What you need

  • Sutando workspace with a vault for secrets
  • Python 3 with pip to install the O365 library
  • Microsoft 365 account
  • Azure AD app registration with delegated Microsoft Graph scopes

Try asking

  • List the files in my OneDrive folder /Projects/Q3
  • Send an email to a@b.com saying the deploy is finished
  • Post 'Deploy is green' to the General channel of Engineering

Good to know

  • Every command except auth needs a cached token from a prior auth run.
  • teams-post needs Team.ReadBasic.All and Channel.ReadBasic.All, or team lookups fail.
  • The public auth flow is required when the redirect is registered under Mobile and desktop applications.
  • The token cache file is a live credential and should have owner-only permissions.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ms365-connect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to ms365-connect

All alternatives →

Compare with ask-user-question, beads or google_tasks

ms365-connect: common questions

Does ms365-connect need a client secret?

The default credentials flow uses MS365_CLIENT_SECRET. The public flow needs only the client ID, so the secret is not required there.

Where is the Microsoft 365 login token stored?

It is stored at state/ms365-token/o365_token.txt under the workspace state dir. Set MS365_STATE_DIR to change the base path, and treat the file as a live credential.

Why does teams-post report that a team is not found?

The source says the lookups return empty when the Team.ReadBasic.All and Channel.ReadBasic.All scopes are missing, even if the team exists.

How do I install ms365-connect?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ms365-connect free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ms365-connect safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ms365-connect?

Similar skills: ask-user-question, beads, google_tasks, recall.

ms365-connect Install

Add to stack

Loading.