Views:

What's happening?

Agent scripts intermittently fail to load when opening existing cases in Dynamics 365 Customer Service. Users receive an error message stating: "Agent scripts haven’t been created or couldn’t load. Please contact your administrator." However, scripts load correctly when creating new cases or randomly upon reselecting the existing case.

Reason:

Agent scripts are designed to be associated with the session, not the sub-tab. If the agent script is not properly associated with a session template, it may fail to load consistently based on the type of session opened.

Resolution:

For additional guidance on managing agent scripts and session templates, refer to the following documentation: