Search

MS365 - App Registration

Last Updated: Feb 14, 2022

Articles

Microsoft Graph API (MS365) is used to interact with Microsoft 365 services like Outlook, Teams, Excel, Azure, etc. JIFFY.ai uses MS365 to interact with Outlook mail.

Create an Application

  1. Create a Microsoft Azure account and navigate to Portal.
  2. Click the App registrations option. Image description
  3. Click the + New registration option. Image description
  4. Enter a Name for your application and select the required option in the Supported account types section.

    Preferably, use the Single tenant option.

  5. Click the Register button to create the application.
    Image description
  6. Note the Client ID in the Overview section. Image description

Pre-requisites set-up

Create Secret Key

  1. Open the created application.
  2. Click the Certificates & secrets option in the left-hand side menu and click the + New Client Secret button.
    Image description
  3. Enter Description and choose when the key Expires. Click the Add button. Image description

API Permissions

  1. Open the created application.
  2. Click the API permissions option in the left-hand side menu and click the + Add a permission button. Image description
  3. In the Commonly used Microsoft APIs tab of the Request API permissions window, click on Microsoft Graph. Image description
  4. Click the Delegated permissions button. Image description
  5. Select the following permissions and click the Add permissions button.
    • Calendar
      • Calendars.Read
      • Calendars.ReadWrite
    • Files
      • Files.Read
      • Files.Read.All
      • Files.ReadWrite
      • Files.ReadWrite.All
    • Sites
      • Sites.Read.All
      • Sites.ReadWrite.All
    • Mail
      • Mail.Read
      • Mail.ReadWrite
      • Mail.Send
    • Shared*
      • Mail.Read.Shared
      • Mail.ReadWrite.Shared
      • Mail.Send.Shared
      • Calendars.Read.Shared
      • * Calendars.ReadWrite.Shared
      • * Scopes needed to access resources that are shared with, but not owned by, the user.
  6. Click the Grant admin consent button.
    Image description

Disable MFA (Multi Factor Authentication)

Do the follwing to disable the Multi Factor Authentication for the user to connect.

  1. Sign in to the Portal as an administrator.
  2. Navigate to the Multi-Factor Authentication page.
  3. Select the user to disable the MFA and click Disable. Image description
Did you find what you were looking for?