Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Hi @Daniel
Based on the current Microsoft Graph documentation, there isn't a supported way to exclude archived or delisted email addresses returned by the /me/people endpoint.
The /me/people API is designed to return people who are most relevant to the signed-in user, rather than serving as an authoritative directory of active email addresses. Similarly, the scoredEmailAddress resource defines relevanceScore only as the relevance score of the email address. The documentation doesn't state that the score reflects whether an address is active, archived, or should be hidden, nor does it define any threshold (such as 0) that can safely be used for filtering.
For that reason, I wouldn't recommend relying on relevanceScore <= 0 to exclude addresses. While those addresses may appear less relevant, there's no documented guarantee that a score of 0 means the address is obsolete. Filtering on that basis could potentially exclude valid but infrequently used addresses.
If Outlook is suppressing certain addresses while the People API still returns them, I couldn't find any documented property or filter that reproduces Outlook's behavior. If matching Outlook's behavior is a requirement, I'd recommend opening a Microsoft support case or submitting feedback, as this appears to be an undocumented behavior of the People API.
References:
- List people - Microsoft Graph v1.0 | Microsoft Learn
- Use the people API to get information about people relevant to you - Microsoft Graph | Microsoft Le…
- scoredEmailAddress resource type - Microsoft Graph v1.0 | Microsoft Learn
I hope this information is helpful.
If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.