microsoft-graph-toolkit
microsoft-graph-toolkit copied to clipboard
[BUG] - Chat Component does not receive chat messages, no /subsriptions requests made
Describe the bug The MGTK Chat Component as deployed and configured according to https://learn.microsoft.com/en-us/graph/toolkit/components/chat renders and displays the current state of a conversation. However any new messages sent or received are not shown in the component. I suspect that the subscriptions for new messages is not being set up correctly. No POST requests to /subscriptions are seen. No obvious errors in Console. Reproduced against sample here: https://github.com/microsoftgraph/microsoft-graph-toolkit/tree/next%2Fmgt-chat/samples%2Freact-chat
To Reproduce Steps to reproduce the behavior:
- Add component to project
- Select a user to load/start a chat session. For existing chat sessions, the conversation will be shown.
- Have the user not using the component send you a message (using the Teams client, for instance)
- The new message is not shown in the component
Video repo that shows no calls made to /subscriptions: https://youtu.be/gS-gFwArOQg
Expected behavior Messages sent and received in the chat over time should be displayed in the component.
Screenshots Video repo that shows no calls made to /subscriptions: https://youtu.be/gS-gFwArOQg
Environment (please complete the following information):
- OS: Windows 11
- Browser: Edge
- Framework: React
- Context: Web / Microsoft Teams
- Version [e.g. 0.1]: @microsoft/[email protected]
- M365 / Azure Region: UK