79623305

Date: 2025-05-15 12:24:19
Score: 1
Natty:
Report link

I agree with @Prasad-MSFT, this restriction is to uphold a strong security boundary between tenants, preventing unauthorized access to another tenant’s data without explicit permission.

Hence you need to make use of getAllMessages endpoint only and this API always comply with organization’s privacy and compliance policies.

GET https://graph.microsoft.com/v1.0/users/UserID/chats/getAllMessages

enter image description here

This API is not a security loophole — it’s approved officially.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Prasad-MSFT
  • Low reputation (1):
Posted by: Deepthi R