Setting up Azure/Office365 App

  1. Go to https://portal.azure.com/
  2. Select Microsoft Entra ID

Manage Microsoft Entra ID

  1. Click Add and select App Registration

Microsoft Entra ID Overview

  1. Complete the name, select
    Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
    and on Redirect URI select Web and add your xBit installation host + /about.php

(e.g., http://yourdomain.xbit/about.php)

../img/oauth-15.png

  1. Copy the Client ID and Tenant ID

../img/oauth-16.jpg

  1. Go to API Permissions and click Add a permission
  2. Select Microsoft Graph and Delegated permissions

../img/oauth-17.png

  1. From OpenID select "email" and "offline_access"

../img/oauth-18.png

  1. From SMTP select "SMTP.Send"

../img/oauth-19.png

  1. Click Add permissions
    It should save and show the following:

../img/oauth-20.png

  1. Go to Certificates and secrets and click on New Client Secret
  2. Set name and expiration date
  3. Save and copy the content of the Value column

../img/oauth-21.jpg


Configuring in xBit

  1. Go to Admin > About/Settings
  2. Go to the E-Mail tab
  3. Select Enable SMTP and type Office 365
  4. Complete ClientId, Secret, and TenantId

    ../img/oauth-22.png

  5. Click Submit SMTP Settings

    ../img/oauth-23.jpg

  6. Authorize Office 365