Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Create Azure Application


In the Azure portal, select Azure Active Directory.

Go to Enterprise applications → All applications

Select New application at the top of the dialog.

Enter the name of the application in the search box. Select the desired application from the results panel and register it.

On the Application Name page, click Sign up for <Application Name>.

You will be redirected to the application's login page or to the Azure Active Directory (Azure AD) page for login credentials.

After successful authentication, you must accept consent on the consent page. The application will then be displayed on the home page.

Click App registrations on the left side of the menu and open the application by typing the application name in the search box.

Click View API Permissions in Call APIs.

Click Add a permission.

Click on the Microsoft Graph.

Select the required options under Delegated permissions and Application permissions

Add the following Scopes:

  • openid
  • offline_access
  • https://outlook.office365.com/IMAP.AccessAsUser.All
  • https://outlook.office365.com/SMTP.Send
  • https://outlook.office365.com/mail.read

Go to the application's Properties and copy the Application ID as Client ID in HostBill.

Click All settings → Keys and select Duration. Click Save and copy Secret Value as Client Secret in HostBill.

Set up Azure in HostBill


After creating Credentials, Client ID and Client Secret will be returned. These values must be set in HostBill in Mail Settings or in Additional mail senders.

Set:

  • SMTP Email address
  • SMTP Hostname
  • Port
  • Authentication to OAuth2
  • Provider to Azure

Then save the changes and press Connect. After successful Authorization, the Connection Token should be set.

SMTP Hostname should contain ssl:// or tls://

If messaging does not work after receiving an Access Token, make sure you have SmtpClientAuthentication enabled for Tenant. Visit https://aka.ms/smtp_auth_disabled for more information.



  • No labels