web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :















 





 





    
     
    
    
     











 

(0) ShareShare
ReportReport
Posted on by
Categories:
  •  Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    Vaseem
    Thank you very much for sharing your findings. Our client is facing the similar scenario. I also tested and confirmed basic authentication works. Since OAuth 2.0 is a more secure way, I would like to find out if it is possible to configure SMTP with OAuth 2.0 for a multi-tenant environment. May I know if you may be aware of any update from Microsoft and see if OAuth 2.0 can be used? 
  • Verified answer
     Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    I can confirm I have this working now.
     
    The setup required is a follows:
     
    1. In a Multi-tenant environment you have to use SMTP. The Office 365 and Shared Mailbox options will not work.
    2. When setting up the SMTP you need to use Basic Authentication. This is obviously less secure so not all customers will want to do this.
    3. When using this option you need to set a Password. The password is not your normal Office 365 password but an App Password. This can be setup in your Office 365 account.
     
    There maybe other considerations here for the Office 365 tenant as there could be Group Policies, Security Groups, etc blocking the Basic Authentication. However as long as there is nothing stopping this it will send.
     
    I believe this option would also work in those scenarios where a users do not have Office 365 accounts, such as Gmail, Yahoo, etc.
  •  Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    Thanks will give shared mailboxes a go.
     
    Do you have any recommendations on what authentication we should use for the Shared Mailboxes?
  • Suggested answer
     Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    I think it should be possible to get it to work.
    What I first would do is to try to use a shared mailbox and see if you get that to work if you already have not tried that?
  •  Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    Hi,
     
    Not sure this is the answer as the users are Guests. They aren't Delegated Admin nor are they External Accountants. We also need to consider he scenarios whereby they don't have Office 365, what if they had Gmail, Yahoo, etc. How would that work?
     
     
    This suggests it could work with App Passwords and Basic auth still but I've yet to get it working.
     
    Thanks,
     
    Vaseem 
  • Suggested answer
     Profile Picture
    on at
    SMTP Email sending using Multi-Tenant Environment
    Hi, unfortunately, this is mentioned in Microsoft's documentation.
    External users, such as delegated admins and external accountants, cannot use these extensions to send email messages from Business Central.
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Leaderboard > test 12 sep

Featured topics

Product updates

Dynamics 365 release plans