The first step is to register the application in Azure. Please see steps below for this part.
Navigate to the Azure Active Directory admin centre and create a new registration.
Enter a sensible name and enter your halo application URL in the format below (Your URL with /azure/auth added to the end)
Note down the Application (Client) ID and your Directory (tenant) ID as highlighted below as we will need to use this later.
Go to Certificates & Secrets and create a new secret for this application, again take note of this as it will be required at a later step.
Next go to API Permissions and Add a permission.
Choose Microsoft Graph.
Select the below permissions and save.
Setup of Mail in Halo
After the application is registered in Azure and given the correct permissions you can setup the mailbox in Halo.
In Halo go to Configuration > Email > Mailbox Setup > Create a new entry and choose Office 365/Azure.
Fill out all details below, taking the Client ID, Tenant ID and secret that we create above in step 3 and 4. Then click the Authorize button which will take you to your tenant to sign in with the details of the mailbox that you want to use.
To ensure that the Azure method is used you will need to pass the sending function to the server processing application. To do this go to Configuration > Email and untick the below setting.
Once this is completed and the mailbox is enabled the mailbox setup is complete.