Hot off the press! Synchronization and Notifications in Exchange Online and Exchange 2013

Last week, we added the following new content to the Exchange Online and Exchange 2013 development section on MSDN: Notification subscriptions, mailbox events, and EWS in Exchange Mailbox synchronization and EWS in Exchange This includes information about the affinity scenario for notifications, where the client manages its affinity with the mailbox server by using the…


Directory event log event 2914

  When studying the event log over a steaming hot cup of coffee, have you ever seen the following directory event (2914)? Process w3wp.exe (UNKNOWN) (PID=15780). Deleted throttling policy was referenced.  Id: ‘Org: SomeOrg…/Configuration, Id: CN=ThrottlingPolicy-DefaultMailboxPlan\0ADEL:4d73d344-d66f-4eed-85f9-b6c95dcd2a13,CN=Deleted Objects,CN=Configuration,DC=…,DC=com’. This one does require some action. In the case of this event log, a throttling policy was deleted…


Directory event log event 2917

Have you ever seen event 2917 in your Client Access server’s event log? It might look something like this: Process w3wp.exe (PID=1234). A budget charge was encountered that exceeded the limit of ‘2.768900000’ minutes.  Budget Owner: ‘SomeUser’, Component: ‘EWS, CostType: ‘CAS’. Sounds scary, doesn’t it? The wording is a bit odd (feel free to blame…


Throttling Policies and Caches

So, you decide that you want to edit a throttling policy. In the Exchange Management Shell, you run Set-ThrottlingPolicy and set some odd parameter to a new value. Then you make your EWS/Outlook Web App/etc. call and notice that the results have not taken effect. Bummer! Slightly miffed, you open up the Exchange Management Shell…


Throttling Policy Fallback Logic

The throttling framework is intended to protect Exchange resources, so if it is going to “fail”, it needs to do so in a safe and predictable way. Let’s say that Ken Malcolmson is assigned to non-default throttling policy XYZ. Unfortunately, an Active Directory elf climbed into your domain controller and scrambled things around a bit….


Throttling Policies and the EWSFindCountLimit

One of my favorite Exchange Web Services (EWS) methods is FindItem, primarily because it was the first Web method I wrote when I joined the EWS team long, long ago. Since then, it has undergone lots of optimizations, feature changes, and so on, to make it what it is today. One of the Exchange 2010…


Throttling Policies and CPUStartPercent

Throttling policies have this funny parameter called CPUStartPercent. This parameter defines the starting CPU use percentage at which Exchange will begin delaying inbound requests.  EWS, Exchange Active Sync, POP and IMAP honor the CPU Start Percent value in Microsoft Exchange Server 2010. Three (no, five!) things to keep in mind:1. The sampled CPU percent is…


Budget Snapshots in the IIS Logs

A few components (Outlook Web App, EAS, and EWS) log budget snapshot information to the IIS logs. EWS, notably, includes both a start and an end snapshot. Here is an example of an IIS log entry for EWS (lines are broken up to make it more readable): 2010-03-09 15:15:12 XX.XXX.XX.X POST /ews/Exchange.asmx ;RC:bfe35012-30fd-499e-90d6-552d0ca89fab;Init>>Conn:0,AD:30000/30000/0%,CAS:54000/54000/0%,AB:30000/30000/0%,RPC:36000/36000/0%,FC:1000/0,Hash:14366112,Sub:20/0;SoapAction=m:GetDelegate;Version=1;RpcC=14;RpcL=687;LdapC=0;LdapL=0;End(17156.25ms)>>Conn:3,AD:30000/30000/0%,CAS:54000/36907/28%,AB:30000/30000/0%,RPC:36000/35985/0%,FC:1000/0,Hash:14366112,Sub:20/0;443 Domain\User XX.XX.XXX.XX…