Hi there,
we are developing an app that shows Microsoft Teams chats within an Atlassian Jira issue, so people can chat from Jira back and forth. This is basically an iframe.
When displaying this iframe we use different Ms Graph API calls to show user names, messages etc.
For one customer last week we were facing a situation where certain displayNames of users within these chats couldn't be retrieved and returned an empty string.
When we do the following call for getting the messages via graph:
“https://graph.microsoft.com/v1.0/$metadata#chats('chatIDx')/messages"
The “displayName” of one user (A) is simply empty. In the following screenshot I highlighted the missing name (first for the one user that is missing the displayName (A) and the existing name for the other; I needed to blur them due to data sensitivity):
Image
When we however call the user information for the missing user A via Microsoft Graph we are getting the display Name correctly.
When our customer tries to reproduce this the name is showing up correctly for new chats.
Please note: this did not happen only for one user in this environment but also for other users but they are now working fine.
Would be happy to learn why this can fail and what the reasons might be?
Hi there,
we are developing an app that shows Microsoft Teams chats within an Atlassian Jira issue, so people can chat from Jira back and forth. This is basically an iframe.
When displaying this iframe we use different Ms Graph API calls to show user names, messages etc.
For one customer last week we were facing a situation where certain displayNames of users within these chats couldn't be retrieved and returned an empty string.
When we do the following call for getting the messages via graph:
“https://graph.microsoft.com/v1.0/$metadata#chats('chatIDx')/messages"
The “displayName” of one user (A) is simply empty. In the following screenshot I highlighted the missing name (first for the one user that is missing the displayName (A) and the existing name for the other; I needed to blur them due to data sensitivity):
Image
When we however call the user information for the missing user A via Microsoft Graph we are getting the display Name correctly.
When our customer tries to reproduce this the name is showing up correctly for new chats.
Please note: this did not happen only for one user in this environment but also for other users but they are now working fine.
Would be happy to learn why this can fail and what the reasons might be?