toRecipients, bccRecipients and ccRecipients properties are empty

Yechiel Hadad 6 Reputation points
2022-12-05T19:58:05.75+00:00

Hi,

We receive many mail message resources with an empty array of toRecipients, bccRecipients and ccRecipients.

I didn't find any documentation about that the recipient resource type might be empty.

How is this possible? even forwarded emails have the to property.

I would appreciate your quick response

https://learn.microsoft.com/en-us/graph/api/resources/recipient?view=graph-rest-1.0

The payload of the resource is:

267391-image.png

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,616 Reputation points
    2022-12-24T01:10:42.807+00:00

    Hi @Yechiel Hadad ,

    This behavior is by default where you cannot see values of toRecipient and ccRecipient but bccRecipient as null because you can't get the bcc recipients. It defeats the purpose of bcc/blind carbon copy and it aligns with RFC 2822 !!

    As per the documentation, please use $select query parameter to get the values of toRecipient and ccRecipient

    If you are still facing the issue I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from
    http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

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.