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¶
Click
+ADD JOB
Click the
imap
wizard icon to launch the IMAP wizard. .. image:: assets/m365-create-job__icon.pngFor
IMAP SERVER URI
, type inoutlook.office365.com
.For
TYPE OF AUTHORIZATION
, chooseOutlook OAuth2 auth with provided credentials
.In
PROVIDED CREDENTIAL NAME
, enter a name under which the credentials will be saved.For
CLIENT ID
,CLIENT SECRET
andTENANT ID
, provide the values obtained during the Setup Account step.In
USER EMAIL
, enter the email account from which you with to retrieve attachments.The wizard should look something like the following: .. image:: assets/m365-create-job__wizard-1.png
Click the
NEXT
button.The
Outlook OAuth2 Device Code
page will appear. .. image:: assets/m365-create-job__wizard-2.pngMake a copy of the code that is displayed in the
AUTHENTICATION CODE
field.Click the
PLEASE AUTHENTICATE AND ENTER CODE
buttonA 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
Enter the value from the
AUTHENTICATION CODE
field and clickNext
.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
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.pngA confirmation dialog will be displayed. .. image:: assets/m365-create-job__wizard-6.png Close the tab containing the dialog.
Return to the browser tab containing the
Outlook OAuth2 Device Code
page of the IMAP wizard. ClickNEXT
.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.