I am experiencing weird behaviour with the change of a Team Room name performed in MS Teams Client application that is not showing in Graph API response when I use search endpoint.
Endpoint used: POST https://graph.microsoft.com/v1.0/search/query
Expected behaviour
Change the name of the Team Room in MS Teams
Use POST https://graph.microsoft.com/v1.0/search/query endpoint to retrieve information about the sites
displayName property in search results should correspond to that change (search index updates are expected and some delay)
Actual behaviour
Change the name of the Team Room in MS Teams
Use POST https://graph.microsoft.com/v1.0/search/query endpoint to retrieve information about the sites
displayName property in search results is not shown for days
When I access the SharePoint site/Group page new name is not visible there until I refresh the page two times (some caching thing probably)
Shortly after that Graph API will return the updated name in the response
Steps to reproduce the behaviour
Change the name of the Team Room in MS Teams Client app (Windows 10, Teams app version: 1.5.00.11163 (64-bit))
Wait for some time for search index to be updated
Use POST https://graph.microsoft.com/v1.0/search/query endpoint to retrieve information about the sites
displayName property is still showing the old name
Back link to the original GitHub issue https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/issues/423