Azure Office365 (XOAUTH) Configuration
      • 07 Mar 2024
      • 1 Minute to read
      • Dark
        Light
      • PDF

      Azure Office365 (XOAUTH) Configuration

      • Dark
        Light
      • PDF

      Article summary

      Setting up Azure/Office365 App

      1. Go to https://portal.azure.com/

      2. Select Microsoft Entra ID

      image

      1. Click "Add" and select "App Registration"

      image

      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 (http://yourdomain.xbit/about.php for example) as the URL.

      image

      1. Copy the Client Id and Tenant ID

      cid-tid.jpg

      1. Go to API Permissions and click "Add a permission"

      2. Select "Microsoft Graph" and "Delegated permissions"

      image

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

      image

      1. From SMTP select "SMTP.Send"

      image

      1. Click on "Add permissions" it should save and show the following

      image

      1. Go to "Certificates and secrets" and click on "New Client Secret"

      2. Set name and expiration date

      3. Save and copy the Secret

      oath-config.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

      image

      1. Click Submit SMTP Settings

      check.jpg

      1. Authorize Office 365