Skip to main content
Skip table of contents

Graph APIs OAuth2 Authentication

Requirements

To enable Imagicle UCX Suite to retrieve Calendar information, leveraging Graph APIs-based OAuth2 authentication, you must configure an application on Azure Web Portal, taking note of Application ID, Directory ID and Client Secret data, needed later on while configuring this authentication method on Imagicle UCX Suite. Please find below the procedure.

Azure web portal configurations

Please access to Azure portal and go to "App Registrations":

image-20251112-143134.png
image-20251112-143205.png

Click on "New registration" and add a name of your choice like "ImagicleEmailProvider". Then select "Accounts in this organizational directory only" and hit "Register"

image-20251112-143340.png

The following window appears, including Application ID and Directory ID. Please copy both data, for later usage.

image-20251112-143456.png

Click on left panel’s “Authentication” and select proper option as the following screenshot. Click “Save” once done:

image-20251126-151037.png

Now please click on "Certificates & secrets" option, included in left pane, and add a new "client secret" with the name of your choice and a long expiration period.

image-20251112-143555.png

Once added, you'll get some data associated to it. Please copy "Value" field for later usage. Copy the field immediately after having created the client secret, because it will be automatically hidden after few minutes, for security reasons.

image-20251112-143634.png

Now click on left panel’s API Permissions → Add permissions:

image-20251126-151350.png

Select Microsoft API’s → Microsoft Graph → Application permissions:

b674037a-36bd-453f-b242-c5b5372475db.png

image-20251126-151723.png

Then search for “calendar” and flag Calendars.Read permission

image-20251126-152232.png

Once permission has been added, you must authorize it for your organization, by clicking on "Grant admin consent for <company_name>".

image-20251126-152430.png

Migration Path

If a customer is using the EWS|Deprecated calendar provider and want to migrate to the new Microsoft 365 provider, it can use the old App Registration and just apply the following changes from the Azure portal:

  • Change the App permissions: remove all permissions previously defined in the app and add the new permissions defined in this article.

  • Create a client secret as described in this article.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.