Biz Blogs

Discover more about ERP and business management
technologies, as well as recent news, trends, and innovations.

MYOB Advanced Business: Adding Modern Authentication (OAuth 2.0)

Update as of October 17, 2022:

This blog explains how to set up a system email account or Exchange Integration for the Azure Online and Exchange Online (Office 365) accounts using Modern Authentication (OAuth 2.0).

Support of Modern Authentication (OAuth 2.0) for Exchange Online (Office 365) and Azure Online accounts was added in the version 2020.5.3 of MYOB Advanced in February 2021.

The steps below describe a system email account set up for the Azure Online account. The same approach can be used when setting up the Exchange Online (Office 365) account.

This topic describes the configuration of a third-party software. Please note the following points:

  • The procedure below is designed for the most common usage scenarios. If you are implementing a more complicated scenario and you encounter difficulties, contact MYOB Advanced Support.
  • The vendor of the third-party software may change the user interface and settings. Therefore, the form elements and setting names you see may differ from the ones described in the procedure.
  • The procedure will be updated each time information is made available about new common scenarios and changes in the user interface and settings.

 

Set up a system email account

On the Microsoft Azure Portal, complete steps from the Register an application with the Microsoft identity platform section. On the Overview page, copy the following values which will be used in the MYOB Advanced setup:

  • Application (client) ID
  • Directory (tenant) ID

 

On Microsoft Azure Portal, complete steps from the Add a client secret for an application section. Copy the client secret value shown in the following screenshot. The value will be used in the MYOB Advanced setup. The client secret value:

 

In MYOB Advanced, on the External Applications (SM301000) screen, create a new record by doing the following:

  1. In the Type dropdown, select the Exchange SMTP/IMAP/POP value.
  2. In the the Application Name field, specify the application name.
  3. In the Client ID field, specify the Application (client) ID value from Step 1.
  4. In the Client Secret box, specify the Client secret value from Step 2.
  5. Save your changes.

Copy the value from the Return Url field. The value will be used in the next step for the Azure application setup.

On the Microsoft Azure Portal, complete steps from the Add a redirect URI section as follows:

  • On the Overview page, click the Add a Redirect URI link as shown in the following screenshot.

  • In Configure platforms, select the Web tile as shown in the following screenshot.

  • In the Redirect URI box, specify the Return Url box value from Step 4.
  • Click the Configure button.

On the Microsoft Azure Portal, complete steps from Application permission to Microsoft Graph to grant the needed delegated permissions as follows:

  • Select API permissions > Add a permission > Microsoft Graph as the following screenshot shows.

  • Select Delegated permissions.
  • Select the following permissions:
    • offline_access
    • IMAP.AccessAsUser.All
    • SMTP.Send
    • POP.AccessAsUser.All if needed (however, using POP3 not recommended in MYOB Advanced in general)
  • Click Add Permissions button as shown in the following screenshot.

 

In MYOB Advanced, on the System Email Account (SM204002) screen, create a new record.
On the Servers tab, specify the following values:

  1. In the Account Name field, specify the account name.
  2. In the Email Address field, specify the email address.
  3. Select the Incoming Mail Protocol needed.
  4. Specify the Root Folder field value.
  5. Specify the Incoming Mail Server and Outgoing Mail Server fields’ values (outlook.office365.com for Azure/Office365).
  6. In the Authentication Method dropdown, select the Azure Modern Authentication option.
  7. In the Azure Tenant ID field, specify the Directory (tenant) ID value from Step 1.
  8. In the External Application field, select the external application created in Step 3.

 

On the Advanced Settings tab, specify the following values:

  1. If your server supports the encrypted incoming connection, select the Incoming server requires encrypted connection (SSL) checkbox.
  2. If your server supports the encrypted outgoing connection, select the TLS option on the Outgoing server encrypted connection.

Save your changes.

 

Click the Sign In button. On the Sign in to your account window, select and sign in to your email account as shown in the following screenshot.

 

Click the Test button to send a test email to your email account. Verify the test email in your inbox folder. Example is shown in the following screenshot.

The system email account is set up using the Modern Authentication (OAuth 2.0).

Set up exchange integration

On the Microsoft Azure Portal, complete steps from the Register an application with the Microsoft identity platform section. On the Overview page, copy the following values which will be used in the MYOB Advanced setup:

  • Application (client) ID
  • Directory (tenant) ID

 

On Microsoft Azure Portal, complete steps from the Add a client secret for an application section. Copy the client secret value shown in the following screenshot. The value will be used in the MYOB Advanced setup. The client secret value:

 

In MYOB Advanced, on the External Applications (SM301000) form, create a new record by doing the following:

  • In the Type dropdown, select the Exchange Online EWS value.
  • In the Application Name field, specify the application name needed .
  • In the Client ID field, specify the Application (client) ID value from Step 1.
  • In the Client Secret field, specify the client secret value from Step 2.
  • Save your changes.

 

On the Microsoft Azure Portal, complete steps from Configure for app-only authentication to grant the delegated permissions.

On the Exchange Server Configuration (SM204015) screen, do the following:

  1. In the Account Name field, specify the account name.
  2. In the Email Address field, specify the email address.
  3. In the Authentication Method dropdown, select the Azure Modern Authentication option.
  4. In the Azure Tenant ID field, specify the Directory (tenant) ID value from Step 1.
  5. In the External Application field, select the external application created in Step 3.
  6. Save your changes.

The example is shown in the following screenshot.

Click the Test Server button to test the account settings. The green check box on the form toolbar indicates that the connection is set up.

The Exchange Integration is set up using the Modern Authentication (OAuth 2.0).

Table of Contents

Elevate Your Business Success with MYOB Acumatica

Join the ranks of successful businesses across WA and Australia that have benefited from our MYOB ERP solutions expertise.

 

Latest Blogs to Know More
About Business Management Solutions

[gravityform id="3" title="false" description="false" ajax=true tabindex=49]
[gravityform id="4" title="false" description="false" ajax=true tabindex=49]
Scroll to Top

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

Thank you for your interest!

Please check your email for the downloaded file.

Should you require further assistance, don’t hesitate to contact one of our expert ERP consultants.

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

Thank You for Registering!

Your Seat is Reserved for the Webinar

We’re excited to have you join us for the upcoming webinar on “Prepare for Mandatory Two-Factor Authentication: Essential Webinar for MYOB Acumatica Users”. 

The webinar is scheduled for
22 August 2024, from 10:00 am to 10:45 am AWST

Keep an eye on your inbox for the confirmation email, which includes all the details you’ll need to join the session. If you can’t attend the live event, no worries—we’ll send you a recording afterward.

Questions?

If you have any questions before the webinar,
feel free to reach out to us at:

admin@alphabiz.com.au

We look forward to seeing you at the webinar!

Thank You for Registering!

Your Seat is Reserved for the TRAILD Webinar

We’re excited to have you join us for the upcoming webinar on “Streamlining, Automating, and Protecting Your Accounts Payable with TRAILD”. 
 
The webinar is scheduled for August 18, 2023, from 10am to 11am Perth Time. 

What's Next?

You will receive a confirmation email shortly with the webinar details and a calendar invite. Please check your spam folder if you don’t see it in your inbox. 
 
If you can’t attend live, don’t worry! We’ll send a recorded version of the webinar to your email once it’s available. 

Questions?

If you have any questions before the webinar,
feel free to reach out to us at:

admin@alphabiz.com.au

We look forward to seeing you at the webinar!

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

Experience the MYOB Advanced Difference

Explore tailored MYOB Advanced demos demonstrating how these ERP solutions uniquely enhance your business processes. 

Please fill out your details below to get started

Schedule Your Free
No-Obligation Consultation

Discover how our tailored solutions can meet your specific business process needs. Submit your information below, our MYOB Advanced expert will reach out to you: 

Get started today

Embark on your journey towards streamlined delivery management with AlphaPOD. Easy integration, customizable features, and dedicated support await. 
 
Please fill out the field below:

SIGN UP HERE TO DOWNLOAD

SIGN UP HERE TO DOWNLOAD

Thank you for reaching out!

One of our specialized consultants will be in touch soon to assist with your query