Create Admin Account for OAuth - Microsoft 365

To enable OAuth for Microsoft 365

  1. Create an administrator account in Azure, such as admin@eftserverlocal.com.

  2. In portal.azure.com, click the Azure Active Directory icon.

  3. The Overview page appears. Click the Add drop-down, and then click App registration.

  4. The Register an application page appears.
  5. Provide a unique, user-facing name for the application, such as EFT. (You can change it later.)

  6. Under Supported account types, keep the default of this organizational directory only. Then click Register.

  7. On the application page (in this case, EftTest), next to Client credentials, click Add a certificate or secret.

  8. The Certificates & secrets page appears. Click New client secret. The Add a client secret section appears.

  9. In the Description box, type a name for this secret.

  10. The secret appears under the Description on the Client secrets tab.
  11. NOTE: The application uses the secret string to prove its identity when requesting a token. It can also be referred to as the application password. Save the secret value as it will not be accessible later. You can use the copy icon to copy the secret and paste it into wherever you save such things.
  12. Click API permissions. The API permissions page appears.

  13. Click Add a permission, then click the Microsoft Graph drop-down. The Request API permissions section appears.

  14. NOTE: Microsoft Graph is a Microsoft API developer platform that connects multiple services and devices.

  15. Click Application permissions, search for "mail," then click select "Mail.Send."

  16. Click Add permission to close this window, then click Grant admin consent on the API permissions page.

  17. Click Overview. Copy the data to the Email Server Settings in EFT on the SMTP tab.