When trying to setup your Microsoft Entra tenant in ITMS (as indicated in the "Using IT Management Suite with Microsoft Entra" whitepaper), you are getting an error under the "New Azure Authentication Provider" page (under SMP Console > Settings menu > All Settings > Notification Server > Cloud Authentication > Authentication Providers, and then use the right-click menu to select New Azure Authentication Provider):
"The 'https://YourSMPServer.example.com:4726/altiris/console/authcallback/' redirection URL must be registered for the specified cloud application"
This environment has CEM (Cloud-Enabled Management) configured and in use.
The NS logs show the following error entry:
Failed to load validate redirection URL.
The redirection URL(s) 'https://YourSMPServer.example.com:4726/altiris/console/authcallback/' specified for provider 'New Azure Authentication Provider' are not registered in cloud.
[RestApiException @ Altiris.NS.Cloud.dll]
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.VerifyAzureRedirectUris(OauthLogonProvider, DataTable, CloudConnectivityTaskResult)
COM Exception errcode: 0xFB100005
Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(int, string, string, Exception, string)
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.VerifyAzureRedirectUris(OauthLogonProvider, DataTable, CloudConnectivityTaskResult)
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.LoadAzureProviderSpecificData(CloudLogonProvider, AzureCloudAdConnector, CloudConnectivityTaskResult)
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.LoadProviderSpecificData(CloudLogonProvider, ICloudActiveDirectoryConnector, CloudActiveDirectoryConnectivityTaskResult)
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.VerifyActiveDirectoryAccess(CloudLogonProvider, ICloudActiveDirectoryConnector, CloudActiveDirectoryConnectivityTaskResult)
at Altiris.NS.Cloud.Tasks.CloudActiveDirectoryConnectivityTask.ExecuteTask(Hashtable, ItemTaskState)
at Altiris.NS.TaskManagement.CoreTaskServiceThreadBase<,>.ExecuteThreadProc(object)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext, ContextCallback, object, bool)
at System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback, object, bool)
at System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback, object)
at System.Threading.ThreadHelper.ThreadStart(object)
ITMS 8.7.x
There is not a reference added in AZURE for using port 4726 in the Redirection URL:
The redirection URL(s) 'https://YourSMPServer.example.com:4726/altiris/console/authcallback/' specified for provider 'New Azure Authentication Provider' are not registered in cloud.
Port 4726 is dedicated to our CEM (Cloud-enabled Management) agent communication (See our Ports and Protocols for IT Management Suite).
Note:
Also make sure that whatever User you want to login with Azure Credentials into the SMP Console, that User's group needs to be added to your active directory import rule.
So, as summary, make sure: