When the agent runs on a machine that is not joined to an Active Directory domain, the {Domain} value is sent as empty in the Discord notification
This causes the notification formatting to break, specifically the quoting/layout of the message in Discord
A temporary workaround is to add a space before or after {Domain} in the template, which prevents the formatting from breaking:

When the agent runs on a machine that is not joined to an Active Directory domain, the {Domain} value is sent as empty in the Discord notification
This causes the notification formatting to break, specifically the quoting/layout of the message in Discord
A temporary workaround is to add a space before or after
{Domain}in the template, which prevents the formatting from breaking: