Getting the old DisplayName of Outlook profile via graphServerClient.me after I have changed it

Trong Le 20 Reputation points
2024-03-08T01:43:48.54+00:00

Hi Everyone,

I am attempting to apply GraphAPI to my application, specifically for Outlook email integration. Here are the scope permissions I have utilized:

  • User.Read
  • profile
  • openid

Currently, I am aiming to synchronize the DisplayName whenever a user logs in via the Outlook service. However, I am encountering an issue where I can only retrieve the latest DisplayName on the initial login, and subsequent updates to the DisplayName are not reflected. I have followed the OAuth 2.0 process, utilizing authorization code to extract the access token as usual, but the Microsoft.Graph.User profile remains unchanged.

I hope you can assist me with this matter!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,264 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.