PowerShell – O365 – Force Mobile Device Quarantine to ‘Allow’ Device with PowerShell.

O365 – Force Mobile Device Quarantine to Allow Device with PowerShell. Devices get stuck in Exchange portal where you can’t allow or deny them.

Ocassionally, when allowing all devices in the Exchange portal of Office365, some items seem to get stuck in Quarantine. When selecting ‘Allow’ or ‘Deny’, the request times out and switched back to ‘Quarantined’.

We can force this change through PowerShell. Make sure that the IDENTITY is unique (one of a kind) or there will be issues:

After this was run for each user/device stuck in quarantine, they were all set to ‘Allow’ the device.