/cipp:cipp <command> [args] | install cli|mcpfrom cipp
Drives CIPP (CyberDrain Improved Partner Portal) via CLI/MCP to manage Microsoft 365, Entra ID, Intune, Exchange, Defender, and GDAP across all client tenants, with local SQLite store for offline cross-tenant queries and history.
Ships in cipp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Version note. The MCP write preview,
CIPP_MCP_READ_ONLY, token-protected HTTP mode,local-data purgeandCIPP_NO_LOCAL_DATAship in cipp 0.1.13 and later. Check withcipp-cli --version.
This skill drives the cipp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/cipp/install.sh)
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/cipp/install.ps1 | iex
cipp-cli --version~/.local/bin (macOS / Linux) or %LOCALAPPDATA%\Programs\msp-skills (Windows) is on $PATH.The installer downloads the cipp-cli and cipp-mcp binaries into ~/.local/bin
(macOS / Linux) or %LOCALAPPDATA%\Programs\msp-skills (Windows). It does not
register the skill with your agent and writes no MCP client config - see
mcp-install.md for that wire-up.
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
CIPP (CyberDrain Improved Partner Portal) is how MSPs manage many Microsoft 365 tenants from one place. This CLI brings its full endpoint surface to the terminal as typed commands and adds a local-first layer: fanout drives any tenant-scoped endpoint across every tenant into a local SQLite store, so posture, scorecard, ca diff, licenses waste, users stale and users offboard-check answer cross-endpoint questions offline (gdap expiring reads the relationship list live against the stored tenants), and standards drift and changes compare your own stored snapshots over time. CIPP can report a failed write as text inside an HTTP 200 Results envelope: bulk and the MCP server's cipp_execute turn that into an error, while the typed write commands print the Results text and exit 0, so read it before reporting success.
43 CIPP endpoints are called with GET but named as actions (Exec...,
Remove...). Some change your tenants or your CIPP instance, for example
RemoveStandard, ExecSendOrgMessage and ExecRunBackup. From cipp 0.1.13 (check cipp-cli --version), the MCP
server treats them as state-changing: cipp_read refuses them and cipp_execute
only previews them until confirm is boolean true; earlier builds run them
with no confirmation step. Their CLI commands run
as soon as they are invoked, so treat each one as a change and confirm with
the user before running it:
exec-add-spn, exec-alerts-list, exec-apipermission-list, exec-app-approval, exec-app-insights-query, exec-app-upload, exec-backend-urls, exec-beccheck, exec-bulk-license, exec-cippdbcache, exec-cpvrefresh, exec-create-default-groups, exec-csplicense list, exec-device-code-logon, exec-durable-functions, exec-extension-clear-hibpkey, exec-extension-mapping, exec-extension-ninja-one-queue, exec-extension-sync, exec-extension-test, exec-gdapinvite-approved, exec-gdaptrace, exec-graph-request-profile, exec-incidents-list, exec-list-app-id list, exec-list-backup, exec-mail-test, exec-mailbox-mobile-devices, exec-maintenance-scripts, exec-mdo-alerts-list, exec-permission-repair, exec-run-backup, exec-scheduler-billing-run, exec-send-org-message, exec-service-principals, exec-standard-convert, exec-standards-run, exec-universal-search, exec-universal-search-v2, remove-cipp-queue, remove-standard, remove-tenant-capabilities-cache, remove-webhook-alert.
fanout, export and tail refuse all of them: they only drive List*/Get* reads.
fanout --save refuses a tenant's response when anything in the response reads as a failure: failure wording or a failed state anywhere under a status-like field (state, status, result, message, text, detail, reason and the like, at any depth: "status":{"code":"error"}) or in a bare message, a populated field named like error, exception or fault ("error":"HTTP 403", whatever the wording), a field named like success or ok that is false, or a failed state, in the rows or beside them, and keeps the rows already stored. It stores only a list whose every entry carries the endpoint's id; JSON null, an empty answer, a single object or a message is shown, not stored. In the tenant list, and only there, tenant records keep their own Graph token fields (LastGraphError, GraphErrorCount), so one tenant with a failed Graph token does not stop the fleet. A response with a duplicate key is refused. A row whose own name holds a failure word (a user named "Error Reporting", a group named "Denied Access") is still a row. The trade-off: a list whose rows report their own failed status is refused too; run the same fanout with --json to see what CIPP returned.
Before a successful response is shown, cached or saved, it is checked for your configured credentials (the API key, the client secret, the minted token) in every encoding the CLI can decode, with spaces and invisible characters removed first. A response holding a single value over 64 KiB once spaces are removed, or a response that is not JSON and is over 64 KiB, is withheld instead, because it cannot be decoded whole; read that value in CIPP itself.
Reach for this CLI when a question spans more than one Microsoft 365 tenant, or when a CIPP action needs to be scripted rather than clicked. It suits fleet posture rollups (MFA, Conditional Access, Standards, DLP), license reclaim totals, comparing stored snapshots over time, GDAP relationship health, offboarding end-state checks, and CSV-driven batches that must survive HTTP 429 rate limiting. The rollup commands read only the local store: they return empty until the endpoints they need were saved with fanout --save (presets: core, posture, offboarding, compliance, gdap). Commands support --json, --select and typed exit codes for agents; mutations support --dry-run.
Do not use this CLI for:
sync: this CLI has none. Populate the local store with cipp-cli fanout --endpoint <path> --all-tenants --save (or a --preset).fanout - Run any CIPP read endpoint across every client tenant at once and save the results locally.
Reach for this first: every offline rollup command reads the store this populates.
cipp-cli fanout --endpoint /ListUsers --all-tenants --save --agent
bulk - Drive CIPP deploy, user and mailbox actions from a CSV across tenants: plan-only unless --execute, with Retry-After backoff, per-row resume and HTTP-200 failure detection.
A failed write becomes a non-zero exit instead of a silent success. CLI only: it is not exposed as an MCP tool.
cipp-cli bulk --from offboards.csv --dry-run --agent
gdap expiring - List delegated-admin relationships expiring inside a window, plus stored tenants with no active relationship (reads the partner-wide relationship list live; needs credentials).
Catches a lapsing delegation before a technician hits a permission error.
cipp-cli gdap expiring --days 30 --agent
posture - A per-tenant table for one chosen posture dimension (MFA, Conditional Access, Standards, BPA, DLP, retention or sensitivity labels) from the local store.
Use this for QBR and cyber-insurance rollups: one table per dimension across tenants; scorecard gives every dimension for one tenant.
cipp-cli posture --dimension mfa --agent
licenses waste - Total reclaimable licenses by SKU or by user from stored user license assignments and sign-in activity, with SKU names from stored license rows.
A scriptable seat-reclaim total from stored data.
cipp-cli licenses waste --by sku --stale-days 90 --all-tenants --agent
ca diff - Find which tenants deviate from the Conditional Access baseline the rest of the fleet shares.
Shows the policy one tenant lacks that most of the fleet has, in one scriptable result.
cipp-cli ca diff --agent
users stale - List enabled, licensed accounts with no sign-in in N days from the stored users rows.
Feeds a disable queue or a QBR from stored data without another round of API calls.
cipp-cli users stale --days 90 --agent
users offboard-check - Find disabled accounts that still hold mail forwarding, inbox rules, directory roles or licenses.
Run it after a Friday offboarding batch to catch the step that silently did not happen.
cipp-cli users offboard-check --agent
scorecard - Every stored signal about one tenant in a single record, each with the time its data was saved.
One machine-readable record per client for a QBR packet or an insurance questionnaire.
cipp-cli scorecard --tenant 7d3c9f2e-1b4a-4c8e-9f6d-2a5b8c1e4f70 --agent
standards drift - Show every tenant whose Standards settings changed between two stored snapshots; --since picks the base snapshot.
Answers 'what changed since my last look' from your own stored history, offline.
cipp-cli standards drift --since 7d --agent
changes - Show rows of any stored resource added, removed or modified between two fanout snapshots.
Answers 'what changed in admin roles or app consents since last week' across the fleet in one call.
cipp-cli changes --resource roles --since 7d --agent
add-alert - Manage add alert
cipp-cli add-alert - Add alertadd-apdevice - Manage add apdevice
cipp-cli add-apdevice - Adds Autopilot devices to a tenant via Partner Center APIadd-app-template - Manage add app template
cipp-cli add-app-template - Add app templateadd-assignment-filter - Manage add assignment filter
cipp-cli add-assignment-filter - Add assignment filteradd-assignment-filter-template - Manage add assignment filter template
cipp-cli add-assignment-filter-template - Add assignment filter templateadd-autopilot-config - Manage add autopilot config
cipp-cli add-autopilot-config - Add autopilot configadd-bpatemplate - Manage add bpatemplate
cipp-cli add-bpatemplate - Add bpatemplateadd-capolicy - Manage add capolicy
cipp-cli add-capolicy - Add capolicyadd-catemplate - Manage add catemplate
cipp-cli add-catemplate - Add catemplateadd-choco-app - Manage add choco app
cipp-cli add-choco-app - Add choco appadd-connection-filter - Manage add connection filter
cipp-cli add-connection-filter - Add connection filteradd-connection-filter-template - Manage add connection filter template
cipp-cli add-connection-filter-template - Add connection filter templateadd-contact - Manage add contact
cipp-cli add-contact - Add contactadd-contact-templates - Manage add contact templates
cipp-cli add-contact-templates - Add contact templatesadd-custom-script - Manage add custom script
cipp-cli add-custom-script - Add custom scriptadd-defender-deployment - Manage add defender deployment
cipp-cli add-defender-deployment - Add defender deploymentadd-defender-template - Manage add defender template
cipp-cli add-defender-template - Add defender templateadd-dlp-compliance-policy - Manage add dlp compliance policy
cipp-cli add-dlp-compliance-policy - Add dlp compliance policyadd-dlp-compliance-policy-template - Manage add dlp compliance policy template
cipp-cli add-dlp-compliance-policy-template - Add dlp compliance policy templateadd-domain - Manage add domain
cipp-cli add-domain - Add domainadd-edit-transport-rule - Manage add edit transport rule
cipp-cli add-edit-transport-rule - This function creates a new transport rule or edits an existing one (mail flow rule).add-enrollment - Manage add enrollment
cipp-cli add-enrollment - Add enrollmentadd-equipment-mailbox - Manage add equipment mailbox
cipp-cli add-equipment-mailbox - Add equipment mailboxadd-ex-connector - Manage add ex connector
cipp-cli add-ex-connector - Add ex connectoradd-ex-connector-template - Manage add ex connector template
cipp-cli add-ex-connector-template - Add ex connector templateadd-group - Manage add group
cipp-cli add-group - Add groupadd-group-team - Manage add group team
cipp-cli add-group-team - Add group teamadd-group-template - Manage add group template
cipp-cli add-group-template - Add group templateadd-guest - Manage add guest
cipp-cli add-guest - Add guestadd-intune-reusable-setting - Manage add intune reusable setting
cipp-cli add-intune-reusable-setting - Add intune reusable settingadd-intune-reusable-setting-template - Manage add intune reusable setting template
cipp-cli add-intune-reusable-setting-template - Add intune reusable setting templateadd-intune-template - Manage add intune template
cipp-cli add-intune-template - Add intune templateadd-jitadmin-template - Manage add jitadmin template
cipp-cli add-jitadmin-template - Add jitadmin templateadd-mspapp - Manage add mspapp
cipp-cli add-mspapp - Add mspappadd-named-location - Manage add named location
cipp-cli add-named-location - Add named locationadd-office-app - Manage add office app
cipp-cli add-office-app - Add office appadd-policy - Manage add policy
cipp-cli add-policy - Add policyadd-quarantine-policy - Manage add quarantine policy
cipp-cli add-quarantine-policy - Add quarantine policyadd-retention-compliance-policy - Manage add retention compliance policy
cipp-cli add-retention-compliance-policy - Add retention compliance policyadd-retention-compliance-policy-template - Manage add retention compliance policy template
cipp-cli add-retention-compliance-policy-template - Add retention compliance policy templateadd-room-list - Manage add room list
cipp-cli add-room-list - Add room listadd-room-mailbox - Manage add room mailbox
cipp-cli add-room-mailbox - Add room mailboxadd-safe-links-policy-from-template - Manage add safe links policy from template
cipp-cli add-safe-links-policy-from-template - This function deploys SafeLinks policies and rules from templates to selected tenants.add-safe-links-policy-template - Manage add safe links policy template
cipp-cli add-safe-links-policy-template - Add safe links policy templateadd-scheduled-item - Manage add scheduled item
cipp-cli add-scheduled-item - Add scheduled itemadd-scripted-alert - Manage add scripted alert
cipp-cli add-scripted-alert - Add scripted alertadd-sensitive-info-type - Manage add sensitive info type
cipp-cli add-sensitive-info-type - Add sensitive info typeadd-sensitive-info-type-template - Manage add sensitive info type template
cipp-cli add-sensitive-info-type-template - Add sensitive info type templateadd-sensitivity-label - Manage add sensitivity label
cipp-cli add-sensitivity-label - Add sensitivity labeladd-sensitivity-label-template - Manage add sensitivity label template
cipp-cli add-sensitivity-label-template - Add sensitivity label templateadd-shared-mailbox - Manage add shared mailbox
cipp-cli add-shared-mailbox - Add shared mailboxadd-site - Manage add site
cipp-cli add-site - Add siteadd-site-bulk - Manage add site bulk
cipp-cli add-site-bulk - Add site bulkadd-spam-filter - Manage add spam filter
cipp-cli add-spam-filter - Add spam filteradd-spam-filter-template - Manage add spam filter template
cipp-cli add-spam-filter-template - Add spam filter templateadd-standards-deploy - Manage add standards deploy
cipp-cli add-standards-deploy - Add standards deployadd-standards-template - Manage add standards template
cipp-cli add-standards-template - Add standards templateadd-store-app - Manage add store app
cipp-cli add-store-app - Add store appadd-team - Manage add team
cipp-cli add-team - Add teamadd-tenant - Manage add tenant
cipp-cli add-tenant - Add tenantadd-tenant-allow-block-list - Manage add tenant allow block list
cipp-cli add-tenant-allow-block-list - Add tenant allow block listadd-tenant-allow-block-list-template - Manage add tenant allow block list template
cipp-cli add-tenant-allow-block-list-template - Add tenant allow block list templateadd-test-report - Manage add test report
cipp-cli add-test-report - Add test reportadd-transport-rule - Manage add transport rule
cipp-cli add-transport-rule - Add transport ruleadd-transport-template - Manage add transport template
cipp-cli add-transport-template - Add transport templateadd-user - Manage add user
cipp-cli add-user - Create a new user in a tenant, optionally scheduledadd-user-bulk - Manage add user bulk
cipp-cli add-user-bulk - Bulk-create users in a tenant via CSV importadd-user-defaults - Manage add user defaults
cipp-cli add-user-defaults - Add user defaultsadd-win32-script-app - Manage add win32 script app
cipp-cli add-win32-script-app - Add win32script appbest-practice-analyser-list - Manage best practice analyser list
cipp-cli best-practice-analyser-list - Best practice analyser_listcreate-safe-links-policy-template - Manage create safe links policy template
cipp-cli create-safe-links-policy-template - This function creates a new Safe Links policy template from scratch.delete-sharepoint-site - Manage delete sharepoint site
cipp-cli delete-sharepoint-site - Delete sharepoint sitedelete-test-report - Manage delete test report
cipp-cli delete-test-report - Delete test reportdeploy-contact-templates - Manage deploy contact templates
cipp-cli deploy-contact-templates - This function deploys contact(s) from template(s) to selected tenants.edit-anti-phishing-filter - Manage edit anti phishing filter
cipp-cli edit-anti-phishing-filter - Edit anti phishing filteredit-assignment-filter - Manage edit assignment filter
cipp-cli edit-assignment-filter - Edit assignment filteredit-capolicy - Manage edit capolicy
cipp-cli edit-capolicy - Edit capolicyedit-contact - Manage edit contact
cipp-cli edit-contact - Edit contactedit-contact-templates - Manage edit contact templates
cipp-cli edit-contact-templates - Edit contact templatesedit-dlp-compliance-policy - Manage edit dlp compliance policy
cipp-cli edit-dlp-compliance-policy - Edit dlp compliance policyedit-equipment-mailbox - Manage edit equipment mailbox
cipp-cli edit-equipment-mailbox - Edit equipment mailboxedit-ex-connector - Manage edit ex connector
cipp-cli edit-ex-connector - Edit ex connectoredit-group - Manage edit group
cipp-cli edit-group - Edit groupedit-intune-policy - Manage edit intune policy
cipp-cli edit-intune-policy - Edit intune policyedit-intune-script - Manage edit intune script
cipp-cli edit-intune-script - Edit intune scriptedit-jitadmin-template - Manage edit jitadmin template
cipp-cli edit-jitadmin-template - Edit jitadmin templateedit-malware-filter - Manage edit malware filter
cipp-cli edit-malware-filter - Edit malware filteredit-policy - Manage edit policy
cipp-cli edit-policy - Edit policyedit-quarantine-policy - Manage edit quarantine policy
cipp-cli edit-quarantine-policy - Edit quarantine policyedit-retention-compliance-policy - Manage edit retention compliance policy
cipp-cli edit-retention-compliance-policy - Edit retention compliance policyedit-room-list - Manage edit room list
cipp-cli edit-room-list - Edit room listedit-room-mailbox - Manage edit room mailbox
cipp-cli edit-room-mailbox - Edit room mailboxedit-safe-attachments-filter - Manage edit safe attachments filter
cipp-cli edit-safe-attachments-filter - Edit safe attachments filteredit-safe-links-policy - Manage edit safe links policy
cipp-cli edit-safe-links-policy - This function modifies an existing Safe Links policy and its associated rule.edit-safe-links-policy-template - Manage edit safe links policy template
cipp-cli edit-safe-links-policy-template - This function updates an existing Safe Links policy template.edit-sensitive-info-type - Manage edit sensitive info type
cipp-cli edit-sensitive-info-type - Edit sensitive info typeedit-sensitivity-label - Manage edit sensitivity label
cipp-cli edit-sensitivity-label - Edit sensitivity labeledit-spam-filter - Manage edit spam filter
cipp-cli edit-spam-filter - Edit spam filteredit-tenant - Manage edit tenant
cipp-cli edit-tenant - Edit tenantedit-tenant-offboarding-defaults - Manage edit tenant offboarding defaults
cipp-cli edit-tenant-offboarding-defaults - Edit tenant offboarding defaultsedit-transport-rule - Manage edit transport rule
cipp-cli edit-transport-rule - Edit transport ruleedit-user - Manage edit user
cipp-cli edit-user - Edit useredit-user-aliases - Manage edit user aliases
cipp-cli edit-user-aliases - Edit user aliasesexec-access-checks - Manage exec access checks
cipp-cli exec-access-checks - Exec access checksexec-add-alert - Manage exec add alert
cipp-cli exec-add-alert - Exec add alertexec-add-gdaprole - Manage exec add gdaprole
cipp-cli exec-add-gdaprole - Exec add gdaproleexec-add-multi-tenant-app - Manage exec add multi tenant app
cipp-cli exec-add-multi-tenant-app - Exec add multi tenant appexec-add-spn - Manage exec add spn
cipp-cli exec-add-spn - Exec add spnexec-add-tenant - Manage exec add tenant
cipp-cli exec-add-tenant - Exec add tenantexec-add-trusted-ip - Manage exec add trusted ip
cipp-cli exec-add-trusted-ip - Exec add trusted ipexec-alerts-list - Manage exec alerts list
cipp-cli exec-alerts-list - Exec alerts listexec-api-client - Manage exec api client
cipp-cli exec-api-client - Exec api clientexec-apipermission-list - Manage exec apipermission list
cipp-cli exec-apipermission-list - Exec apipermission listexec-app-approval - Manage exec app approval
cipp-cli exec-app-approval - Exec app approvalexec-app-approval-template - Manage exec app approval template
cipp-cli exec-app-approval-template - Exec app approval templateexec-app-insights-query - Manage exec app insights query
cipp-cli exec-app-insights-query - Exec app insights queryexec-app-permission-template - Manage exec app permission template
cipp-cli exec-app-permission-template - Exec app permission templateexec-app-upload - Manage exec app upload
cipp-cli exec-app-upload - Exec app uploadexec-application - Manage exec application
cipp-cli exec-application - Exec applicationexec-assign-apdevice - Manage exec assign apdevice
cipp-cli exec-assign-apdevice - Exec assign apdeviceexec-assign-app - Manage exec assign app
cipp-cli exec-assign-app - Exec assign appexec-assign-policy - Manage exec assign policy
cipp-cli exec-assign-policy - Exec assign policyexec-assignment-filter - Manage exec assignment filter
cipp-cli exec-assignment-filter - Exec assignment filterexec-audit-log-search - Manage exec audit log search
cipp-cli exec-audit-log-search - Exec audit log searchexec-auto-extend-gdap - Manage exec auto extend gdap
cipp-cli exec-auto-extend-gdap - Exec auto extend gdapexec-az-bobby-tables - Manage exec az bobby tables
cipp-cli exec-az-bobby-tables - This function is used to interact with Azure Tables.exec-backend-urls - Manage exec backend urls
cipp-cli exec-backend-urls - Exec backend urlsexec-backup-retention-config - Manage exec backup retention config
cipp-cli exec-backup-retention-config - Exec backup retention configexec-beccheck - Manage exec beccheck
cipp-cli exec-beccheck - Exec beccheckexec-becremediate - Manage exec becremediate
cipp-cli exec-becremediate - Exec becremediateexec-bitlocker-search - Manage exec bitlocker search
cipp-cli exec-bitlocker-search - Exec bitlocker searchexec-bpa - Manage exec bpa
cipp-cli exec-bpa - Exec bpaexec-branding-settings - Manage exec branding settings
cipp-cli exec-branding-settings - Exec branding settingsexec-breach-search - Manage exec breach search
cipp-cli exec-breach-search - Exec breach searchexec-bulk-license - Manage exec bulk license
cipp-cli exec-bulk-license - Exec bulk licenseexec-cacheck - Manage exec cacheck
cipp-cli exec-cacheck - Exec cacheckexec-caexclusion - Manage exec caexclusion
cipp-cli exec-caexclusion - Exec caexclusionexec-caservice-exclusion - Manage exec caservice exclusion
cipp-cli exec-caservice-exclusion - Exec caservice exclusionexec-cipp-function - Manage exec cipp function
cipp-cli exec-cipp-function - This function is used to execute a CIPPCore function from an HTTP request.exec-cipp-logs-sas - Manage exec cipp logs sas
cipp-cli exec-cipp-logs-sas - Creates a long-lived, read-only SAS URL for the CippLogs Azure Storage table.exec-cipp-replacemap - Manage exec cipp replacemap
cipp-cli exec-cipp-replacemap - Exec cipp replacemapexec-cippdbcache - Manage exec cippdbcache
cipp-cli exec-cippdbcache - Exec cippdbcacheexec-clone-template - Manage exec clone template
cipp-cli exec-clone-template - Exec clone templateexec-clr-imm-id - Manage exec clr imm id
cipp-cli exec-clr-imm-id - Exec clr imm idexec-combined-setup - Manage exec combined setup
cipp-cli exec-combined-setup - Exec combined setupexec-community-repo - Manage exec community repo
cipp-cli exec-community-repo - This function makes changes to a community repository in table storageexec-compare-intune-policy - Manage exec compare intune policy
cipp-cli exec-compare-intune-policy - Exec compare intune policyexec-convert-mailbox - Manage exec convert mailbox
cipp-cli exec-convert-mailbox - Exec convert mailboxexec-copy-for-sent - Manage exec copy for sent
cipp-cli exec-copy-for-sent - Exec copy for sentexec-cpvpermissions - Manage exec cpvpermissions
cipp-cli exec-cpvpermissions - Exec cpvpermissionsexec-cpvrefresh - Manage exec cpvrefresh
cipp-cli exec-cpvrefresh - This endpoint is used to trigger a refresh of CPV for all tenantsexec-create-app-template - Manage exec create app template
cipp-cli exec-create-app-template - Exec create app templateexec-create-default-groups - Manage exec create default groups
cipp-cli exec-create-default-groups - This function creates a set of default tenant groups that are commonly usedexec-create-samapp - Manage exec create samapp
cipp-cli exec-create-samapp - Exec create samappexec-create-tap - Manage exec create tap
cipp-cli exec-create-tap - Exec create tapexec-csplicense - Manage exec csplicense
cipp-cli exec-csplicense create - Exec csplicensecipp-cli exec-csplicense list - Exec csplicenseexec-custom-data - Manage exec custom data
cipp-cli exec-custom-data - Exec custom dataexec-custom-role - Manage exec custom role
cipp-cli exec-custom-role - Exec custom roleexec-custom-script - Manage exec custom script
cipp-cli exec-custom-script - Exec custom scriptexec-delete-gdaprelationship - Manage exec delete gdaprelationship
cipp-cli exec-delete-gdaprelationship - Exec delete gdaprelationshipexec-delete-gdaprole-mapping - Manage exec delete gdaprole mapping
cipp-cli exec-delete-gdaprole-mapping - Exec delete gdaprole mappingexec-delete-safe-links-policy - Manage exec delete safe links policy
cipp-cli exec-delete-safe-links-policy - This function deletes a Safe Links rule and its associated policy.exec-deploy-app-template - Manage exec deploy app template
cipp-cli exec-deploy-app-template - Exec deploy app templateexec-device-action - Manage exec device action
cipp-cli exec-device-action - Exec device actionexec-device-code-logon - Manage exec device code logon
cipp-cli exec-device-code-logon - Exec device code logonexec-device-delete - Manage exec device delete
cipp-cli exec-device-delete - Exec device deleteexec-device-passcode-action - Manage exec device passcode action
cipp-cli exec-device-passcode-action - Exec device passcode actionexec-diagnostics-presets - Manage exec diagnostics presets
cipp-cli exec-diagnostics-presets - Exec diagnostics presetsexec-disable-user - Manage exec disable user
cipp-cli exec-disable-user - Exec disable userexec-dismiss-risky-user - Manage exec dismiss risky user
cipp-cli exec-dismiss-risky-user - Exec dismiss risky userexec-dns-config - Manage exec dns config
cipp-cli exec-dns-config - Exec dns configexec-domain-action - Manage exec domain action
cipp-cli exec-domain-action - Exec domain actionexec-domain-analyser - Manage exec domain analyser
cipp-cli exec-domain-analyser - Exec domain analyserexec-drift-clone - Manage exec drift clone
cipp-cli exec-drift-clone - Exec drift cloneexec-durable-functions - Manage exec durable functions
cipp-cli exec-durable-functions - Exec durable functionsexec-edit-calendar-permissions - Manage exec edit calendar permissions
cipp-cli exec-edit-calendar-permissions - Exec edit calendar permissionsexec-edit-mailbox-permissions - Manage exec edit mailbox permissions
cipp-cli exec-edit-mailbox-permissions - Exec edit mailbox permissionsexec-edit-template - Manage exec edit template
cipp-cli exec-edit-template - Exec edit templateexec-email-forward - Manage exec email forward
cipp-cli exec-email-forward - Exec email forwardexec-enable-archive - Manage exec enable archive
cipp-cli exec-enable-archive - Exec enable archiveexec-enable-auto-expanding-archive - Manage exec enable auto expanding archive
cipp-cli exec-enable-auto-expanding-archive - Exec enable auto expanding archiveexec-exchange-role-repair - Manage exec exchange role repair
cipp-cli exec-exchange-role-repair - Exec exchange role repairexec-exclude-licenses - Manage exec exclude licenses
cipp-cli exec-exclude-licenses - Exec exclude licensesexec-exclude-tenant - Manage exec exclude tenant
cipp-cli exec-exclude-tenant - Exec exclude tenantexec-extension-clear-hibpkey - Manage exec extension clear hibpkey
cipp-cli exec-extension-clear-hibpkey - Exec extension clear hibpkeyexec-extension-mapping - Manage exec extension mapping
cipp-cli exec-extension-mapping - Exec extension mappingexec-extension-ninja-one-queue - Manage exec extension ninja one queue
cipp-cli exec-extension-ninja-one-queue - Exec extension ninja one queueexec-extension-sync - Manage exec extension sync
cipp-cli exec-extension-sync - Exec extension syncexec-extension-test - Manage exec extension test
cipp-cli exec-extension-test - Exec extension testexec-extensions-config - Manage exec extensions config
cipp-cli exec-extensions-config - Exec extensions configexec-feature-flag - Manage exec feature flag
cipp-cli exec-feature-flag - Exec feature flagexec-gdapaccess-assignment - Manage exec gdapaccess assignment
cipp-cli exec-gdapaccess-assignment - Exec gdapaccess assignmentexec-gdapinvite - Manage exec gdapinvite
cipp-cli exec-gdapinvite - Exec gdapinviteexec-gdapinvite-approved - Manage exec gdapinvite approved
cipp-cli exec-gdapinvite-approved - Exec gdapinvite approvedexec-gdapremove-garole - Manage exec gdapremove garole
cipp-cli exec-gdapremove-garole - Exec gdapremove garoleexec-gdaprole-template - Manage exec gdaprole template
cipp-cli exec-gdaprole-template - Exec gdaprole templateexec-gdaptrace - Manage exec gdaptrace
cipp-cli exec-gdaptrace - GDAP Access Path Testing: 1. Validates input parameters (TenantFilter and UPN) 2.exec-generate-report-builder-report - Manage exec generate report builder report
cipp-cli exec-generate-report-builder-report - Exec generate report builder reportexec-geo-iplookup - Manage exec geo iplookup
cipp-cli exec-geo-iplookup - Exec geo iplookupexec-get-local-admin-password - Manage exec get local admin password
cipp-cli exec-get-local-admin-password - Exec get local admin passwordexec-get-recovery-key - Manage exec get recovery key
cipp-cli exec-get-recovery-key - Exec get recovery keyexec-git-hub-action - Manage exec git hub action
cipp-cli exec-git-hub-action - Invoke GitHub Actionexec-graph-explorer-preset - Manage exec graph explorer preset
cipp-cli exec-graph-explorer-preset - Exec graph explorer presetexec-graph-request-profile - Manage exec graph request profile
cipp-cli exec-graph-request-profile - Exec graph request profileexec-groups-delete - Manage exec groups delete
cipp-cli exec-groups-delete - Exec groups deleteexec-groups-delivery-management - Manage exec groups delivery management
cipp-cli exec-groups-delivery-management - Exec groups delivery managementexec-groups-hide-from-gal - Manage exec groups hide from gal
cipp-cli exec-groups-hide-from-gal - Exec groups hide from galexec-hide-from-gal - Manage exec hide from gal
cipp-cli exec-hide-from-gal - Exec hide from galexec-hveuser - Manage exec hveuser
cipp-cli exec-hveuser - Exec hveuserexec-incidents-list - Manage exec incidents list
cipp-cli exec-incidents-list - Exec incidents listexec-jitadmin - Manage exec jitadmin
cipp-cli exec-jitadmin - Just-in-time admin management API endpoint.exec-jitadmin-settings - Manage exec jitadmin settings
cipp-cli exec-jitadmin-settings - Exec jitadmin settingsexec-license-search - Manage exec license search
cipp-cli exec-license-search - Exec license searchexec-list-app-id - Manage exec list app id
cipp-cli exec-list-app-id create - Exec list app idcipp-cli exec-list-app-id list - Exec list app idexec-list-backup - Manage exec list backup
cipp-cli exec-list-backup - Exec list backupexec-log-retention-config - Manage exec log retention config
cipp-cli exec-log-retention-config - Exec log retention configexec-mail-test - Manage exec mail test
cipp-cli exec-mail-test - Exec mail testexec-mailbox-mobile-devices - Manage exec mailbox mobile devices
cipp-cli exec-mailbox-mobile-devices - Exec mailbox mobile devicesexec-mailbox-restore - Manage exec mailbox restore
cipp-cli exec-mailbox-restore - Exec mailbox restoreexec-maintenance-scripts - Manage exec maintenance scripts
cipp-cli exec-maintenance-scripts - Exec maintenance scriptsexec-manage-app-credentials - Manage exec manage app credentials
cipp-cli exec-manage-app-credentials - Exec manage app credentialsexec-manage-retention-policies - Manage exec manage retention policies
cipp-cli exec-manage-retention-policies - Exec manage retention policiesexec-manage-retention-tags - Manage exec manage retention tags
cipp-cli exec-manage-retention-tags - Exec manage retention tagsexec-mdo-alerts-list - Manage exec mdo alerts list
cipp-cli exec-mdo-alerts-list - Exec mdo alerts listexec-modify-cal-perms - Manage exec modify cal perms
cipp-cli exec-modify-cal-perms - Exec modify cal permsexec-modify-contact-perms - Manage exec modify contact perms
cipp-cli exec-modify-contact-perms - Exec modify contact permsexec-modify-mbperms - Manage exec modify mbperms
cipp-cli exec-modify-mbperms - Exec modify mbpermsexec-named-location - Manage exec named location
cipp-cli exec-named-location - Exec named locationexec-new-safe-links-policy - Manage exec new safe links policy
cipp-cli exec-new-safe-links-policy - This function creates a new Safe Links policy and an associated rule.exec-notification-config - Manage exec notification config
cipp-cli exec-notification-config - Exec notification configexec-offboard-tenant - Manage exec offboard tenant
cipp-cli exec-offboard-tenant - Exec offboard tenantexec-offboard-user - Manage exec offboard user
cipp-cli exec-offboard-user - Offboard a user with configurable options for mailbox conversion, access delegation, license removal, and moreexec-offload-functions - Manage exec offload functions
cipp-cli exec-offload-functions - Exec offload functionsexec-onboard-tenant - Manage exec onboard tenant
cipp-cli exec-onboard-tenant - Exec onboard tenantexec-one-drive-short-cut - Manage exec one drive short cut
cipp-cli exec-one-drive-short-cut - Exec one drive short cutexec-onedrive-provision - Manage exec onedrive provision
cipp-cli exec-onedrive-provision - Exec onedrive provisionexec-partner-mode - Manage exec partner mode
cipp-cli exec-partner-mode - Exec partner modeexec-partner-webhook - Manage exec partner webhook
cipp-cli exec-partner-webhook - Exec partner webhookexec-password-config - Manage exec password config
cipp-cli exec-password-config - Exec password configexec-password-never-expires - Manage exec password never expires
cipp-cli exec-password-never-expires - Exec password never expiresexec-per-user-mfa - Manage exec per user mfa
cipp-cli exec-per-user-mfa - Exec per user mfaexec-permission-repair - Manage exec permission repair
cipp-cli exec-permission-repair - Merges new permissions from the SAM manifest into the AppPermissions entry for CIPP-SAM.exec-quarantine-management - Manage exec quarantine management
cipp-cli exec-quarantine-management - Exec quarantine managementexec-remove-mailbox-rule - Manage exec remove mailbox rule
cipp-cli exec-remove-mailbox-rule - Exec remove mailbox ruleexec-remove-restricted-user - Manage exec remove restricted user
cipp-cli exec-remove-restricted-user - Removes a user from the restricted senders list in Exchange Online.exec-remove-snooze - Manage exec remove snooze
cipp-cli exec-remove-snooze - Exec remove snoozeexec-remove-teams-voice-phone-number-assignment - Manage exec remove teams voice phone number assignment
cipp-cli exec-remove-teams-voice-phone-number-assignment - Exec remove teams voice phone number assignmentexec-remove-tenant - Manage exec remove tenant
cipp-cli exec-remove-tenant - Exec remove tenantexec-rename-apdevice - Manage exec rename apdevice
cipp-cli exec-rename-apdevice - Exec rename apdeviceexec-report-builder-template - Manage exec report builder template
cipp-cli exec-report-builder-template - Exec report builder templateexec-reprocess-user-licenses - Manage exec reprocess user licenses
cipp-cli exec-reprocess-user-licenses - Exec reprocess user licensesexec-reset-mfa - Manage exec reset mfa
cipp-cli exec-reset-mfa - Exec reset mfaexec-reset-pass - Manage exec reset pass
cipp-cli exec-reset-pass - Exec reset passexec-restore-backup - Manage exec restore backup
cipp-cli exec-restore-backup - Exec restore backupexec-restore-deleted - Manage exec restore deleted
cipp-cli exec-restore-deleted - Exec restore deletedexec-revoke-sessions - Manage exec revoke sessions
cipp-cli exec-revoke-sessions - Exec revoke sessionsexec-run-backup - Manage exec run backup
cipp-cli exec-run-backup - Exec run backupexec-run-tenant-group-rule - Manage exec run tenant group rule
cipp-cli exec-run-tenant-group-rule - This function executes dynamic tenant group rules for immediate membership updatesexec-samapp-permissions - Manage exec samapp permissions
cipp-cli exec-samapp-permissions - Exec samapp permissionsexec-samroles - Manage exec samroles
cipp-cli exec-samroles - Exec samrolesexec-samsetup - Manage exec samsetup
cipp-cli exec-samsetup - Exec samsetupexec-schedule-forwarding-vacation - Manage exec schedule forwarding vacation
cipp-cli exec-schedule-forwarding-vacation - Exec schedule forwarding vacationexec-schedule-mailbox-vacation - Manage exec schedule mailbox vacation
cipp-cli exec-schedule-mailbox-vacation - Exec schedule mailbox vacationexec-schedule-ooovacation - Manage exec schedule ooovacation
cipp-cli exec-schedule-ooovacation - Exec schedule ooovacationexec-scheduler-billing-run - Manage exec scheduler billing run
cipp-cli exec-scheduler-billing-run - Exec scheduler billing runexec-send-org-message - Manage exec send org message
cipp-cli exec-send-org-message - Exec send org messageexec-send-push - Manage exec send push
cipp-cli exec-send-push - Exec send pushexec-service-principals - Manage exec service principals
cipp-cli exec-service-principals - Exec service principalsexec-set-apdevice-group-tag - Manage exec set apdevice group tag
cipp-cli exec-set-apdevice-group-tag - Exec set apdevice group tagexec-set-calendar-processing - Manage exec set calendar processing
cipp-cli exec-set-calendar-processing - Exec set calendar processingexec-set-cippauto-backup - Manage exec set cippauto backup
cipp-cli exec-set-cippauto-backup - Exec set cippauto backupexec-set-cloud-managed - Manage exec set cloud managed
cipp-cli exec-set-cloud-managed - Sets the cloud-managed status of a user, group, or contact.exec-set-litigation-hold - Manage exec set litigation hold
cipp-cli exec-set-litigation-hold - Exec set litigation holdexec-set-mailbox-email-size - Manage exec set mailbox email size
cipp-cli exec-set-mailbox-email-size - Exec set mailbox email sizeexec-set-mailbox-locale - Manage exec set mailbox locale
cipp-cli exec-set-mailbox-locale - Exec set mailbox localeexec-set-mailbox-quota - Manage exec set mailbox quota
cipp-cli exec-set-mailbox-quota - Exec set mailbox quotaexec-set-mailbox-retention-policies - Manage exec set mailbox retention policies
cipp-cli exec-set-mailbox-retention-policies - Exec set mailbox retention policiesexec-set-mailbox-rule - Manage exec set mailbox rule
cipp-cli exec-set-mailbox-rule - Exec set mailbox ruleexec-set-mdo-alert - Manage exec set mdo alert
cipp-cli exec-set-mdo-alert - Exec set mdo alertexec-set-oo-o - Manage exec set oo o
cipp-cli exec-set-oo-o - Exec set oo oexec-set-package-tag - Manage exec set package tag
cipp-cli exec-set-package-tag - Exec set package tagexec-set-recipient-limits - Manage exec set recipient limits
cipp-cli exec-set-recipient-limits - Exec set recipient limitsexec-set-retention-hold - Manage exec set retention hold
cipp-cli exec-set-retention-hold - Exec set retention holdexec-set-security-alert - Manage exec set security alert
cipp-cli exec-set-security-alert - Exec set security alertexec-set-security-incident - Manage exec set security incident
cipp-cli exec-set-security-incident - Exec set security incidentexec-set-share-point-member - Manage exec set share point member
cipp-cli exec-set-share-point-member - Exec set share point memberexec-set-user-photo - Manage exec set user photo
cipp-cli exec-set-user-photo - Exec set user photoexec-share-point-perms - Manage exec share point perms
cipp-cli exec-share-point-perms - Exec share point permsexec-snooze-alert - Manage exec snooze alert
cipp-cli exec-snooze-alert - Exec snooze alertexec-standard-convert - Manage exec standard convert
cipp-cli exec-standard-convert - Exec standard convertexec-standards-run - Manage exec standards run
cipp-cli exec-standards-run - Exec standards runexec-start-managed-folder-assistant - Manage exec start managed folder assistant
cipp-cli exec-start-managed-folder-assistant - Exec start managed folder assistantexec-sync-apdevices - Manage exec sync apdevices
cipp-cli exec-sync-apdevices - Exec sync apdevicesexec-sync-dep - Manage exec sync dep
cipp-cli exec-sync-dep - Syncs devices from Apple Business Manager to Intuneexec-sync-vpp - Manage exec sync vpp
cipp-cli exec-sync-vpp - Exec sync vppexec-teams-voice-phone-number-assignment - Manage exec teams voice phone number assignment
cipp-cli exec-teams-voice-phone-number-assignment - Exec teams voice phone number assignmentexec-tenant-group - Manage exec tenant group
cipp-cli exec-tenant-group - This function is used to manage tenant groups in CIPPexec-test-refresh - Manage exec test refresh
cipp-cli exec-test-refresh - Exec test refreshexec-test-run - Manage exec test run
cipp-cli exec-test-run - Exec test runexec-time-settings - Manage exec time settings
cipp-cli exec-time-settings - Exec time settingsexec-token-exchange - Manage exec token exchange
cipp-cli exec-token-exchange - Exec token exchangeexec-universal-search - Manage exec universal search
cipp-cli exec-universal-search - Exec universal searchexec-universal-search-v2 - Manage exec universal search v2
cipp-cli exec-universal-search-v2 - Exec universal search v2exec-update-drift-deviation - Manage exec update drift deviation
cipp-cli exec-update-drift-deviation - Exec update drift deviationexec-update-refresh-token - Manage exec update refresh token
cipp-cli exec-update-refresh-token - Exec update refresh tokenexec-update-secure-score - Manage exec update secure score
cipp-cli exec-update-secure-score - Exec update secure scoreexec-user-bookmarks - Manage exec user bookmarks
cipp-cli exec-user-bookmarks - Exec user bookmarksexec-user-settings - Manage exec user settings
cipp-cli exec-user-settings - Exec user settingsexec-webhook-subscriptions - Manage exec webhook subscriptions
cipp-cli exec-webhook-subscriptions - Exec webhook subscriptionsget-cipp-alerts - Manage get cipp alerts
cipp-cli get-cipp-alerts - Get cipp alertsget-version - Manage get version
cipp-cli get-version - Get versionlist-active-sync-devices - Manage list active sync devices
cipp-cli list-active-sync-devices - List active sync deviceslist-admin-portal-licenses - Manage list admin portal licenses
cipp-cli list-admin-portal-licenses - List admin portal licenseslist-alerts-queue - Manage list alerts queue
cipp-cli list-alerts-queue - List alerts queuelist-all-tenant-device-compliance - Manage list all tenant device compliance
cipp-cli list-all-tenant-device-compliance - List all tenant device compliancelist-anti-phishing-filters - Manage list anti phishing filters
cipp-cli list-anti-phishing-filters - List anti phishing filterslist-apdevices - Manage list apdevices
cipp-cli list-apdevices - List apdeviceslist-api-test - Manage list api test
cipp-cli list-api-test - List api testlist-app-approval-templates - Manage list app approval templates
cipp-cli list-app-approval-templates - List app approval templateslist-app-consent-requests - Manage list app consent requests
cipp-cli list-app-consent-requests - List app consent requestslist-app-protection-policies - Manage list app protection policies
cipp-cli list-app-protection-policies - List app protection policieslist-app-status - Manage list app status
cipp-cli list-app-status - List app statuslist-app-templates - Manage list app templates
cipp-cli list-app-templates - List app templateslist-application-queue - Manage list application queue
cipp-cli list-application-queue - List application queuelist-apps - Manage list apps
cipp-cli list-apps - List appslist-apps-repository - Manage list apps repository
cipp-cli list-apps-repository - List apps repositorylist-assignment-filter-templates - Manage list assignment filter templates
cipp-cli list-assignment-filter-templates - List assignment filter templateslist-assignment-filters - Manage list assignment filters
cipp-cli list-assignment-filters - List assignment filterslist-audit-log-searches - Manage list audit log searches
cipp-cli list-audit-log-searches - List audit log searcheslist-audit-log-test - Manage list audit log test
cipp-cli list-audit-log-test - List audit log testlist-audit-logs - Manage list audit logs
cipp-cli list-audit-logs - List audit logslist-autopilotconfig - Manage list autopilotconfig
cipp-cli list-autopilotconfig - List autopilotconfiglist-available-tests - Manage list available tests
cipp-cli list-available-tests - List available testslist-azure-adconnect-status - Manage list azure adconnect status
cipp-cli list-azure-adconnect-status - List azure adconnect statuslist-basic-auth - Manage list basic auth
cipp-cli list-basic-auth - List basic authlist-bpa - Manage list bpa
cipp-cli list-bpa - List bpalist-bpatemplates - Manage list bpatemplates
cipp-cli list-bpatemplates - List bpatemplateslist-breaches-account - Manage list breaches account
cipp-cli list-breaches-account - List breaches accountlist-breaches-tenant - Manage list breaches tenant
cipp-cli list-breaches-tenant - List breaches tenantlist-calendar-permissions - Manage list calendar permissions
cipp-cli list-calendar-permissions - List calendar permissionslist-catemplates - Manage list catemplates
cipp-cli list-catemplates - List catemplateslist-check-ext-alerts - Manage list check ext alerts
cipp-cli list-check-ext-alerts - List check ext alertslist-cipp-queue - Manage list cipp queue
cipp-cli list-cipp-queue - List cipp queuelist-community-repos - Manage list community repos
cipp-cli list-community-repos - This function lists community repositories in Table Storagelist-compliance-policies - Manage list compliance policies
cipp-cli list-compliance-policies - List compliance policieslist-conditional-access-policies - Manage list conditional access policies
cipp-cli list-conditional-access-policies - List conditional access policieslist-conditional-access-policy-changes - Manage list conditional access policy changes
cipp-cli list-conditional-access-policy-changes - List conditional access policy changeslist-connection-filter - Manage list connection filter
cipp-cli list-connection-filter - List connection filterlist-connection-filter-templates - Manage list connection filter templates
cipp-cli list-connection-filter-templates - List connection filter templateslist-contact-permissions - Manage list contact permissions
cipp-cli list-contact-permissions - List contact permissionslist-contact-templates - Manage list contact templates
cipp-cli list-contact-templates - List contact templateslist-contacts - Manage list contacts
cipp-cli list-contacts - List contactslist-csplicenses - Manage list csplicenses
cipp-cli list-csplicenses - List csplicenseslist-cspsku - Manage list cspsku
cipp-cli list-cspsku - List cspskulist-custom-data-mappings - Manage list custom data mappings
cipp-cli list-custom-data-mappings - List custom data mappingslist-custom-role - Manage list custom role
cipp-cli list-custom-role - List custom rolelist-custom-scripts - Manage list custom scripts
cipp-cli list-custom-scripts - List custom scriptslist-custom-variables - Manage list custom variables
cipp-cli list-custom-variables - List custom variableslist-dbcache - Manage list dbcache
cipp-cli list-dbcache - List dbcachelist-defender-state - Manage list defender state
cipp-cli list-defender-state - List defender statelist-defender-tvm - Manage list defender tvm
cipp-cli list-defender-tvm - List defender tvmlist-deleted-items - Manage list deleted items
cipp-cli list-deleted-items - List deleted itemslist-detected-app-devices - Manage list detected app devices
cipp-cli list-detected-app-devices - List detected app deviceslist-detected-apps - Manage list detected apps
cipp-cli list-detected-apps - List detected appslist-device-details - Manage list device details
cipp-cli list-device-details - List device detailslist-devices - Manage list devices
cipp-cli list-devices - List deviceslist-diagnostics-presets - Manage list diagnostics presets
cipp-cli list-diagnostics-presets - List diagnostics presetslist-directory-objects - Manage list directory objects
cipp-cli list-directory-objects - List directory objectslist-dlp-compliance-policy - Manage list dlp compliance policy
cipp-cli list-dlp-compliance-policy - List dlp compliance policylist-dlp-compliance-policy-templates - Manage list dlp compliance policy templates
cipp-cli list-dlp-compliance-policy-templates - List dlp compliance policy templateslist-domain-analyser - Manage list domain analyser
cipp-cli list-domain-analyser - List domain analyserlist-domain-health - Manage list domain health
cipp-cli list-domain-health - List domain healthlist-domains - Manage list domains
cipp-cli list-domains - List domainslist-equipment - Manage list equipment
cipp-cli list-equipment - List equipmentlist-ex-connector-templates - Manage list ex connector templates
cipp-cli list-ex-connector-templates - List ex connector templateslist-exchange-connectors - Manage list exchange connectors
cipp-cli list-exchange-connectors - List exchange connectorslist-excluded-licenses - Manage list excluded licenses
cipp-cli list-excluded-licenses - List excluded licenseslist-exo-request - Manage list exo request
cipp-cli list-exo-request - List exo requestlist-extension-cache-data - Manage list extension cache data
cipp-cli list-extension-cache-data - This function is used to list the extension cache data.list-extension-sync - Manage list extension sync
cipp-cli list-extension-sync - List extension synclist-extensions-config - Manage list extensions config
cipp-cli list-extensions-config - List extensions configlist-external-tenant-info - Manage list external tenant info
cipp-cli list-external-tenant-info - List external tenant infolist-feature-flags - Manage list feature flags
cipp-cli list-feature-flags - List feature flagslist-function-parameters - Manage list function parameters
cipp-cli list-function-parameters - List function parameterslist-function-stats - Manage list function stats
cipp-cli list-function-stats - List function statslist-gdapaccess-assignments - Manage list gdapaccess assignments
cipp-cli list-gdapaccess-assignments - List gdapaccess assignmentslist-gdapcontracts - Manage list gdapcontracts
cipp-cli list-gdapcontracts - List gdapcontractslist-gdapinvite - Manage list gdapinvite
cipp-cli list-gdapinvite - List gdapinvitelist-gdaprelationships - Manage list gdaprelationships
cipp-cli list-gdaprelationships - List gdaprelationshipslist-gdaproles - Manage list gdaproles
cipp-cli list-gdaproles - List gdaproleslist-gdapservice-principals - Manage list gdapservice principals
cipp-cli list-gdapservice-principals - List gdapservice principalslist-generated-reports - Manage list generated reports
cipp-cli list-generated-reports - List generated reportslist-generic-test-function - Manage list generic test function
cipp-cli list-generic-test-function - List generic test functionlist-git-hub-release-notes - Manage list git hub release notes
cipp-cli list-git-hub-release-notes - Returns release metadata for the provided repository and semantic version. Hotfix versions (e.g. v8.5.list-global-address-list - Manage list global address list
cipp-cli list-global-address-list - List global address listlist-graph-bulk-request - Manage list graph bulk request
cipp-cli list-graph-bulk-request - List graph bulk requestlist-graph-explorer-presets - Manage list graph explorer presets
cipp-cli list-graph-explorer-presets - List graph explorer presetslist-graph-reports - Manage list graph reports
cipp-cli list-graph-reports - List graph reportslist-graph-request - Manage list graph request
cipp-cli list-graph-request - List graph requestlist-group-sender-authentication - Manage list group sender authentication
cipp-cli list-group-sender-authentication - List group sender authenticationlist-group-templates - Manage list group templates
cipp-cli list-group-templates - List group templateslist-groups - Manage list groups
cipp-cli list-groups - List groupslist-halo-clients - Manage list halo clients
cipp-cli list-halo-clients - List halo clientslist-inactive-accounts - Manage list inactive accounts
cipp-cli list-inactive-accounts - List inactive accountslist-intune-intents - Manage list intune intents
cipp-cli list-intune-intents - List intune intentslist-intune-policy - Manage list intune policy
cipp-cli list-intune-policy - List intune policylist-intune-reusable-setting-templates - Manage list intune reusable setting templates
cipp-cli list-intune-reusable-setting-templates - List intune reusable setting templateslist-intune-reusable-settings - Manage list intune reusable settings
cipp-cli list-intune-reusable-settings - List intune reusable settingslist-intune-script - Manage list intune script
cipp-cli list-intune-script - List intune scriptlist-intune-templates - Manage list intune templates
cipp-cli list-intune-templates - List intune templateslist-ipwhitelist - Manage list ipwhitelist
cipp-cli list-ipwhitelist - List ipwhitelistlist-jitadmin - Manage list jitadmin
cipp-cli list-jitadmin - List Just-in-time admin users for a tenant or all tenants.list-jitadmin-templates - Manage list jitadmin templates
cipp-cli list-jitadmin-templates - List jitadmin templateslist-known-ipdb - Manage list known ipdb
cipp-cli list-known-ipdb - List known ipdblist-licenses - Manage list licenses
cipp-cli list-licenses - List licenseslist-logs - Manage list logs
cipp-cli list-logs - List logslist-mail-quarantine - Manage list mail quarantine
cipp-cli list-mail-quarantine - List mail quarantinelist-mail-quarantine-message - Manage list mail quarantine message
cipp-cli list-mail-quarantine-message - List mail quarantine messagelist-mailbox-cas - Manage list mailbox cas
cipp-cli list-mailbox-cas - List mailbox caslist-mailbox-forwarding - Manage list mailbox forwarding
cipp-cli list-mailbox-forwarding - List mailbox forwardinglist-mailbox-mobile-devices - Manage list mailbox mobile devices
cipp-cli list-mailbox-mobile-devices - List mailbox mobile deviceslist-mailbox-restores - Manage list mailbox restores
cipp-cli list-mailbox-restores - List mailbox restoreslist-mailbox-rules - Manage list mailbox rules
cipp-cli list-mailbox-rules - List mailbox ruleslist-mailboxes - Manage list mailboxes
cipp-cli list-mailboxes - List mailboxeslist-malware-filters - Manage list malware filters
cipp-cli list-malware-filters - List malware filterslist-mdeonboarding - Manage list mdeonboarding
cipp-cli list-mdeonboarding - List mdeonboardinglist-message-trace - Manage list message trace
cipp-cli list-message-trace - List message tracelist-mfausers - Manage list mfausers
cipp-cli list-mfausers - List mfauserslist-named-locations - Manage list named locations
cipp-cli list-named-locations - List named locationslist-new-user-defaults - Manage list new user defaults
cipp-cli list-new-user-defaults - List new user defaultslist-notification-config - Manage list notification config
cipp-cli list-notification-config - List notification configlist-oauth-apps - Manage list oauth apps
cipp-cli list-oauth-apps - List oauth appslist-offboard-tenants - Manage list offboard tenants
cipp-cli list-offboard-tenants - List offboard tenantslist-oo-o - Manage list oo o
cipp-cli list-oo-o - List oo olist-org - Manage list org
cipp-cli list-org - List orglist-partner-relationships - Manage list partner relationships
cipp-cli list-partner-relationships - List partner relationshipslist-pending-webhooks - Manage list pending webhooks
cipp-cli list-pending-webhooks - List pending webhookslist-per-user-mfa - Manage list per user mfa
cipp-cli list-per-user-mfa - List per user mfalist-potential-apps - Manage list potential apps
cipp-cli list-potential-apps - List potential appslist-quarantine-policy - Manage list quarantine policy
cipp-cli list-quarantine-policy - List quarantine policylist-report-builder-templates - Manage list report builder templates
cipp-cli list-report-builder-templates - List report builder templateslist-reseller-relationship-link - Manage list reseller relationship link
cipp-cli list-reseller-relationship-link - List reseller relationship linklist-restricted-users - Manage list restricted users
cipp-cli list-restricted-users - Lists users from the restricted senders list in Exchange Online.list-retention-compliance-policy - Manage list retention compliance policy
cipp-cli list-retention-compliance-policy - List retention compliance policylist-retention-compliance-policy-templates - Manage list retention compliance policy templates
cipp-cli list-retention-compliance-policy-templates - List retention compliance policy templateslist-roles - Manage list roles
cipp-cli list-roles - List roleslist-room-lists - Manage list room lists
cipp-cli list-room-lists - List room listslist-rooms - Manage list rooms
cipp-cli list-rooms - List roomslist-safe-attachments-filters - Manage list safe attachments filters
cipp-cli list-safe-attachments-filters - List safe attachments filterslist-safe-links-policy - Manage list safe links policy
cipp-cli list-safe-links-policy - This function is used to list the Safe Links policies in the tenant, including unmatched rules and policies.list-safe-links-policy-details - Manage list safe links policy details
cipp-cli list-safe-links-policy-details - This function retrieves details for a specific Safe Links policy and rule.list-safe-links-policy-template-details - Manage list safe links policy template details
cipp-cli list-safe-links-policy-template-details - This function retrieves details for a specific Safe Links policy template.list-safe-links-policy-templates - Manage list safe links policy templates
cipp-cli list-safe-links-policy-templates - List safe links policy templateslist-scheduled-item-details - Manage list scheduled item details
cipp-cli list-scheduled-item-details - List scheduled item detailslist-scheduled-items - Manage list scheduled items
cipp-cli list-scheduled-items - List scheduled itemslist-sensitive-info-type - Manage list sensitive info type
cipp-cli list-sensitive-info-type - List sensitive info typelist-sensitive-info-type-templates - Manage list sensitive info type templates
cipp-cli list-sensitive-info-type-templates - List sensitive info type templateslist-sensitivity-label - Manage list sensitivity label
cipp-cli list-sensitivity-label - List sensitivity labellist-sensitivity-label-templates - Manage list sensitivity label templates
cipp-cli list-sensitivity-label-templates - List sensitivity label templateslist-service-health - Manage list service health
cipp-cli list-service-health - List service healthlist-shared-mailbox-account-enabled - Manage list shared mailbox account enabled
cipp-cli list-shared-mailbox-account-enabled - List shared mailbox account enabledlist-shared-mailbox-statistics - Manage list shared mailbox statistics
cipp-cli list-shared-mailbox-statistics - List shared mailbox statisticslist-sharepoint-admin-url - Manage list sharepoint admin url
cipp-cli list-sharepoint-admin-url - List sharepoint admin urllist-sharepoint-quota - Manage list sharepoint quota
cipp-cli list-sharepoint-quota - List sharepoint quotalist-sharepoint-settings - Manage list sharepoint settings
cipp-cli list-sharepoint-settings - List sharepoint settingslist-sign-ins - Manage list sign ins
cipp-cli list-sign-ins - List sign inslist-site-members - Manage list site members
cipp-cli list-site-members - List site memberslist-sites - Manage list sites
cipp-cli list-sites - List siteslist-snoozed-alerts - Manage list snoozed alerts
cipp-cli list-snoozed-alerts - List snoozed alertslist-spam-filter-templates - Manage list spam filter templates
cipp-cli list-spam-filter-templates - List spam filter templateslist-spamfilter - Manage list spamfilter
cipp-cli list-spamfilter - List spamfilterlist-standard-templates - Manage list standard templates
cipp-cli list-standard-templates - List standard templateslist-standards - Manage list standards
cipp-cli list-standards - List standardslist-standards-compare - Manage list standards compare
cipp-cli list-standards-compare - List standards comparelist-standards-current-state - Manage list standards current state
cipp-cli list-standards-current-state - List standards current statelist-teams - Manage list teams
cipp-cli list-teams - List teamslist-teams-activity - Manage list teams activity
cipp-cli list-teams-activity - List teams activitylist-teams-lis-location - Manage list teams lis location
cipp-cli list-teams-lis-location - List teams lis locationlist-teams-voice - Manage list teams voice
cipp-cli list-teams-voice - List teams voicelist-tenant-alignment - Manage list tenant alignment
cipp-cli list-tenant-alignment - List tenant alignmentlist-tenant-allow-block-list - Manage list tenant allow block list
cipp-cli list-tenant-allow-block-list - List tenant allow block listlist-tenant-allow-block-list-templates - Manage list tenant allow block list templates
cipp-cli list-tenant-allow-block-list-templates - List tenant allow block list templateslist-tenant-details - Manage list tenant details
cipp-cli list-tenant-details - List tenant detailslist-tenant-drift - Manage list tenant drift
cipp-cli list-tenant-drift - List tenant driftlist-tenant-groups - Manage list tenant groups
cipp-cli list-tenant-groups - Entrypoint for listing tenant groupslist-tenant-onboarding - Manage list tenant onboarding
cipp-cli list-tenant-onboarding - List tenant onboardinglist-tenants - Manage list tenants
cipp-cli list-tenants - List tenantslist-test-reports - Manage list test reports
cipp-cli list-test-reports - Lists all available test reports from JSON files and databaselist-tests - Manage list tests
cipp-cli list-tests - Lists tests for a tenant, optionally filtered by report IDlist-transport-rules - Manage list transport rules
cipp-cli list-transport-rules - List transport ruleslist-transport-rules-templates - Manage list transport rules templates
cipp-cli list-transport-rules-templates - List transport rules templateslist-user-conditional-access-policies - Manage list user conditional access policies
cipp-cli list-user-conditional-access-policies - List user conditional access policieslist-user-counts - Manage list user counts
cipp-cli list-user-counts - List user countslist-user-devices - Manage list user devices
cipp-cli list-user-devices - List user deviceslist-user-groups - Manage list user groups
cipp-cli list-user-groups - List user groupslist-user-mailbox-details - Manage list user mailbox details
cipp-cli list-user-mailbox-details - List user mailbox detailslist-user-mailbox-rules - Manage list user mailbox rules
cipp-cli list-user-mailbox-rules - List user mailbox ruleslist-user-photo - Manage list user photo
cipp-cli list-user-photo - List user photolist-user-settings - Manage list user settings
cipp-cli list-user-settings - List user settingslist-user-signin-logs - Manage list user signin logs
cipp-cli list-user-signin-logs - List user signin logslist-user-trusted-blocked-senders - Manage list user trusted blocked senders
cipp-cli list-user-trusted-blocked-senders - List user trusted blocked senderslist-users - Manage list users
cipp-cli list-users - List userslist-users-and-groups - Manage list users and groups
cipp-cli list-users-and-groups - List users and groupslist-webhook-alert - Manage list webhook alert
cipp-cli list-webhook-alert - List webhook alertlistmailbox-permissions - Manage listmailbox permissions
cipp-cli listmailbox-permissions - Listmailbox permissionspatch-user - Manage patch user
cipp-cli patch-user - Patch userpublic-phishing-check - Manage public phishing check
cipp-cli public-phishing-check - Public phishing checkpublic-ping - Manage public ping
cipp-cli public-ping - Public pingpublic-webhooks - Manage public webhooks
cipp-cli public-webhooks - Public webhooksremove-apdevice - Manage remove apdevice
cipp-cli remove-apdevice - Remove apdeviceremove-app - Manage remove app
cipp-cli remove-app - Remove appremove-app-template - Manage remove app template
cipp-cli remove-app-template - Remove app templateremove-assignment-filter-template - Manage remove assignment filter template
cipp-cli remove-assignment-filter-template - Remove assignment filter templateremove-autopilot-config - Manage remove autopilot config
cipp-cli remove-autopilot-config - Remove autopilot configremove-bpatemplate - Manage remove bpatemplate
cipp-cli remove-bpatemplate - Remove bpatemplateremove-capolicy - Manage remove capolicy
cipp-cli remove-capolicy - Remove capolicyremove-catemplate - Manage remove catemplate
cipp-cli remove-catemplate - Remove catemplateremove-cipp-queue - Manage remove cipp queue
cipp-cli remove-cipp-queue - Remove cipp queueremove-connectionfilter-template - Manage remove connectionfilter template
cipp-cli remove-connectionfilter-template - Remove connectionfilter templateremove-contact - Manage remove contact
cipp-cli remove-contact - Remove contactremove-contact-templates - Manage remove contact templates
cipp-cli remove-contact-templates - Remove contact templatesremove-custom-script - Manage remove custom script
cipp-cli remove-custom-script - Remove custom scriptremove-deleted-object - Manage remove deleted object
cipp-cli remove-deleted-object - Remove deleted objectremove-dlp-compliance-policy - Manage remove dlp compliance policy
cipp-cli remove-dlp-compliance-policy - Remove dlp compliance policyremove-dlp-compliance-policy-template - Manage remove dlp compliance policy template
cipp-cli remove-dlp-compliance-policy-template - Remove dlp compliance policy templateremove-ex-connector - Manage remove ex connector
cipp-cli remove-ex-connector - Remove ex connectorremove-ex-connector-template - Manage remove ex connector template
cipp-cli remove-ex-connector-template - Remove ex connector templateremove-group-template - Manage remove group template
cipp-cli remove-group-template - Remove group templateremove-intune-reusable-setting - Manage remove intune reusable setting
cipp-cli remove-intune-reusable-setting - Remove intune reusable settingremove-intune-reusable-setting-template - Manage remove intune reusable setting template
cipp-cli remove-intune-reusable-setting-template - Remove intune reusable setting templateremove-intune-script - Manage remove intune script
cipp-cli remove-intune-script - Remove intune scriptremove-intune-template - Manage remove intune template
cipp-cli remove-intune-template - Remove intune templateremove-jitadmin-template - Manage remove jitadmin template
cipp-cli remove-jitadmin-template - Remove jitadmin templateremove-policy - Manage remove policy
cipp-cli remove-policy - Remove policyremove-quarantine-policy - Manage remove quarantine policy
cipp-cli remove-quarantine-policy - Remove quarantine policyremove-queued-alert - Manage remove queued alert
cipp-cli remove-queued-alert - Remove queued alertremove-queued-app - Manage remove queued app
cipp-cli remove-queued-app - Remove queued appremove-retention-compliance-policy - Manage remove retention compliance policy
cipp-cli remove-retention-compliance-policy - Remove retention compliance policyremove-retention-compliance-policy-template - Manage remove retention compliance policy template
cipp-cli remove-retention-compliance-policy-template - Remove retention compliance policy templateremove-safe-links-policy-template - Manage remove safe links policy template
cipp-cli remove-safe-links-policy-template - Remove safe links policy templateremove-scheduled-item - Manage remove scheduled item
cipp-cli remove-scheduled-item - Removes a scheduled item from CIPP's scheduler.remove-sensitive-info-type - Manage remove sensitive info type
cipp-cli remove-sensitive-info-type - Remove sensitive info typeremove-sensitive-info-type-template - Manage remove sensitive info type template
cipp-cli remove-sensitive-info-type-template - Remove sensitive info type templateremove-sensitivity-label - Manage remove sensitivity label
cipp-cli remove-sensitivity-label - Remove sensitivity labelremove-sensitivity-label-template - Manage remove sensitivity label template
cipp-cli remove-sensitivity-label-template - Remove sensitivity label templateremove-spamfilter - Manage remove spamfilter
cipp-cli remove-spamfilter - Remove spamfilterremove-spamfilter-template - Manage remove spamfilter template
cipp-cli remove-spamfilter-template - Remove spamfilter templateremove-standard - Manage remove standard
cipp-cli remove-standard - Remove standardremove-standard-template - Manage remove standard template
cipp-cli remove-standard-template - Remove standard templateremove-tenant-allow-block-list - Manage remove tenant allow block list
cipp-cli remove-tenant-allow-block-list - Remove tenant allow block listremove-tenant-allow-block-list-template - Manage remove tenant allow block list template
cipp-cli remove-tenant-allow-block-list-template - Remove tenant allow block list templateremove-tenant-capabilities-cache - Manage remove tenant capabilities cache
cipp-cli remove-tenant-capabilities-cache - Remove tenant capabilities cacheremove-transport-rule - Manage remove transport rule
cipp-cli remove-transport-rule - Remove transport ruleremove-transport-rule-template - Manage remove transport rule template
cipp-cli remove-transport-rule-template - Remove transport rule templateremove-trusted-blocked-sender - Manage remove trusted blocked sender
cipp-cli remove-trusted-blocked-sender - Remove trusted blocked senderremove-user - Manage remove user
cipp-cli remove-user - Remove userremove-user-default-template - Manage remove user default template
cipp-cli remove-user-default-template - Remove user default templateremove-webhook-alert - Manage remove webhook alert
cipp-cli remove-webhook-alert - Remove webhook alertset-auth-method - Manage set auth method
cipp-cli set-auth-method - Set auth methodbulk
cipp-cli bulk - Drive CIPP deploy, user and mailbox actions from a CSV across tenants: plan-only unless --execute, with Retry-After backoff, per-row resume and HTTP-200 failure detection.ca
cipp-cli ca diff - Find which tenants deviate from the Conditional Access baseline the rest of the fleet shares.changes
cipp-cli changes - Show rows of any stored resource added, removed or modified between two fanout snapshots.fanout
cipp-cli fanout - Run any CIPP read endpoint across every client tenant at once and save the results locally.gdap
cipp-cli gdap expiring - List delegated-admin relationships expiring inside a window, plus stored tenants with no active relationship (reads the partner-wide relationship list live; needs credentials).licenses
cipp-cli licenses waste - Total reclaimable licenses by SKU or by user from stored user license assignments and sign-in activity, with SKU names from stored license rows.posture
cipp-cli posture - A per-tenant table for one chosen posture dimension (MFA, Conditional Access, Standards, BPA, DLP, retention or sensitivity labels) from the local store.scorecard
cipp-cli scorecard - Every stored signal about one tenant in a single record, each with the time its data was saved.standards
cipp-cli standards drift - Show every tenant whose Standards settings changed between two stored snapshots; --since picks the base snapshot.users
cipp-cli users stale - List enabled, licensed accounts with no sign-in in N days from the stored users rows.
cipp-cli users offboard-check - Find disabled accounts that still hold mail forwarding, inbox rules, directory roles or licenses.
When you know what you want to do but not which command does it, ask the CLI directly:
cipp-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match - fall back to --help or use a narrower query. --json (and other machine formats) keep that exit-2 contract and write {"matches":[]} on stdout so agents can inspect the envelope without treating a miss as success.
cipp-cli fanout --endpoint /ListMFAUsers --all-tenants --save && cipp-cli posture --dimension mfa --agent
Save every tenant's MFA rows, then read one offline, scriptable MFA table from your store.
cipp-cli list-tenants --agent --select displayName,defaultDomainName,customerId
CIPP tenant payloads carry dozens of fields per tenant; --select keeps only the three an agent needs so the response stays small.
cipp-cli standards drift --since 7d --agent
Compares the newest stored standards snapshot with the newest one at least seven days old and lists per-tenant changes.
cipp-cli gdap expiring --days 30 --agent
Lists relationships ending inside the window plus any tenant with no active relationship at all.
cipp-cli fanout --preset offboarding --all-tenants --save && cipp-cli users offboard-check --agent
Refresh the store, then list disabled accounts still holding forwarding, inbox rules, roles or licenses.
cipp-cli bulk --from offboards.csv --dry-run --agent
Prints which action would run against which tenant, with no writes; add --execute to perform them.
CIPP is self-hosted, so point the CLI at your own instance. Create an API client in CIPP under Integrations > CIPP-API (use a read-only Custom Role while you are testing). Run cipp-cli auth login with the Client ID, Tenant ID and base URL, passing --client-secret - to read the secret from stdin so it stays out of shell history; the CLI performs the OAuth2 client-credentials exchange against login.microsoftonline.com, caches the token, and re-mints it before it expires. For a static bearer token instead, pipe it to cipp-cli auth set-token (reads stdin) or set CIPP_API_KEY, and set CIPP_BASE_URL. The base URL is the value CIPP shows you and must include /api. auth status shows which credential is in use, auth logout removes it, and CIPP_NO_CONFIG_WRITE keeps credentials off disk. If you get 401 or 403, check that the API client's IP allowlist includes this host.
Run cipp-cli doctor to verify setup.
Add --agent to any command. Expands to: --json --compact --no-input --no-color.
Global format flags share one contract on promoted, novel, and --deliver paths:
--json - one JSON document on stdout (progress and notes go to stderr)
--compact - keep identity/status/timestamp fields; does not change the document vs stream shape
--csv / --plain - tabular rows (collection envelopes unwrap to the row array). --csv prefixes ' on a cell or header key that starts with =, +, -, @, tab, CR, or LF (fullwidth =+-@ too) so a spreadsheet does not run it as a formula; a plain signed number such as -5 or +2.5e3 is unchanged.
--quiet - one identity value per row, no envelope
Pipeable - JSON on stdout, errors on stderr
Filterable - --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
cipp-cli best-practice-analyser-list --agent
Previewable - --dry-run shows the request without sending
Offline-friendly - store-reading commands (posture, scorecard, ca diff, licenses waste, users stale, users offboard-check, standards drift, changes) run offline from the local SQLite store that fanout --save populates
Non-interactive - never prompts, every input is a flag
Explicit confirmation - --agent does not imply --yes; pass --yes separately only after the target, arguments, and side effects are clear
Explicit retries - use --idempotent only when an already-existing create (HTTP 409) should count as success. Do not rely on --ignore-missing: it is accepted but not honored, so a delete-method command whose target is missing still exits 3
Commands that read from the local store or the API wrap output in a provenance envelope:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set - piped/agent consumers and explicit-format runs get pure JSON on stdout.
Agents should treat the CLI's path resolver as part of the runtime contract:
Use --home <dir> for one invocation, or set CIPP_HOME=<dir> to relocate all four path kinds under one root.
Use per-kind env vars only when a specific kind must diverge: CIPP_CONFIG_DIR, CIPP_DATA_DIR, CIPP_STATE_DIR, CIPP_CACHE_DIR.
Resolution order is per-kind env var, --home, CIPP_HOME, XDG (XDG_CONFIG_HOME, XDG_DATA_HOME, XDG_STATE_HOME, XDG_CACHE_HOME), then platform defaults.
config contains settings like config.toml and profiles. data contains credentials.toml, data.db, cookies, and auth sidecars. state contains persisted queries, jobs, and teach.log. cache contains regenerable HTTP/cache files.
Stored secrets live in credentials.toml under the data dir. Existing legacy config.toml secrets are read for compatibility and leave config.toml on the first auth write.
Run cipp-cli doctor --fail-on warn to surface path and credential-location warnings. agent-context exposes a schema v4 paths block for agents that need the resolved dirs.
For MCP, pass relocation through the MCP host config. The MCP binary does not inherit CLI flags:
{
"mcpServers": {
"cipp": {
"command": "cipp-mcp",
"env": {
"CIPP_HOME": "/srv/cipp"
}
}
}
}
Fleet precedence: an inherited per-kind env var overrides an explicit --home for that kind. Use CIPP_HOME or per-kind vars as durable fleet levers, and use --home only for a single invocation. Relocation is not reversible by unsetting env vars; move files manually before clearing CIPP_HOME, or doctor will not find credentials left under the former root.
Local data is unencrypted and relies on OS account permissions plus disk encryption. Reads in the default --data-source auto mode are written to the SQLite store; GET responses are cached for five minutes under the cache dir. local-data purge previews what it would erase (store files, response cache, learn journal) and deletes only with --yes; it is not exposed over MCP. CIPP_NO_LOCAL_DATA=1 disables the response cache and store writes, turns auto reads into live reads, and makes fanout --save refuse; --data-source local still reads an existing store, and CIPP_DATA_SOURCE sets the --data-source default.
This CLI ships a self-capturing learning loop. The CLI does its own bookkeeping: every invocation is journaled locally, a failed flag followed by a corrected retry auto-derives a flag_alias candidate, and a teach on a query family without a playbook auto-synthesizes a playbook_candidate from the session's journal. Your job is judgment only: recall first, act on surfaced candidates, teach the final answer, playbook amend when you observe a correction. You never record failures by hand.
recall before any discoveryBefore list/search/drill commands on a new user question, pass the question as an argv or MCP tool argument to recall --agent. Do not interpolate user-controlled text into a shell command line.
Quoted recall "<question>" breaks on an apostrophe, which is ordinary English. A quoted heredoc breaks when a body line equals the delimiter, and that delimiter is published in these docs. Write the question with a non-shell file-writing tool, then read it back as data:
# Write the question verbatim with your file-writing tool (no shell involved).
# Command substitution on a file only ever yields data - the shell never
# parses the file's bytes as syntax.
QUERY=$(cat /path/to/question.txt)
cipp-cli recall "$QUERY" --agent
Prefer MCP: pass the question as the tool's query argument. "$QUERY" after a file read is argv-safe; putting the question itself in the command text is not.
The response envelope:
{
"query": "...",
"normalized": "<normalized form>",
"query_entities": ["..."],
"found": true | false,
"match_score": 0.0,
"results": [
{ "resource_id": "...", "resource_type": "...", "venue": "...",
"confidence": 2, "entity_match": "exact|partial|unknown",
"source": "taught|preseed|pattern", "warnings": ["..."] }
],
"mismatches": [ /* only when --debug-mismatches */ ],
"warnings": [ /* top-level */ ],
"candidates": [
{ "id": 12, "class": "flag_alias | playbook_candidate",
"summary": "...", "sightings": 3, "last_seen": "...",
"rationale": "...",
"next_action": ["<trial command>", "cipp-cli learnings confirm 12"] }
],
"playbook": {
"query_family": "...",
"playbook": {
"steps": [ { "cmd": "<command with {slot} substitution>", "purpose": "..." } ],
"entity_slots": ["$ENTITY"],
"expected_tool_calls": 3
},
"slots_resolved": { "$ENTITY": { "token": "<live token>", "canonical": "<canonical>" } },
"notes": "<workarounds + gotchas for this query family>"
},
"notes": "<duplicate surface for non-playbook callers>"
}
Empty-store short-circuit: if the store has no learnings, playbooks, or candidates yet (recall finds nothing and learnings list and learnings candidates are both empty), skip recall for the rest of this session instead of taxing every query; resume recall-first once something has been taught.
Read candidates, playbook, notes, results[0], and warnings in that order:
if Candidates present (warnings include "candidates_present"):
-> candidates are try-then-confirm, never facts. Follow each candidate's
two-step next_action verbatim: run the trial command first, then run
`learnings confirm <id>` only after the trial verified the behavior.
Reject a wrong candidate with `learnings reject <id>`.
-> NEVER re-teach something recall surfaced as a candidate; confirm or
reject that candidate instead of teaching a duplicate.
-> candidates ride alongside playbooks and resource hits, not instead of
them; continue with the branches below after acting on them.
if Playbook present:
-> READ Playbook.notes verbatim FIRST (workarounds + gotchas the CLI surface doesn't expose)
-> replay Playbook.steps in order, substituting Playbook.slots_resolved entries
for the entity slot tokens. If a step's slot is unresolved, fall back to
discovery for that step only.
-> the Playbook's expected_tool_calls is a budget; if you find yourself running
materially more, record the divergence via `cipp-cli playbook amend`
at end-of-session.
elif Notes present (no Playbook):
-> read Notes verbatim before any discovery step; they carry known gotchas
for this query family even when no structured choreography exists yet.
elif Found AND Results[0].EntityMatch == "exact" AND Results[0].Confidence >= 2:
-> skip discovery; fetch live data for Results[*].ResourceID in parallel
elif Found AND Results[0].EntityMatch == "partial":
-> candidate hint, NOT a hit; read the resource title to validate before trusting
elif (any row in Mismatches[] when --debug-mismatches was passed):
-> treat as cold start; the stored learning is for a different entity
(different canonical resolved from query_entities)
else: // Found == false, no playbook, no notes
-> cold start; run discovery normally; teach the answer afterward (Step 4).
If the family has no playbook yet, that teach auto-synthesizes a
playbook candidate from this session's journal - you do not need to
record one by hand.
Playbook and Notes are orthogonal to the per-resource path. A recall response can carry both a Playbook AND a Results[] hit - use both: the Playbook tells you which choreography to run; the resource hits short-circuit specific steps. Default to skipping mismatches; pass --debug-mismatches only when investigating cold-start surprises.
Candidate judgment details: learnings confirm <id> prints the candidate's full payload before materializing it - check that the printed payload matches the behavior you verified. learnings reject <id> tombstones the derivation signature so the same candidate does not resurface. The envelope carries only the few candidates worth acting on now; cipp-cli learnings candidates lists the full open set.
Graceful degradation: if learnings confirm is an unknown command, you are driving an older binary - ignore the candidates guidance and follow the rest of the protocol.
warningslow_confidence: row exists at confidence<2. Treat as a hint, not a skip-discovery hit.resource_not_in_store: the local store doesn't have the resource the learning points at. The match validator couldn't classify entities - direct-fetch and re-evaluate.cross_alias_match (per-result): the row was taught under a different alias and matched the live query's canonical via entity_lookups (e.g., a "USA" teach satisfying a "United States" recall). Trust the resource_id.similar_shape_different_entity:<canonical> (top-level): a structurally matching row exists but its canonical entity differs from the live query's. Treated as cold start; the warning carries the conflicting canonical as a hint, but the row is NOT promoted into Results.ambiguous_alias (top-level): a single query entity resolved to multiple canonicals (e.g., "CA" → Conditional Access + Certificate Authority). Surface the ambiguity from context before committing to a resource.candidates_present (top-level): the envelope carries a candidates section. Handle it via the candidates branch in Step 2 before anything else.no_learnings_for_query_family: the table had no rows above the Jaccard floor. Pure cold start.teach & after finalizing your response - alwaysTeaching is unconditional. After resolving a query the store could not answer, background-teach the final resource mapping - no call-count threshold, no judging whether it was "worth" learning. The teach is the anchor of the loop: it triggers playbook synthesis for a family without a playbook, and same-referent phrasings fold into one family so near-duplicate teaches do not fragment the store. Fire it after assembling your user-facing response but BEFORE emitting it, with a shell & so the call returns immediately. Pass the query the same way as recall - argv/MCP, or file-then-$QUERY. Do not splice the question into the command text:
QUERY=$(cat /path/to/question.txt)
cipp-cli teach --query "$QUERY" --resource-type <type> --resource <id1> --resource <id2>
# (append shell `&` to background it)
Silent on success. Errors only land in teach.log under the resolved state dir. Teach the most specific resource - if the user asked a broad question and you walked through parent records to find the specific answer, teach the leaf id, not the parent. The CLI uses seeded entity_lookups for cross-alias resolution at recall time, so a teach under one alias (e.g., "contoso") satisfies future queries under another alias (e.g., "contoso.onmicrosoft.com", "Contoso Ltd") automatically.
PII rule: teach the structural question with identifiers stripped - never include names, emails, phone numbers, account ids, or other personal identifiers in taught queries or notes. The CLI scans teach queries for obvious email/phone shapes and warns, but does not block; strip before teaching rather than relying on the warning.
You do not need to decide whether a session "deserves" a playbook: a teach on a family without one auto-synthesizes a playbook_candidate from the session's journal, and the next session judges it via confirm/reject. Attach explicit playbook flags only when you already hold choreography worth recording verbatim - workarounds the CLI didn't surface (silently-dropped flags, undocumented params, pagination tricks, payload gotchas). Prefer the integrated one-call form - record the resource learning and the playbook in the same teach invocation:
# Common case: record both the resource learning AND the playbook in one call.
QUERY=$(cat /path/to/question.txt)
cipp-cli teach \
--query "$QUERY" \
--resource <id> \
--playbook-file ~/playbooks/<shape>.json \
--playbook-notes-file ~/playbooks/<shape>-notes.md
# (append shell `&` to background it)
# Alternate: playbook-only (no resource to record alongside).
QUERY=$(cat /path/to/question.txt)
cipp-cli teach-playbook \
--query "$QUERY" \
--playbook-file ~/playbooks/<shape>.json \
--notes-file ~/playbooks/<shape>-notes.md
Playbook files are JSON with steps, entity_slots, expected_tool_calls. Notes files are markdown carrying the gotchas verbatim. File-free callers (MCP-only agents) pass the same content inline: --playbook-json and --playbook-notes on the integrated teach form, --playbook-json and --notes on teach-playbook. On the integrated teach form, the playbook flags are optional - omit them entirely for a resource-only teach. On the standalone teach-playbook form, at least one of the playbook and notes flags must be set; both empty is rejected. Playbooks are keyed on the structural query family (entities stripped) so a recipe taught from one entity-shaped query applies to every other query of the same shape, with slots_resolved binding the live query's canonical at recall time.
When you DO find a playbook on a future recall, treat it as ground truth: replay the steps with slots_resolved substitutions, skip the discovery that the choreography already documents, and read notes before any step.
playbook amend & when your debug response identifies a correctionIf your debug-protocol response identifies a concrete correction the notes or playbook should know - a workaround, an undocumented endpoint shape, a stale field name, observed schema drift, an empty-payload fallback - fire playbook amend BEFORE emitting your user-facing response. Same fire-and-forget posture as teach. Pass the query and note as argv/MCP arguments, or write each with a non-shell file tool and read them back (QUERY=$(cat ...), NOTE=$(cat ...)). Do not interpolate either string into the command text:
QUERY=$(cat /path/to/question.txt)
NOTE=$(cat /path/to/note.txt)
cipp-cli playbook amend \
--query "$QUERY" \
--add-note "$NOTE"
# (append shell `&` to background it)
What counts as worth amending: a behavior you OBSERVED this session that future-you would benefit from knowing. Examples worth amending:
{meta, results}, payload nested two levels deeper than the docs claim).What does NOT belong in notes:
The amend command appends to the family's existing notes with a timestamped marker ([amend YYYY-MM-DDTHH:MMZ]: <text>). Multiple amends accumulate; the audit trail is visible. If no playbook exists yet for the family, amend creates a notes-only one (so cold-start corrections still land).
playbook amend notes are designed to potentially flow upstream as shared knowledge in future versions of the Printing Press. Keep them clean of user-identifying content so the upstream-contribution path stays open without retroactive scrubbing:
If a correction is only meaningful with user-specific context, it belongs in a personal note, not in the playbook amend.
cipp-cli learnings stats reports recall hit rate, teach-to-reuse, playbook resolution rate, and candidate confirm/reject counts from the local learn_events table. Rates are null until they have a denominator; everything stays on this machine. Use it to check whether the loop is earning its keep for this CLI.
--no-learn on a single command short-circuits both recall and the teach write path. Use for deterministic agent flows or tests that must not be affected by accumulated learnings.CIPP_NO_LEARN=true in the environment globally disables the pipeline.When you (or the agent) notice something off about this CLI, record it:
cipp-cli feedback "the --since flag is inclusive but docs say exclusive"
cipp-cli feedback --stdin < notes.txt
cipp-cli feedback list --json --limit 10
Entries are stored locally as feedback.jsonl under the resolved data dir. They are never POSTed unless CIPP_FEEDBACK_ENDPOINT is set AND either --send is passed or CIPP_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|---|
stdout | Default; write to stdout only |
file:<path> | Atomically write output to <path> as a private 0600 file (exclusive randomly named temp in the destination directory, then rename; a planted symlink is not followed). Binary-response commands write decoded payload bytes (not the base64 JSON envelope) and print a small JSON receipt on stdout; --json/--csv do not refuse when this sink is set. |
webhook:<url> | POST the output body to the URL (application/json). Redirects are not followed; a 3xx response fails the delivery and the body is not sent to the Location. |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures, including redirects, return non-zero and log the URL and HTTP status on stderr.
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled or recurring agent reuses the same saved flags while providing different input each run.
cipp-cli profile save briefing --json
cipp-cli --profile briefing best-practice-analyser-list
cipp-cli profile list --json
cipp-cli profile show briefing
cipp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 6 | Partial failure |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Parse $ARGUMENTS:
help, or --help → show cipp-cli --help outputinstall → ends with mcp → MCP installation; otherwise → see Prerequisites above--agent)claude mcp add cipp-mcp -- cipp-mcp
claude mcp listFor a remote host, cipp-mcp --transport http requires CIPP_MCP_HTTP_TOKEN (callers send Authorization: Bearer <token>), serves http://127.0.0.1:7777/mcp by default, and needs --tls-cert/--tls-key for any non-loopback --addr. CIPP_MCP_READ_ONLY=1 (exactly 1) drops every tool not marked read-only, cipp_execute and the learn-store writers included.
which cipp-cli
If not found, offer to install (see Prerequisites at the top of this skill).--agent flag:
cipp-cli <command> [subcommand] [args] --agent
cipp-cli <command> --help.AGENTS.md (opens in a new tab)CHANGELOG.md (opens in a new tab)README.md (opens in a new tab)cli/LICENSE (opens in a new tab)cli/Makefile (opens in a new tab)cli/NOTICE (opens in a new tab)cli/cmd/cipp-cli/main.go (opens in a new tab)cli/cmd/cipp-mcp/http_auth_test.go (opens in a new tab)cli/cmd/cipp-mcp/main.go (opens in a new tab)cli/cmd/cipp-mcp/secret_funnel_mcp.go (opens in a new tab)cli/cmd/cipp-mcp/secret_funnel_mcp_test.go (opens in a new tab)cli/go.mod (opens in a new tab)cli/go.sum (opens in a new tab)cli/internal/cache/cache.go (opens in a new tab)cli/internal/cli/agent_context.go (opens in a new tab)cli/internal/cli/api_discovery.go (opens in a new tab)cli/internal/cli/auth.go (opens in a new tab)cli/internal/cli/auth_login.go (opens in a new tab)cli/internal/cli/auth_login_funnel_test.go (opens in a new tab)cli/internal/cli/auth_login_redirect_test.go (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub servosity/msp-skills --plugin cippOther plugins' skills for the same job