IMAP - Microsoft 365 - Create Job

Prerequisites

Before you can use the IMAP wizard to create a job, you must first have configured an “app” in your Azure Active Directory account as described here. You should have the credentials associated with the app before proceeding further on this page.

Your credentials should look something like the following (the format is unimportant):

client_id = 9aef02cb-6efb-485f-91b8-ea57fda29d68
client_secret = utM8Q~xHAJt4PSCZzDKlL5P~WPgSlautR-VMrdsR
tenant_id = abdfa575-4bf4-4e51-878b-14e280eab912

Create an IMAP Job

  1. Click +ADD JOB

  2. Click the imap wizard icon to launch the IMAP wizard. .. image:: assets/m365-create-job__icon.png

  3. For IMAP SERVER URI, type in outlook.office365.com.

  4. For TYPE OF AUTHORIZATION, choose Outlook OAuth2 auth with provided credentials.

  5. In PROVIDED CREDENTIAL NAME, enter a name under which the credentials will be saved.

  6. For CLIENT ID, CLIENT SECRET and TENANT ID, provide the values obtained during the Setup Account step.

  7. In USER EMAIL, enter the email account from which you with to retrieve attachments.

  8. The wizard should look something like the following: .. image:: assets/m365-create-job__wizard-1.png

  9. Click the NEXT button.

  10. The Outlook OAuth2 Device Code page will appear. .. image:: assets/m365-create-job__wizard-2.png

    1. Make a copy of the code that is displayed in the AUTHENTICATION CODE field.

    2. Click the PLEASE AUTHENTICATE AND ENTER CODE button

    3. A new tab will open in the browser. If the tab is not visible, select the tab so that you can view the page. .. image:: assets/m365-create-job__wizard-3.png

      1. Enter the value from the AUTHENTICATION CODE field and click Next.

      2. You will either be prompted to login to Microsoft 365 or, if already logged in, you will be prompted to choose an account to use. Take the appropriate action. .. image:: assets/m365-create-job__wizard-4.png

      3. A dialog will display the permissions that Zuar Runner is requesting from your Microsoft 365 account. Click Accept. .. image:: assets/m365-create-job__wizard-5.png

      4. A confirmation dialog will be displayed. .. image:: assets/m365-create-job__wizard-6.png Close the tab containing the dialog.

  11. Return to the browser tab containing the Outlook OAuth2 Device Code page of the IMAP wizard. Click NEXT.

  12. On the final page of the wizard, provide a title for the job and click SAVE. .. image:: assets/m365-create-job__wizard-9.png

You have successfully created an IMAP job.