Comments on: PowerShell Script for TroubleShooting Exchange ActiveSync Devices https://practical365.com/troubleshooting-exchange-activesync-devices-script/ Practical Office 365 News, Tips, and Tutorials Sun, 24 Apr 2022 03:13:13 +0000 hourly 1 https://wordpress.org/?v=6.3.2 By: Simon Quist Erichstrup https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-234043 Thu, 18 Mar 2021 22:15:43 +0000 https://www.practical365.com/?p=39354#comment-234043 In reply to Keith Langmead.

Hi Keith,

I found it on Pauls own GitHub
https://github.com/cunninghamp/EASTroubleshooter/blob/master/Start-EASTroubleshooter.ps1

]]>
By: Keith Langmead https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-233678 Fri, 26 Feb 2021 16:54:48 +0000 https://www.practical365.com/?p=39354#comment-233678 Sadly it seems Microsoft have decided to bin off the Technet Gallery (rather than just make it read only) so that link is now dead. Any chance of it being uploaded somewhere new?

]]>
By: Carlos Gomes https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-231569 Wed, 07 Oct 2020 00:56:00 +0000 https://www.practical365.com/?p=39354#comment-231569 In reply to Deep Saha.

HI Deep Saha, i didnt upgrade from Exchange 2013 however just in the last month i started having issues with a user that has over 13000 mailbox folders/subfolders (not of inbox as we delete everything older than 30 days in the inbox which would apply to subfolders) User native mail app on iphone not working well, typically going blank or having white spaces in the inbox eventually refreshing normally and the outlook app for ios not working well at all.
I am almost convinced it is related to the number of subfolders however i have not been able to find the proof of this.

]]>
By: Deep Saha https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-228811 Sun, 09 Feb 2020 14:03:09 +0000 https://www.practical365.com/?p=39354#comment-228811 Can you guide me in a scenario?

After Upgradation from 2013 to 2016 Active Sync is unable to sync all Folders and Subfolders but can connect and also can see few folders.
Active Sync Logs say Sync Key is not matching or invalid.
I tried to create a new policy/rule to reset Sync Key but still the same issue.

Any suggestions here?

]]>
By: Penny R Bristow-Wendt https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-212887 Wed, 12 Jun 2019 19:01:15 +0000 https://www.practical365.com/?p=39354#comment-212887 This is a great script but I have run into an issue with it as well as running a manual command to pull back a list of devices from Office365 cloud. Slow is one thing but never bringing results is what is happening and again not just on your script but if I run a get-mobiledevicestatistics for any particular users mailbox manually. Ive tried it on my own acct and purposefully deleting all but a handful of devices before trying just to rule out number of devices hanging it up.

# Retrieve the mobile device statistics (this part can be slow)
$MobileDeviceStats = @(foreach ($mobiledevice in $MobileDevices) {Get-MobileDeviceStatistics $mobiledevice.Identity})

Write-Host “”
Write-Host -ForegroundColor White ” *** Mailbox Allow/Block Device ID List ***”
Write-Host “”

$AllowedDeviceIds = @($CASMailbox.ActiveSyncAllowedDeviceIds)
$BlockedDeviceIds = @($CASMailbox.ActiveSyncBlockedDeviceIds)

# Output the list of allowed device IDs
if ($AllowedDeviceIds.Count -gt 0) {
Write-ResultsToConsole -Pretext “Allowed Device IDs” -Result “$($AllowedDeviceIds.Count) devices”
#List each device ID and the device’s friendly name
foreach ($DeviceId in $AllowedDeviceIds) {
Write-Host “ID: $($DeviceId) ($(Get-MobileDeviceFriendlyName $DeviceId))”
}
}
else {
#If there are no allowed device IDs output a result of None
Write-ResultsToConsole -Pretext “Allowed Device IDs” -Result “None”
}

]]>
By: Gernot https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-203440 Thu, 18 Apr 2019 09:31:34 +0000 https://www.practical365.com/?p=39354#comment-203440 Working for a Long time with quarantine and allow. Was working fine without any Problems. Now i have 2 phones different users, after the device is allowed and after 5 – 15 Minutes, don’t really can say how long the device goes from allow to block. Absolute no idea what‘s the reason for hat. DeviceAccessStateReason: Individual. Can set it back to allow but same thing after some Minutes blocked again. Exchange 2013 CU21

]]>
By: Jesus Marin https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-191840 Thu, 21 Feb 2019 22:23:43 +0000 https://www.practical365.com/?p=39354#comment-191840 Hi,

I have been troubleshooting an issue, as suddenly several users started receiving this email:

Your phone won’t be able to synchronize with the server via Exchange ActiveSync because of an access policy defined on the server.
Information about your mobile phone:
Device model: Outlook for iOS and Android
Device type: Outlook
Device ID:
Device OS: Outlook for iOS and Android 1.0
Device user agent: Outlook-iOS-Android/1.0
Device IMEI:
Exchange ActiveSync version: 14.1
Device access state: Blocked
Device access state reason: Global

When I check the device is still syncing, no issues.

Do you have a clue of the reason of this emails?

]]>
By: NABILIT https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-188719 Wed, 30 Jan 2019 12:48:22 +0000 https://www.practical365.com/?p=39354#comment-188719 Hi
Is there a comand to execute for All mailbox
Regards

]]>
By: NABILIT https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-188716 Wed, 30 Jan 2019 12:38:38 +0000 https://www.practical365.com/?p=39354#comment-188716 Hi,

Thanks for the script that helps us a lot vefry help full, Please could you share a script that showoing mailboxes that use the active service sync and another that users use owa
Regards

]]>
By: Rob https://practical365.com/troubleshooting-exchange-activesync-devices-script/#comment-168927 Wed, 07 Nov 2018 15:58:06 +0000 https://www.practical365.com/?p=39354#comment-168927 In reply to Preston.

the “excessive” sub folder issues are a general client issue, not directly related to activesync.

]]>