Using Microsoft Exchange Online email relay without deploying mailbox?

EnterpriseArchitect 5,336 Reputation points
2021-08-04T06:42:24.217+00:00

As part of the email sending requirement of my PowerApp,

I need some clarification as to how can I set up the accounts for sending email relay using: smtp.office365.com on port 587 with TLS v1.2 and secure username & very long password.

When I read the article below: https://video2.skills-academy.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#requirements-for-microsoft-365-or-office-365-smtp-relay

It mentions that I do not need to assign any license. How am I supposed to do that?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,492 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,606 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Robert Sparnaaij [MVP] 1,816 Reputation points MVP
    2021-08-04T08:22:42.82+00:00

    It mentions that I do not need to assign any license. How am I supposed to do that?

    You just don't do it and you're done :-)

    You only need to create a user account that you will use for the device.

    Note however that the users of that device will need at least an Exchange Online Protection license to send emails using that device.

    Sending emails from PowerApps is not the same as from a device though.

    How to do it really depends on what you are trying to do here and how (or why). Below are some resources to get you started but asking in a Power Apps developer forum would be more appropriate then the Exchange forum in this case.

    0 comments No comments

  2. KyleXu-MSFT 26,256 Reputation points
    2021-08-05T01:58:22.17+00:00

    @EnterpriseArchitect

    If you want to send an authenticate email from 587 port, you need to assign a license to the mailbox that you used. When you use 587 port to relay emails, you need to provide account and password for a real mailbox: Authenticate your device or application directly with a Microsoft 365 or Office 365 mailbox, and send mail using SMTP AUTH client submission
    120589-qa-kyle-09-55-43.png

    If you want to send email from 25 port, you will not need to use a real mailbox.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.