Web Mail Setup – Outlook.com

This service requires OAuth2 authentication meaning that the reporting application will not need to know the user’s credentials in order to connect and send email.

To use this service, the application must first be registered in the Microsoft Azure Portal where a Client ID, Client Secret, and Redirect URI can be created and assigned to the corresponding values in the TppEmailSettings.ConnectionSettings.WebMail.Outlook365Settings.OAuth2 property.

The steps below outline the registration process:

Note: An Office 365 or Outlook.com account is required to continue. Visit http://www.outlook.com to create a new account.

1. Open the Microsoft Azure Portal by visiting the following web site and log into your account. https://portal.azure.com

2. From the welcome page, select to view the Azure Active Directory service, and then select App registrations from the left pane and the “New Registration” button.

3. Give your application a meaningful name that your users will recognize.

Select the account types that will be using your application.

Select the “Web” platform.

Finally define a Redirect URI in the appropriate text box. This value must be http://localhost or http://127.0.0.1 in most cases. Copy the value to the Outlook365Settings.OAuth2.RedirectURI property. Select “Register” to continue.

4. Copy the Application ID to the Outlook365Settings.OAuth2.ClientID property.

5. Select the “Certificates & secrets” section on the left and select “New client secret”. Copy the password value to the Outlook365Settings.OAuth2.ClientSecret property.

6. Save the changes. You are now ready to send email using the Outlook.com service.