GraphQL Send Mail in Hybrid Env
We use the Graph API to send emails on-behalf of our customers. We have users that have authenticated and we have a token with the send mail scope. When we do so for customers in a hybrid environment we get a weird error (that seems unrelated to the API we utilize):
Microsoft Graph error message Answer:
'The property 'subject' does not exist on type 'Microsoft.OutlookServices.Message'. Make sure to only use property names that are defined by the type or mark the type as open type. REST APIs for this mailbox are currently in preview. You can find more information about the preview REST APIs at https://dev.outlook.com/
- Is this the expected behavior?
- If so, can we adjust our request to make this work?
- If we need to adjust the request, how do we know the user is in the hybrid environment?
- Is there something our customer can do with their user accounts to make this work? If so, what do they need to do?
Thanks!