Solve Workplace Join un-enrollment problems

Solve Workplace Join automatic un-enrollment in your environment.

John Savill

April 20, 2015

1 Min Read
Solve Workplace Join un-enrollment problems

Q. I have enabled workplace join in my environment however after a period of time devices become un-enrolled. Why and how can I stop this?

A. When device registration is enabled with ADFS devices can be registered with Active Directory. However, after 90 days (by default) devices are cleaned up and removed from AD if the devices have not connected. This can be viewed using the Get-AdfsDeviceRegistration cmdlet and viewing the MaximumInactiveDays value as shown.

PS C:> Get-AdfsDeviceRegistrationDrsObjectDN : CN=DeviceRegistrationService,CN=Device Registration Services,CN=Device Registration Configuration,CN=Services,CN=Configuration,DC=savilltech,DC=netDevicesPerUser : 10MaximumInactiveDays : 90IsEnabledOnPremises : TrueIsEnabledInCloud : FalseDeviceObjectLocation : CN=RegisteredDevices,DC=savilltech,DC=net

To disable the cleanup set the MaximumInactiveDays value to 0, for example:

Set-AdfsDeviceRegistration -MaximumInactiveDays 0

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like