본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

m365-pnp-cli

thomyg 제작

Communication
432clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

CLI for Microsoft 365 - Manage Microsoft 365 tenant, SharePoint Online, Teams, OneDrive.

설명

이 스킬이 하는 일

CLI for Microsoft 365 provides command-line access to Microsoft 365 workloads including SharePoint Online, Teams, OneDrive, Outlook, Planner, and Entra ID. It is the official PnP (Patterns and Practices) tool maintained by the Microsoft community. Supports multiple authentication methods including device code, certificate, client secret, and managed identity.

It covers the full Microsoft 365 surface area in a single CLI with JMESPath filtering and JSON output, removing the need to switch between the Graph API, admin portals, and separate PowerShell modules.

사용 시점

  • Listing all SharePoint sites in a tenant from the command line
  • Pulling Outlook calendar events or inbox messages via script
  • Managing Teams channels and members in automated workflows
  • Auditing Entra ID users and groups across a Microsoft 365 tenant
  • Generating Planner task reports in CI pipelines

예시 워크플로

입력

User asks: List all SharePoint team sites in the tenant

에이전트
  1. 1

    Runs m365 login to authenticate via device code flow

  2. 2

    Confirms authentication with m365 status

  3. 3

    Runs m365 spo site list to retrieve all SharePoint sites as JSON

  4. 4

    Applies JMESPath filter --query "[?Template==\GROUP#0\].{Title:Title, Url:Url}" to isolate team sites

  5. 5

    Returns filtered JSON array of team site titles and URLs

출력

JSON array of team site names and URLs matching the GROUP#0 template

요구 사항

  • Microsoft 365 account or tenant

설치

clawhub install thomyg/m365-pnp-cli

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크