Block Attachment on mobile device

Nothing new but may have been ignored. If you don’t want your users to download an attachment on their mobile device,  here are two simple steps.
blockatt

 

Get-ActiveSyncMailboxPolicy

blockatt1

[PS] C:Program FilesMicrosoftExchange ServerV14scripts>Set-ActiveSyncMailboxPolicy -Identity Default -AttachmentsEnabled:$False

Activesync Policy

Activesync Policy

Understanding Export-ActiveSyncLog

Export-ActiveSyncLog – Part 1-2

Is the iPhone ActiveSync is not fully supported by Microsoft?
Is the iPhone ActiveSync has some bugs?
Are Android Phones are fully supported?

I see very small hit count on the CAS Serve only from Windows Mobile while other smart phones hits are way higher and facing the issue.

Microsoft Exchange Server 2007 and Exchange ActiveSync offer a wide variety of features for both users and administrators. As an administrator, it is important that you know the volume and usage patterns of your deployment. This information can help you effectively manage your Exchange ActiveSync deployment, better understand user productivity, and plan for future needs. Reporting in Exchange ActiveSync for Exchange Server 2007 is a Windows PowerShell task that compiles a set of Internet Information Services (IIS) logs and processes to create a series of output files. Each file is a separate report that can help you understand your Exchange ActiveSync deployment. This topic provides an overview of the cmdlet you can use to generate these reports and information about the content of these reports.

I have been receiving complaints from the user community about their iPhone messing up on their ActiveSync accounts. This only happened to the iPhone and there was not a single complain from any Android user neither from any Windows Mobile User.  I came across a number of ways to export the logs but there was not enough information available except generate the result of the logs. I extracted the logs and tried to understand and below is the finding which very helpful.

 

Run Against all the IIS Logs

Get-Childitem C:WINDOWSsystem32LogFilesW3SVC1 | where-object {$_.lastwritetime -gt $DateToCompare} | ForEach { Export-ActiveSyncLog -FileName $_.FullName -OutputPath “C:reports” -OutputPrefix $_.Name.Replace(“.log”,”_”) -UseGMT:$true}

This cmdlet will go through all the logs in IIS under the W3SVC1 Directory and it will take time depending the size of logs OR if you want you can add the –StartDAte and –EndDate to the specific dates are looking for.

More than 123000 hits and they are all iPhone

 

When I sort the same sheet with Hits the minimum hits are generated by Windows Mobile 7.0

After doing this extensive research I am still unable to understand why there are so many hit by the devices which are non-Microsoft and why iPhone has the maximum hits on the server. I will end this post with these questions in my mind and I hope Microsoft or MS Exchange will look into this and provide some solution.

 

Run Against a specific date

Export-ActiveSyncLog -FileName: “C:WINDOWSsystem32LogFilesW3SVC1ex120126.log” -StartDate:”2012/01/25″ -EndDate:”2012/01/26″ -UseGMT:$true -OutputPath:”c:reportsthu”

The output is something like that with 6 files

Output of the Servers.csv

When I look at the UserAgent CSV file from the date the user’s complained I was surprised to see there were more than 293000 hits in total from 452 Unique Devices and out which 172 Unique Devices had More than 123000 hits and they are all iPhone

When I sort the same sheet with Hits the minimum hits are generated by Windows Mobile 7.0

After doing this extensive research I am still unable to understand why there are so many hit by the devices which are non-Microsoft and why iPhone has the maximum hits on the server. I will end this post with these questions in my mind and I hope Microsoft or MS Exchange will look into this and provide some solution.

Soon I will update the part 2 of this post which will cover the ActiveSync Report using Log Parser comparing the same data and two different output.

Related Links

http://support.microsoft.com/kb/2469722
http://support.apple.com/kb/TS339
http://tools.ietf.org/html/rfc1945#section-10.15
http://msdn.microsoft.com/en-us/library/ee204257(v=exchg.80).aspx
http://msdn.microsoft.com/en-us/library/dd299446(v=EXCHG.80).aspx