.claude/skills/querying-distribution-lists/SKILL.md
Query Microsoft 365 distribution lists and group memberships via CLI. Lists groups, views members, and checks user memberships. Use when checking group membership, finding distribution list members, listing groups a user belongs to, or querying Azure AD groups.
npx skillsauth add Dbochman/dotfiles querying-distribution-listsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query Microsoft 365 distribution lists and group memberships via dl-cli.
Note: This is a read-only tool. Group management is handled by GroupID Self-Service portal.
# Check tool is available
dl-cli --version
# Test authentication (will prompt for login if needed)
dl-cli find --limit 1 --toon
If command not found, see installation page.
For NVIDIA LDAP queries (employee directory, org charts), see querying-helios-directory.
Use this skill when users want to:
# Groups you own or are a member of
dl-cli find --toon
# Search for specific groups
dl-cli search "Engineering" --toon
# By group name
dl-cli members "Engineering-All" --toon
# By email address
dl-cli members [email protected] --toon
# With specific fields
dl-cli members "Engineering-All" --json --fields mail,displayName,jobTitle
# What groups does a user belong to?
dl-cli memberships [email protected] --toon
# Full group information
dl-cli get "Engineering-All" --toon
Run dl-cli --help for all commands and flags. Run dl-cli <command> --help for detailed options.
Verify Membership (workflows/verify-membership.md)
Audit Group (workflows/audit-group.md)
Authentication errors:
rm ~/.ai-pim-utils/auth-cache
dl-cli find --limit 1 # Triggers re-authentication
Permission denied:
Multiple groups found:
dl-cli get "Engineering-Platform-Team" instead of dl-cli get EngineeringGroup not found:
dl-cli search "partial name" --toonSee: installation page for detailed troubleshooting.
development
Search the web for current information, news, facts, and answers. Use when asked questions about current events, needing to look something up, finding websites, researching topics, or when you need up-to-date information beyond your training data.
development
Summarize any URL, YouTube video, podcast, PDF, or file into concise text. Use when asked to read an article, summarize a link, get the gist of a video or podcast, extract content from a URL, or when you need to understand what a web page or document contains.
development
Play music via Spotify and control Google Home speakers. Use when asked to play music, songs, artists, playlists, podcasts, or control speakers/volume/audio.
testing
Create new OpenClaw skills, modify and improve existing skills, and measure skill performance with evals. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. Also use when asked to "make a skill", "turn this into a skill", "improve this skill", or "test this skill".