skills/create-change-notification-subscription/SKILL.md
# Create a Change Notification Subscription Subscribe to change notifications for Copilot interactions across Microsoft 365. Enables real-time monitoring, proactive compliance checks, anomaly detection, and auditing. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/subscriptions` - **Operation ID**: `createCopilotSubscription` - **Tag**: Change Notifications - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sa
npx skillsauth add naftiko/microsoft-365-copilot-sandbox skills/create-change-notification-subscriptionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Subscribe to change notifications for Copilot interactions across Microsoft 365. Enables real-time monitoring, proactive compliance checks, anomaly detection, and auditing.
/copilot/subscriptionscreateCopilotSubscriptionMock server URL: http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/subscriptions
Authorization: Bearer {access-token}Content-Type: application/jsonCopilot.ChangeNotification.ReadWrite{
"resource": "/copilot/interactions",
"changeType": "created",
"notificationUrl": "https://contoso.com/webhooks/copilot-notifications",
"expirationDateTime": "2025-10-15T00:00:00Z",
"clientState": "contoso-secret-state-value"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| resource | string | Yes | The resource to monitor (e.g., /copilot/interactions) |
| changeType | string | Yes | Type of change to subscribe to (created, updated) |
| notificationUrl | string | Yes | Webhook URL for notifications |
| expirationDateTime | string | Yes | When the subscription expires (ISO 8601) |
| clientState | string | No | Secret value for validating notifications |
curl -X POST "http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/subscriptions" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{"resource": "/copilot/interactions", "changeType": "created", "notificationUrl": "https://contoso.com/webhooks/copilot-notifications", "expirationDateTime": "2025-10-15T00:00:00Z", "clientState": "contoso-secret-state-value"}'
{
"id": "sub-001-abc",
"resource": "/copilot/interactions",
"changeType": "created",
"notificationUrl": "https://contoso.com/webhooks/copilot-notifications",
"expirationDateTime": "2025-10-15T00:00:00Z",
"clientState": "contoso-secret-state-value",
"createdDateTime": "2025-09-10T12:00:00Z"
}
When the user wants to set up webhook notifications for Copilot interaction events, use this operation by making a POST request to /copilot/subscriptions. Provide the resource to monitor, change type, webhook URL, and expiration. This enables real-time monitoring and compliance auditing.
development
# Renew or Update a Subscription Renew or update the configuration of an existing Copilot change notification subscription. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/subscriptions/{subscriptionId}` - **Operation ID**: `updateCopilotSubscription` - **Tag**: Change Notifications - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-a
development
# Update a Package Update configuration or status of an app or agent deployed in Microsoft 365. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/packages/{packageId}` - **Operation ID**: `updateCopilotPackage` - **Tag**: Packages - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/packages/{packageId}` ## Required He
development
# Send a Message to Microsoft 365 Copilot Enable conversational experiences powered by Microsoft 365 Copilot. Send user messages and receive AI-generated responses grounded in Microsoft 365 data and user context. Supports multi-turn conversations. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/chat/completions` - **Operation ID**: `createChatCompletion` - **Tag**: Chat Completions - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft
development
# Search OneDrive Content Using Natural Language Perform hybrid search (semantic and lexical) across OneDrive for work or school content using natural language queries. Results are returned with contextual understanding and intelligent ranking while maintaining security and compliance. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/search/query` - **Operation ID**: `querySearchContent` - **Tag**: Content Search - **OpenAPI**: [microsoft-copilot-ap