FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

English (US)
FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)
  • Log in
  • Home
  • Service Management
  • Matrix42 Neo for Pro
  • AI for End-users
  • M42 Assist (Teams application)

M42 Assist – Known Issues & Troubleshooting

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Service Management
    Matrix42 Professional Solution Matrix42 Core Solution Enterprise Service Management Matrix42 Neo for Pro
  • Identity Governance and Administration (IGA)
    IGA solution library
  • Platform
    ESM ESS2 ESS Integrations Add-ons
  • Release Notes for M42 Professional, IGA, Conversational AI
    26.2 2026.1 2025.3 2025.2 2025.1 2024.2 2024.1 2023.4 2023.3 2023.2 2023.1 2022.4 2022.3 Release Information and Policies
  • Other Material
    Terms & Documentation Guidelines Accessibility Statements
  • Services
+ More
    • Service Management

    • Identity Governance and Administration (IGA)

    • Platform

    • Release Notes for M42 Professional, IGA, Conversational AI

    • Other Material

    • Services

    • Modernized User Experience with Agent UI

M42 Assist – Known Issues & Troubleshooting

Configuration, Permissions & Integration Issues (Workarounds / Best Practices Available)

KI-01: Teams notifications fail with HTTP 401 Missing Authorization header (ESM 2026.1.1+)

Symptom: Outbound notifications from ESM to MS Teams fail with an HTTP 401 error ("Missing Authorization header").

Root Cause: Library changes introduced in version 2026.1.1 enforce preemptive authentication, requiring a password value that was omitted in the baseline TeamsBot listener.

Resolution / Workaround: Explicitly add a password value to the outbound TeamsBot listener configuration so preemptive authentication succeeds (200 OK).

KI-02: Confusion between WebAPI User Password and EIS.teamsbot.token

Symptom: Authentication errors during ESM-CAI integration setup due to mismatched credentials.

Root Cause: The integration requires two separate secrets: the web-api-user password and the notification API key, which is not explicitly mapped in the ESM system settings instructions.

Resolution:

  • Use the web-api-user password strictly in the Password (Secret) field in CAI Platform → Integrations → ESM Pro API.
  • Generate/copy the API key from the same CAI integration screen and paste it as the value for EIS.teamsbot.token in ESM Administration → System settings.

KI-03: Neo agent does not respond in Teams when sharing an agent with ESM Hero Section

Symptom: Neo works in the ESM 26.2 Hero section / ESS, but fails to authenticate or respond inside MS Teams.

Root Cause: The ESM 26.2 Hero section enforces JWT authentication, which is not supported in the same manner by the MS Teams channel.

Resolution: Create a dedicated Teams-specific agent in the AI Core platform by duplicating the ESS agent (retaining the same knowledge sources and MCPs), and map the Teams project to this separate agent without Hero JWT enforcement. Ensure RAG is enabled and a valid Knowledge Base (KB) is attached (newly created agents default to empty).

KI-04: Portal links in notification cards fail or point to wrong portal (SSC vs. ESS2)

Symptom: Updating the link listener from ESS2 to SSC (Self-Service Catalog) causes notification delivery to fail; reverting to the ESS2 listener restores delivery (200 OK), but generates invalid URLs for customers who do not use ESS2.

Root Cause: The baseline listener script is hardcoded for /ess/request/view/ and /itsm/EfecteFrameset.do... URL structures and does not support SSC routing out of the box.

Workaround: Keep the ESS2 listener structure if Teams notifications are required, or use standard email notifications as a fallback for SSC-only customers until SSC link generation is supported.

KI-05: Outbound actions / ticket operations fail due to insufficient ESM API account permissions

Symptom: Outbound operations from MS Teams to ESM (such as viewing/using ticket actions or updating records via the TeamsBot API account) fail or do not display expected options.

Root Cause: The ESM API user account (web-api-user) was assigned to the baseline Self-Service role, which lacks required attribute-level and folder-level permissions for baseline configuration entities.

Resolution / Best Practice: Do not reuse the baseline Self-Service role for the TeamsBot integration. Create a dedicated custom role specifically for the M42 Assist API account with full read/write permissions to the required ticket attributes and baseline configuration folders.

Open Issues & R&D Backlog Items (Instructions Alone Are Not Sufficient)

R&D-01: Baseline Listener & XML Configuration Package Quality

Details: The downloadable configuration package (v.2026.0.2) contains XML formatting issues that can break expressions upon import, unclear listener execution order, and Jython 2.2 compatibility constraints.

Listener Package Changelog & Execution Order (v2026.2)

The baseline listener bundle has been split into modular, standalone XML files prefixed (01_-07_) to enforce the required execution sequence and prevent import/runtime errors.

Modular Split & Execution Order (01_-07_)

  1. 01_Presave.TeamsConnector.Update_Support_group_2026.2.xml (pre save) – Maps the support group's teams_channel_id and resets teams_message_id upon group reassignment.
  2. 02_Presave.TeamsConnector.Update_Emails_2026.2.xml (pre save) – Populates teams_support_email and teams_customer_email.
  3. 03_Postsave.TeamsConnector.Set_DatacardID_2026.2.xml (post save) – Persists the entity ID into teams_ticket_datacard_id on ticket creation.
  4. 04_Postsave.TeamsConnector.Set_IsUpdate_2026.2.xml (post save) – Initializes teams_is_update = 1 on ticket creation.
  5. 05_Postsave.TeamsConnector.Update_ticket_links_2026.2.xml (post save) – Generates direct ESS (ticket_link_customer) and ITSM (ticket_link_assignee) URLs.
  6. 06_Postsave.TeamsConnector.Status_change_content_write_2026.2.xml (post save) – Serializes status updates into teams_latest_change_on_ticket before payload dispatch.
  7. 07_Postsave.TeamsConnector.Send_to_Teams_bot_2026.2.xml (post save) – Must execute last in the post save chain so all derived attributes (teams_is_update, links, status payload) are populated prior to the HTTP POST call to ${EIS.teamsbot.url}.

XML Formatting & CDATA Protection

Multi-line Jython expressions inside <value> tags (in 05_Postsave...Update_ticket_links and 06_Postsave...Status_change_content_write) are now wrapped in <![CDATA[ ... ]]> blocks to prevent XML parsers from collapsing whitespace or breaking Python indentation during import.

Jython 2.2 Compatibility Fix (06_Postsave...Status_change_content_write)

Replaced import json and json.dumps() (unsupported in Efecte's embedded Jython 2.2 runtime, which caused ImportError: No module named json) with explicit Unicode-safe string serialization and character escaping (\, ", \n, \r).

Jython 2.2 Expression Constraints (Customization Guidelines)

When modifying or extending listener ExpressionAction scripts in Efecte, ensure full compatibility with Jython 2.2:

  • No json module: import json is unavailable in Jython 2.2. Construct JSON payloads via string concatenation with explicit escaping for backslashes, double quotes, and newlines.
  • Unicode handling: Use unicode(value) instead of str(value) when processing text fields (e.g., ticket status or summary) to avoid UnicodeEncodeError on non-ASCII characters.
  • Legacy Python 2.2 syntax only: Do not use ternary expressions (a if cond else b), except Exception as e: (use except Exception, e:), .format(), f-strings, with statements, or set().
  • CDATA wrapping: Always enclose multi-line scripts in <![CDATA[ ... ]]> within <value> elements before exporting or importing listener XML definitions.

R&D-02: Adding ticket comments directly from Teams (Add comment button)

Details: Users should be able to reply/add comments directly from the M42 Assist notification card via an Add comment button next to Open, but the button is not visible/functional in testing despite ESM Outbound enabled configuration.

Action Required: Verify whether this is strictly resolved by the dedicated ESM API role permissions (KI-05) or requires a backend/adaptive card payload fix.

m42 assist

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Related Articles

  • M42 Assist app for Microsoft Teams: Solution description
  • M42 Assist app for Microsoft Teams: Technical Documentation
  • M42 Assist app for Microsoft Teams: Implementation Guide

Copyright 2026 – Matrix42 Professional.

Matrix42 homepage


Knowledge Base Software powered by Helpjuice

0
0
Expand