计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
cipp-mailboxes【效率与协作】The four Exchange Online mailbox operations CIPP exposes — mailbox inventory, delegate/full-access permission audit, out-of-office, and email forwarding — plus the BEC-remediation, offboarding, and leave-coverage sequences built from them.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Exchange Online mailbox operations through CIPP. The four supported tools cover the highest-frequency MSP mailbox tasks: listing mailboxes for inventory, auditing permissions during BEC investigations, setting OOO for leave/offboarding, and configuring forwarding for transition periods.
cipp_bec_check is in
cipp-users. This skill covers the mailbox layer of the remediation
that follows it.cipp_offboard_user in cipp-users sets OOO,
forwarding, and shared-mailbox conversion in one call; reach for the
individual tools here only when you need step-by-step control.m365 plugin
(Microsoft 365 Mailboxes) or Exchange Online PowerShell.cipp-alerts.cipp_list_mailboxescipp_list_mailboxes(tenantFilter='contoso.onmicrosoft.com')
Returns all mailboxes (User, Shared, Resource, Equipment, Room) with userPrincipalName, recipientTypeDetails, archiveStatus, litigationHoldEnabled, and storage usage. Use as the entry point for any mailbox audit.
cipp_list_mailbox_permissionscipp_list_mailbox_permissions(tenantFilter, userPrincipalName='user@contoso.com')
Lists all delegates and full-access trustees on a mailbox. Critical during BEC investigations — attackers commonly grant themselves Full Access or add a forwarding rule. Always run this on a compromised mailbox before remediation.
cipp_set_out_of_officecipp_set_out_of_office(tenantFilter, userPrincipalName,
enabled=true|false,
internalMessage?, externalMessage?,
startTime?, endTime?)
Use during offboarding (permanent), planned leave (scheduled), or as a tactical control after disabling an account so external senders get a clear bounce-equivalent.
cipp_set_email_forwardingcipp_set_email_forwarding(tenantFilter, userPrincipalName,
forwardingAddress?,
deliverToBoth=true|false,
disable=true|false)
Set disable=true to remove existing forwarding — this is the first action during BEC remediation. Set forwardingAddress to redirect a leaver's mail to their manager during transition.
cipp_list_mailbox_permissions — capture current delegates before changescipp_bec_check for forwarding rules and inbox rulescipp_set_email_forwarding(disable=true) — remove any forwarding the attacker addedIf cipp_offboard_user is run with convertToShared=true, CIPP handles the mailbox conversion internally. For manual control:
cipp_set_out_of_office(enabled=true) with a clear "no longer with the company" messagecipp_set_email_forwarding(forwardingAddress=manager@contoso.com, deliverToBoth=true) to keep a paper trail while routing to the managercipp_set_out_of_office(tenantFilter, userPrincipalName, enabled=true,
internalMessage='Out until 2026-05-15. Contact teamlead@.',
externalMessage='I am out of office. Please contact our team at...',
startTime='2026-05-01T00:00:00Z',
endTime='2026-05-15T00:00:00Z')
Scheduled OOO with start/end times is preferred over enabled=true without dates — it auto-disables on return.
cipp_set_email_forwarding(disable=true) removes all forwarding — including legitimate ones. Capture state first.