Configuration of Exchange on Azure AD (OAuth 2.0) synchronisation
You configure the Exchange integration of Profit in combination with Azure AD.
Configure Azure:
- Select he correct Azure tenant
- When registering the Azure Active Directory new App:
- Note: Application (client) ID
- Note: Directory/Map (tenant) ID
- At Certificates & secrets, generate a secret
- Note: value of the created client secret
- Go to API permissions -> Microsoft Graph and add the following permissions:
- Calendars.ReadWrite
- Directory.Read.All
- User.Read.All
- MailboxSettings.Read
Note:
The Permission level should be Application (Delegated isn't sufficient).

- Click Application permissions.
- Select Mail.ReadWrite and Mail.Send permissions.
- Grant admin consent.
If there's an error message, try this solution: https://github.com/azuread/microsoft-authentication-library-for-dotnet/wiki/Client-Applications#invalid-client
Configure Profit:
- Go to General / Environment / Management / Properties, tab Exchange/Outlook.
- Select Exchange Azure AD at Sync. Profit Calendar with.
- Enter E-mail DNS.
How do you find the correct value for this field? Go to https://portal.azure.com/#home. At the user you will see a logon e-mail address, fill in the part to the right of the @ in the E-mail DNS field.
- At Exchange Azure AD, fill the fields with the values recorded earlier:
- Directory id: Directory/Map (tentant) ID
- Application id: Application (Client) ID
- Application secret: Application (Client) secret
Enter E-mail address for the Exchange link:
Normally, Profit will use a combination of the Profit user name and the MS Exchange server entered in the environment settings for the synchronisation. For example:user DMARTINA with the 'Afas.nl' server is transferred into DMARTINA@Afas.nl.
For the Exchange link however, you enter the e-mail address seperately for each user.
- Go to: General / Management / Authorisation tool.
- Go to the tab: User maintenance.
- Open the user properties.
- Go to the tab: General.
- Enter the deviating e-mail address, this must be a valid address.
|
Directly to
|