Any2info Academy
  • Home
  • All-in-one software
  • Infra
  • Free trial
    • Empty canvas
    • Base template
  • Quick start
    • Free trial - start with data - build your first app (video)
    • Build your first app - Simple form (PDF)
    • Excel Add-in
      • Excel add-in functions
  • App template store
    • Create app template
    • Download app template
  • Change logs
  • Change logs version 3.7 - 3.11.1
  • No-code Platform
    • Introduction
    • Start
    • Platform
      • Licenses
      • Settings
        • Microsoft Azure
        • Google
        • Apple
      • SMTP
      • Profile
    • Management
      • Users
      • Usergroups
      • Authorisation forms
      • Variables
    • App Studio
      • Designer tools
        • Canvas
        • Toolbars
        • Left sidebar
        • Right sidebar
        • Footer bar
        • Stylesheets
        • Merge documents
        • Icons
      • Application design
        • Basics
          • App specifics
          • Layout and menu
          • Privacy
          • Dashboard defaults
          • Form defaults
          • Overview defaults
        • Dashboards
          • Pages
          • Layouts
          • Toolbox - controls
          • Properties - controls
          • Events - actions
          • Footer - tools
          • Specifics
            • Filter control
            • GPS
        • Forms
          • Pages
          • Layouts
          • Toolbox - fields
          • Properties - fields
          • Events - actions
          • Messaging
          • Overviews
          • Footer - tools
          • Specifics
            • Filter field
            • Scan
            • GPS
        • Navigation flows
        • Master forms
      • Logic - automation
        • Dashboards
          • Events - actions
          • Links
          • Parameters
          • Calculations
        • Forms
          • Rules - action flows
          • Events
          • Actions
          • Action flow
          • Events - actions
            • Form life cycle
          • Links
          • Parameters
          • Calculations & formulas
      • Navigation
        • Main menu left sidebar
        • Form overview header
        • Form page header
        • Events - actions (fields)
        • Events - actions (controls)
        • Supporting panels (webapp)
      • Data
        • Data sets
        • Mapping data to controls
        • Mapping data to fields
    • Data Studio
      • Data hub
      • Connections
        • AFAS Connector
      • Toolbox
      • Data flows
        • Case example 1
        • Case example 2
        • Dataflow output
      • Form data hub events
      • Resultset and dataclip
      • Reports
      • Dataclips
      • Devices
    • Tools
      • Import and export
      • Translation
      • Notifications
      • Database tags
      • Form web links
      • Document services
    • Artificial Intelligence - Supporting tools
      • Create forms with AI (text or image)
      • Extract data from text
      • Extract data from an image
      • Analyze image
      • Analyze audio
      • Task
      • File search
        • Create a File search Assistant in OpenAI
        • Configure file search in Any2info
      • Extract subforms from a source
      • Prompts
  • Apps
    • Custom design
    • Apps (browsers and native)
      • Specifics
        • Impersonation
    • Download the Any2info app
  • Integrations
    • ERP
    • Planning
    • Artificial Intelligence
  • Tutorials
    • Video instructions
  • Tips and tricks
    • Database tips
  • Policies and guidelines
    • Terms and Conditions
    • Software & Service Agreement
    • Disclaimer
    • AI Disclaimer
Powered by GitBook
On this page
  • Create app registration on Azure
  • Edit the API permissions
  • Grant admin consent
  • Gather the needed values
  • Create a new SMTP server
  • Send a test mail
  • Configure settings to use the new server (optional)
  1. No-code Platform
  2. Platform

SMTP

How to setup OAuth2 for Microsoft Exchange

Create app registration on Azure

  • Sign into the azure portal and go to app registrations

  • Click on "New registration"

  • Enter a name, this name wil be shown to the users when configuring the SMTP server

  • Choose the applicable supported account type

  • Add a redirect URI with the following format:

    • https://{yourURL}/platform/shareddata/connectiontoken/

  • Create the registration

Edit the API permissions

  • On de azure portal go to the API permissions menu item

  • Select “Add a permission”

  • Select the “Microsoft Graph” option

  • Select the “Delegated permissions” option

  • Check the options:

    • Email

    • Offline_access

    • SMTP.Send

  • The completed permissions should look like the image below:

Grant admin consent

  • In the API permissions tab click on the button “Grant admin consent for xxxxx”

  • Confirm the admin consent

  • After completing this step the permissions should show the status “Granted for xxxxx”

Gather the needed values

  • To configure the SMTP server we need the following values:

    • TenantId, can be found in the overview menu item of the app registration "Directory (tenant) ID"

    • ClientId, can also be found on the overview menu item "Application (tenant) ID"

    • Client secret, can be created in the "Certificates & Secrets" menu item

      • After opening the menu item click “New client secret” and create a secret (we recommend setting the expire time to 24 months)

      • Make sure to copy the secret value this cannot be viewed after leaving the page

Create a new SMTP server

  • Open the Any2Info platform

  • Go to Platform -> SMTP

  • Select the "Plus button" to create a new SMTP server

  • Choose for the option “Microsoft OAuth2”

  • Fill the values as shown on the image below

  • After all the fields are filled press the button “Set token”

  • Sign in and accept the access request

  • Press the validate connection button

  • To save the settings press the save button

Send a test mail

  • To test the new SMTP server press the "Mail icon" and send a test email

Configure settings to use the new server (optional)

  • In the Any2Info platform open the settings menu option

  • For all the mail settings make sure the correct SMTP server is set

PreviousAppleNextProfile

Last updated 2 years ago