Share via

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!

Developer technologies | ASP.NET | ASP.NET Core
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

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