Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,273 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm having an issue with /chats?$expand=members
This request returns data but the displayName, email, and tenantId properties on the members are all null, BUT only for users in my tenant. Users from other tenants show this information correctly.
The first 2 members in the sample below are from my tenant. The third member is an external user.
{
"id": "<redacted>",
"topic": null,
"createdDateTime": "2016-11-02T17:28:43.781Z",
"lastUpdatedDateTime": "2021-02-01T19:42:00.055Z",
"chatType": "group",
"members@odata.context": "<redacted>",
"members": [
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "<redacted>",
"roles": [],
"displayName": null,
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
"userId": "f<redacted>3",
"email": null,
"tenantId": null
},
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "<redacted>",
"roles": [],
"displayName": null,
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
"userId": "1<redacted>a",
"email": null,
"tenantId": null
},
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "<redacted>",
"roles": [],
"displayName": "n<redacted>m",
"visibleHistoryStartDateTime": "0001-01-01T00:00:00Z",
"userId": "0<redacted>7",
"email": "n<redacted>m",
"tenantId": "72<redacted>47"
}
]
}
If there any additional steps please share so that i can give a try as well.