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

add-office365-users

Skill by microsoft

Adds Office 365 Users to an app by delegating to the add-data-source skill with the shared Office 365 Users connector. Built for apps that show user profiles, managers, direct reports, people search and profile photos.

  • Score 54
  • 36 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-office365-users

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/managed-apps /tmp/managed-apps && mkdir -p ~/.claude/skills && cp -r /tmp/managed-apps/plugins/microsoft-managed-apps/skills/add-office365-users ~/.claude/skills/add-office365-users

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

Step-by-step: install add-office365-users in Claude Code

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

About

This agent skill is a thin wrapper. It hands the work to the /add-data-source skill with the api-id shared_office365users in action mode, so that skill is the single implementation path. Once the connector is added, the generated Office365UsersService exposes V2 methods for the signed-in user, a specific user by ID or UPN, a user's manager, direct reports, people search and profile photos.

The source includes code patterns for building these features. It shows how to load direct reports from the signed-in user's ID or UPN, how to treat an empty result as a user with no direct reports, and how to check photo metadata before downloading a photo. It also covers converting binary photo responses into data: URLs so the app's content security policy is respected. The skill is aimed at developers building app features on Microsoft 365 user data.

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

What it can do

  • MyProfile_V2Returns the profile of the current signed-in user.
  • UserProfile_V2Returns one user's profile by directory ID or user principal name.
  • Manager_V2Returns the manager of a given user.
  • DirectReports_V2Lists the direct reports of a manager by directory ID or UPN.
  • SearchUserV2Searches people by a search term with an optional result count.
  • UserPhotoMetadataChecks whether a user has a profile photo before downloading it.
  • UserPhoto_V2Returns the binary profile photo data for a user.

What you need

  • Office 365 Users connector added through the /add-data-source skill

Try asking

  • Add Office 365 Users to my app so it can show user profiles.
  • Build a direct reports list for the signed-in user in my app.
  • Show profile photos with initials as a fallback when no photo exists.

Good to know

  • UserPhoto_V2 returns binary image data, not an external image URL.
  • Blob URLs may be blocked by the App Player content security policy, so the source uses data: URLs.
  • Photos must be fetched through the generated connector service, not by calling Microsoft Graph directly.

Security check

A

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

Checked automatically: plugins/microsoft-managed-apps/skills/add-office365-users/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read AskUserQuestion Skill

Alternatives to add-office365-users

All alternatives →

Compare with ask-user-question, beads or google_tasks

add-office365-users: common questions

What does the add-office365-users skill do?

It adds the Office 365 Users connector by delegating to the /add-data-source skill with api-id shared_office365users in action mode. The generated service then provides profile, manager, direct report, search and photo methods.

How do I get direct reports for the signed-in user?

Call MyProfile_V2 with id and userPrincipalName, then pass the returned id, or the UPN if no id is present, to DirectReports_V2. An empty value array means the user has no direct reports.

How should profile photos be displayed?

Call UserPhotoMetadata first and skip the download if HasPhoto is false. When a photo exists, convert the returned bytes to a data: URL, since the source warns that blob: URLs may be blocked by CSP.

How do I install add-office365-users?

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

Is add-office365-users free?

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

Is add-office365-users safe to use?

It scores 54 of 100. Grades: maintenance A, licence A, quality C. 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 add-office365-users?

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

add-office365-users Install

Add to stack

Loading.