Symptom: Room panel appears to login to Teams but then returns to device login screen. Azure sign-in logs revealed a failed sign-in. Error code 50199.
Steps to glory !
Be sure you got the following licenses assigned.
- Azure Active Directory Premium P1
- Microsoft Intune
These are bundled with Teams Room Pro license SKU.
Next check that “use device administrator to manage devices” is enabled
This is found off Intune home screen > Devices > Android > Android Enrolment >
Now we need to create a Security group for our room panels and add the accounts for each panel to the group. Created this in Azure AD Groups.
Now we will create an “Enrolment device platform restriction”. This found in found off Intune home screen > Devices > Enroll Devices > Enrolment device platform restriction and “Create restriction”.
Create the restriction, allow “Android Device Administrator” you can specify the manufacturer of the panel to further secure the restriction, finally assign it to your new dedicated Room Panel security group. I X’d relevant modifications.
Now attempt to login the panel again, I allowed 10 minutes to elapse following creation of the exclusion.