Graph API returns bccRecipients as an empty list always

Jay Khatwani 1 Reputation point
2020-10-29T01:08:24.923+00:00

The API call that I use to get messages- https://graph.microsoft.com/v1.0/me/messages

The bccRecipients field on all the messages we get via graph API with the above call are always an empty list. We want to get access to the bccRecipients or at least just the recipient email address that was used to send the email to this mailbox.
Even the internetMessageHeaders that we get from graph API do not have the BCC header.
But when I open up the same email in web version of Outlook and check the message headers, I can see the bcc recipient. So, the information is really there, it is just that graph API is stripping off the bcc recipients always.
Is there a way to get the bcc recipient email address for the current mailbox from graph API.

Our use case -> Email gets sent to bcc recipient address - test_{UUID}@test .com.
The account address is test@test .com. We have a rule setup on our tenancy that will redirect any emails to test_ to test@test .com. Now, we get these emails but finding out the bcc recipient address is required since we are interested in the UUID to process that email.
Any suggestions to handle this use case will be much appreciated.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,793 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,266 Reputation points Microsoft Employee
    2020-10-29T17:57:35.363+00:00

    AFAIK, you can't get the bcc recipients. It defeats the purpose of bcc/blind carbon copy and it aligns with RFC 2822 !!


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.