ADManager Plus works with both Basic and Modern Authentication. ADManager will initially use Basic Authentication to communicate to Microsoft 365 and when it fails, it will use Modern Authentication. If you would like ADManager Plus to use only Modern Authentication to communicate with Microsoft 365, then Basic Authentication has to be disabled natively in Microsoft 365. Before proceeding, ensure that REST API is enabled for your Microsoft 365 tenant in ADManager Plus.
Steps to make Modern Authentication based connections to Microsoft 365:
1) In the the ADManager Plus server, open an elevated PowerShell window and execute the following commands:
- install-module AzureAD
- install-module MSOnline
- install-module ExchangeOnlineManagement
2) Now, execute the get-installedmodule command to get a list of all the PowerShell modules and verify if the Azure AD, MS Online, and Exchange Online Management modules are present.
3) Restart your server.
4) After restarting, start ADManager Plus and refresh your Microsoft 365 tenant.
Note: It is recommended to enforce TLS 1.2 to secure communications. Click here to learn more.