GraphQL Send Mail in Hybrid Env

SaaS Applications 1 Reputation point
2021-10-22T17:22:36.407+00:00

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/

  1. Is this the expected behavior?
  2. If so, can we adjust our request to make this work?
  3. If we need to adjust the request, how do we know the user is in the hybrid environment?
  4. Is there something our customer can do with their user accounts to make this work? If so, what do they need to do?

Thanks!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,680 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,878 questions
{count} votes

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.