Can we use MS Graph SendMail functionality to send email through an unlicensed account

Ibrahim 0 Reputation points
2023-06-26T12:33:45.8666667+00:00

We're building an application to send automated emails to alert our clients about time sensitive information. Until now, we have had success sending emails using the sendMail functionality of the API with out licensed accounts. For example, my own account that I am using to write this question. But, we're having trouble using a unlicensed account like alerts@comanyname.com to do this. When I use this account that no subscriptions like Office 365 or anything at all, I get a resource error. My question is, can we use an unlicensed account to do send emails or do we need a licensed account. If we do need a license, what license would be the cheapest option as this account (address) is only meant for sending emails.

Outlook
Outlook
A family of Microsoft email and calendar products.
4,358 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,867 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msft-gu 1,355 Reputation points
    2023-06-26T22:16:24.9833333+00:00

    Hi Ibrahim,

    Good afternoon and thank you for your question. As far as I can tell, you will need to have a license or a subscription and the minimum/cheapest option that I can think of is Exchange Online Plan 1.

    Reference: https://www.microsoft.com/en-us/microsoft-365/exchange/compare-microsoft-exchange-online-plans

    Have you tried using Shared Mailbox if it works?

    https://learn.microsoft.com/en-us/graph/outlook-send-mail-from-other-user?source=recommendations


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.