Forum Discussion

babu_test's avatar
babu_test
Copper Contributor
Oct 09, 2024

I need to read the Alias in outlook using Graph API

In the previous version of the Outlook application, right-clicking on an email address provided an option labeled "Open Outlook Properties." Upon selecting this option, users could view various tabs, including General, Organization, Phones, Member Of, and E-mail Addresses. Within the General tab, information such as the name and address is displayed. The name section includes fields for the first name, initials, last name, display name, and alias. I am interested in retrieving the alias using the Graph API. Could anyone provide guidance on how to accomplish this?

2 Replies

  • Alias is exposed as mailNickname in Graph:

     

    GET https://graph.microsoft.com/beta/users/{userId}?$select=mailNickname
  • babu_test's avatar
    babu_test
    Copper Contributor
    With Graph API i can able to read the mail subject, body, sender and all but i cant able to capture the alias of sender email address. Your help is appreciated