We are in the process of Integrating a third party MDM (on-premise) with Autopilot in AAD portal to enable Windows 10 OOBE. We want to achieve this by leveraging an on-premise Core Enterprise Application server in Azure. We have configured the following so far which is not working as expected. Also Can't find any relevant event logs within "User Device Registration" or "DeviceManagement-Enterprise-Diagnostics-Provider" :
- The Autopilot Device Profile was created by importing ID into Autpilot.
- Security Group with authorised users incl. MFA enabled Authentication
- Redirect URIs was also configured in MDM App used by Azure AD to join Web App via corresponding client_id which maps one of Azure DRS.
NB: All of the above and a host of other requirements was double checked and tested several times. Device is able to enrol when InTune is used as the MDM server (by adding the InTune application to my Azure AD)
A Test Device out of the box was used to run the following test scenarios in Azure with an E5 incl. mdm + security subscription.
During our tests we got the following error:
****> we are not able to enroll Azure AD due to : Redirect UI > [https://login.microsoftonline.com/WebApp/CloudDomainJoin/10] is not > formed correctly****
After some googling i read this could be caused by DNS issues, outbound proxy issues, or a variety of other reasons.
I also read this can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. We might have sent the authentication request to the wrong tenant but checked this with a colleague today and granted all necessary permissions as required. Didnt do the trick
I also read this could simply be due to a general Authentification Failure which still looks very generic to me.
Anyone has any clues on how to troubleshoot these kinds of problems based on the error reported. Tips Will be very much appreciated.