Microsoft OAUTH2 setup

Top  Previous  Next

 

 

Microsoft will be disabling basic SMTP authentication soon, if it hasn't already happened.  You will need to change to the newer OAUTH2 authentication.  

 

Settings for Outlook mail (e.g. personal) accounts, including Hotmail or Live.com:

 

Host Name/Address:        smtp.office365.com

Port Number:                587

Use SSL:                Unchecked

Use TLS:                Checked

Authentication method:        Outlook OAuth2

Username :                (your Outlook login)

 

Settings for Microsoft 365 (Office 365) accounts:

 

Host Name/Address:        smtp.office365.com

Port Number:                587

Use SSL:                Unchecked

Use TLS:                Checked

Authentication method:        Microsoft 365 OAuth2

Username :                (your Microsoft365 / Office365 login or E-mail address)

 

 

Next, click the Request OAuth Access button to start the authorization process.  A window will appear with the instructions (as shown below) -- click "Begin!" to start.

 

Note:  The exact wording from Microsoft mentioned below may change from time to time -- the main thing is to make sure you tell Microsoft to allow Campground Master access for sending E-mails on your behalf.

 

Note: If you get a pop-up from Windows Defender or other firewall, make sure you tell it to allow Campground Master for both Private and Public networks.

 

Your web browser will open and prompt you for authorization.  You must:

1. Log into your Microsoft account (or select the account to use).

You will see a window appear in your browser showing something like "Permission requested" or "Let this app access your info?"

2. If it has a checkbox for "Consent on behalf of your organization", check that box

3. Click "Accept".

Microsoft may also ask if you want to stay logged in. This won't affect Campground Master's operations (only whether you're logged into Microsoft in the browser), so you can answer either way.  Likewise it may ask about enabling 2-factor authentication, but that's unrelated to Campground Master.

 

Important: You will have to complete these steps within a certain number of seconds of when you click 'Begin!' (default is 120 seconds).  If you get an error 'Unable to connect' after those steps, then it took too long.  Close your browser, go back to Campground Master, and click "Begin!" to start again.  If necessary, you can increase this timeout on the SMTP Setup page.

 

 

If you decide not to continue before it's done, you can click the Cancel button to tell Campground Master to stop waiting for authorization -- otherwise it will wait until the timeout is finished and show an error.

 

Once you complete the steps, the window above will close and you will get a confirmation that Campground Master has been authorized.  

 

Important -- you may also get an E-mail from Microsoft indicating that a new application or device was authorized.  There is usually no additional action necessary.

 

Request OAuth Access button -- this is used for initial authorization (shown above), or any time you want to change which Microsoft account to use.  You can also use it again any time, it doesn't hurt anything to re-authorize.

 

Refresh OAuth Token button -- this is usually not necessary, since it will be refreshed automatically whenever needed to send E-mail. However if you have trouble sending E-mail, then you could try this to see what error information is being returned.

 

 


Page URL https://CampgroundMaster.com/rel115beta/microsoft-oauth2-setup.htm

Campground Master Home