Hi
We have a big Problem with Exchange 2010 SP1 and all Apple Devices. After some Houres or days the ActiveSyncDeviceAccessRule change the state from allow to block. I Post this Problem her but at moment without any result.
Now I change back the role with this command
Get-ActiveSyncDeviceAccessRule | Where {$_.AccessLevel -eq 'Block'} | Set-ActiveSyncDeviceAccessRule -AccessLevel:Allow
But sometime are different or all user also blocked.
With this command I can see witch user is blocked.
Get-ActiveSyncDevice | where {$_.deviceaccessstate -eq 'Blocked'} | ft DistinguishedName
With this command I can activate one device
Set-CASMailbox –Identity david@domain.com –ActiveSyncAllowedDeviceIDs {ApplGB015M11111,Appl88923Y22222}
But I was not able to do that for all blocked Users with one Script.
Can anybody help me.
Thanks in advanced.
Kind regard
Röndi