Android TeamsRoom device cannot enroll to Intune – Error 20030

Recently I had issues with enrolling Logitech teamsroom devices to Intune with errorcode 20030. The exact message was “Couldn’t enroll with Intune. Please try again, or contact your admin., 20030”.

I did a lot of troubleshooting and in the sign-in logs I could see the following errors:
– Sign-in error code 50199 Failure reason For security reasons, user confirmation is required for this request. Please repeat the request allowing user interaction.
– Additional Details This is not an error – this is an interrupt that triggers device authentication when required due to a Conditional Access policy or because the application or resource requested the device ID in a token. This code alone does not indicate a failure on your users part to sign in. The sign in logs may indicate that the device authentication challenge was passed succesfully or failed.
– Sign-in error code 50187 Failure reason Failed to perform device authentication.

After some hours or troubleshooting it seemed nothing helped, and the only thing I wanted to try was deleting the AOSP profiel and creating a new one, that did it and resolved the Intune 20030 error!

Hope this helps someone out.