Note: Microsoft has disabled Basic Authentication (standard authentication) as of October 1, 2022. Modern Authentication uses the OAuth 2.0 protocol, which is considered secure.
You can enable email retrieval in the FM Portal by setting four configuration parameters. To enable Modern Authentication, use the "SmtpUseOAuth" configuration parameter.
If you still need to set up login to the FM Portal in Microsoft Entra ID, you can find more information on setting up Azure Active Directory login (OAuth) here: 📄 Azure Active Directory Anmeldung (OAuth) einrichten IC2610
Prerequisite
You have administrative rights in both your Office account and the eTASK.FM portal.
Procedure
Log in to https://portal.azure.com using your Microsoft credentials.
Click on Microsoft Entra ID.
Click on App Registrations in the menu on the left
Open the overview.
Part 1: Settings in the FM Portal
Log in to your eTASK.FM portal and go to Control Panel - Portal Options - Portal Management - System Configuration.
Open the system parameter "AZURECLIENTID". You can find the value for the system parameter "AZURECLIENTID" in the overview as "Application ID (Client)".
Enter the ID stored there as the configuration value in the parameter and click Save in the toolbar.Open the system parameter "AZURETENANTID". You can find the value for the system parameter "AZURETENANTID" in the overview as "Directory ID
(Tenant)". Enter the ID stored there as the configuration value in the parameter and click Save in the toolbar.Open the system parameter "AZURELOGINAKTIV". Enter a 1 in the Configuration Value field. Click Save in the toolbar.
Note: If the value of this system parameter is 1 and a value is present in the "AZURECLIENTID" parameter, the Azure button will be displayed on the login screen.
Now open the system parameter "SMTPUSEOAUTH". Enter a 1 in the Configuration Value field. This ensures that Modern Authentication is now used. Click Save in the toolbar.
Part 2: Create an application in Microsoft Entra ID
In the Microsoft Entra ID Center, click Enterprise Applications.
Click New application.
Click Create custom application.
In the Assign Users and Groups tile, click Add Authorized Users.
Click Add User/Group and add the users as desired.
Under Application Properties, set the slider for "Enabled for user login?" to Yes.
Under Permissions, click Application Registration to add the desired permissions.
Enter the following permissions under API Permissions:
EWS AccessAsUser.All
Mail.ReadWrite
Click Authentication. Under Advanced Settings at the bottom, set the Allow public client flows slider to Yes.
Click Save
You have set up email retrieval using data from Microsoft Entra ID for your eTASK.FM portal.