Building and customizing solutions using Microsoft 365 Copilot APIs and tools
The copilotPackage: reassign action is a Microsoft Graph /beta API that reassigns ownership of a Copilot package to another user. From the context, only the following behaviors are documented:
- Endpoint:
POST https://graph.microsoft.com/beta/copilot/admin/catalog/packages/{id}/reassign - Required body:
{ "userId": "<new-owner-user-id>" } - Required headers:
-
Authorization: Bearer {token} -
Content-Type: application/json
-
- Required permissions (least privileged):
- Delegated:
CopilotPackages.ReadWrite.All - Application:
CopilotPackages.ReadWrite.All
- Delegated:
- Successful response:
204 No Contentwith no response body.
The context does not provide specific causes or remediation steps for the UnknownError / StatusCode 424 that appears when calling this endpoint. It only states that the API is in preview (/beta) and not supported for production, and that access requires a Microsoft Agent 365 license.
Given the available information, the only supported guidance is:
- Ensure the request matches the documented contract:
- Use the
/beta/copilot/admin/catalog/packages/{id}/reassignURL. - Include
userIdin the JSON body. - Include the required headers.
- Use the
- Ensure the calling identity has
CopilotPackages.ReadWrite.Alland that the tenant has the required Microsoft Agent 365 license. - Because this is a
/betaAPI and the error is not documented, collect therequest-idanddatefrom the error and open a support case so the backend team can investigate the424failure for this specific request.
References: