Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hello Marko Saric,
A 424 Failed Dependency error on GET /beta/copilot/admin/catalog/packages/{id} indicates that the catalog service relies on downstream services (such as Entra for allowedUsersAndGroups / acquireUsersAndGroups, the sensitivity-label service, or Teams/AppSource metadata) to build the detailed response, and one of these dependencies failed or timed out for that specific request. The list endpoint uses a cached index and is not impacted, while the detail endpoint queries each package individually, which is why failures can seem random and may change between runs.
These issues are usually temporary and should be retried:
- Retry the failed IDs using exponential backoff with jitter (3–5 tries), and respect any Retry-After headers.
- Simplify $select by removing allowedUsersAndGroups, acquireUsersAndGroups, and sensitivity fields to reduce dependency on directory and label services, which lowers the chance of 424 errors. You can fetch these fields separately if needed.
- Limit concurrency (about 4–8 requests at a time) or use small $batch requests to avoid overwhelming downstream services.
- If a particular package consistently fails, collect the request-id or client-request-id headers, as this information is useful for support cases.
If you found the information above helpful, I would appreciate it if you could share your feedback.
Your feedback is important to us. Please rate us: 🤩 Excellent 🙂 Good 😐 Average 🙁 Needs Improvement 😠 Poor