The error in the Timeline is consistent with a known limitation in the Dynamics 365 Unified Client Interface timeline control when the underlying query exceeds the maximum number of link-entities allowed.
When this happens, the timeline (and features like Highlights that rely on it) can fail to render and show a generic error such as “Something went wrong. Try refreshing,” while the network trace shows a 400 Bad Request with message Number of link entities in query exceeded maximum limit.
To mitigate this in the affected organization:
- Request an increase of
QueryLinkEntityLimit- Open a support ticket with Microsoft (through the standard Dynamics 365 support channel) for the Golden demo tenant.
- Provide the organization URL (for example,
orgcd3e224b.crm5.dynamics.com) and the request ID shown in the error. - Ask support to increase the
QueryLinkEntityLimitsetting for the organization. - Note: Increasing this limit affects all queries with many link-entities and can have some performance impact, though a small increase (by a few units) is typically acceptable.
- Reduce link-entities by adjusting Timeline configuration
- If custom activities and card forms are used in the Timeline:
- Open the form editor for the Lead entity.
- Double-click the Timeline section to open Timeline settings for UCI.
- On the Activities tab, in Additional Options, locate custom activities that use card forms.
- Change their selection to Select Card Form to disable the card form, which reduces link-entities in the query.
- Optionally remove non-essential custom activities from the Timeline:
- In the same Timeline settings for UCI, go to the Activities tab.
- In Filter By, change from Show all to Show selected.
- Deselect custom activities that do not need to appear in the Timeline.
- If custom activities and card forms are used in the Timeline:
After either increasing QueryLinkEntityLimit or reducing the number of custom activities/card forms, refresh the Lead form and verify that the Timeline and Highlights load without error.
References: