Getting Mailbox Aliases for Personal Accounts in Microsoft Graph API not working
Asked Answered
C

1

7

I'm trying to get email aliases through Microsoft Graph:

https://graph.microsoft.com/v1.0/me?$select=proxyAddresses

This worked for an Office 365 account of mine(business account) but I'm not able to get the aliases for a personal account (outlook.com,hotmail.com). I'm not able to find any comprehensive documentation on this either.

Cabernet answered 9/1, 2019 at 8:45 Comment(0)
S
2

The proxyAddress property is only returned for Azure Active Directory objects. The only properties returned for a personal Microsoft Account (MSA) are:

{
    "displayName": "",
    "surname": "",
    "givenName": "",
    "id": "",
    "userPrincipalName": "",
    "businessPhones": [],
    "jobTitle": "",
    "mail": "",
    "mobilePhone": "",
    "officeLocation": "",
    "preferredLanguage": ""
}

Outlook.com/Hotmail has a different infrastructure/architecture than AAD/Exchange. While Graph can interact with MSA accounts, there are some inherent limitations due to these differences. There are similar differences between OneDrive for Business (i.e. SharePoint) and personal OneDrive as well.

Shakeup answered 9/1, 2019 at 16:18 Comment(2)
Is there a way for getting the aliases for email address mailbox of the user?Cabernet
Not that I'm aware of, no.Shakeup

© 2022 - 2024 — McMap. All rights reserved.