कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक