Public folders to Office 365 Groups – Yes Please!


The last couple of weeks have brought forward news of two solutions to migrate public folders (aka “the cockroaches of Exchange”) to Office 365 Groups (aka “Microsoft’s new answer to collaboration in the cloud”). The two solutions differ in concept and implementation, but both are valuable in what they do.

First, we have Binary Tree’s E2E Complete V4.1, which has added the ability to move public folders to Office 365 Groups to the set of other features previously supported by this well-known migration utility. Binary Tree has some serious credentials in the migration space, mostly earned by their ability to move Lotus Notes users over to Exchange on-premises or Office 365 (Binary Tree provide the Lotus Notes migration tools to Microsoft’s FastTrack migration center).

The development of the new E2E Complete feature was led by Exchange MVP Justin Harris, who knows his stuff. Justin is lined up to speak about several topics, including Office 365 Groups, at the IT/DEV Connections conference (aka the “anti Kool-Aid event”) in Las Vegas in October.Basically, you figure out what public folders you want to move to Office 365 Groups by applying a couple of simple tests:

  • Are the public folders in active use?
  • Do the users have Exchange Online mailboxes?
  • Are they mail-enabled?
  • Do the public folders store posts and calendar items?

There’s no point in migrating rubbish to Office 365 Groups. Old, obsolete, and unwanted material contained in public folders won’t be any better after it is moved to Office 365 Groups. The user interface might look nicer but the information will still smell.

Currently, users need to have Exchange Online mailboxes to be able to access Office 365 Groups. This limitation is due to go away soon as Microsoft has indicated that external access support for Office 365 Groups is a high-priority item that is on its way.

Posts are moved to Office 365 Groups as conversation items and stored in the group mailbox. Calendar items are moved to the group calendar. If a post has an attachment, it moves as an attachment. However, documents posted direct to a public folder can’t be moved today nor can journal items, contacts, or tasks. These item types are unknown in the context of Office 365 Groups. I guess they could be moved, but there would be little point if you couldn’t access them afterwards because the data couldn’t be presented as the UI was missing. Folders containing sub-folders will be collapsed into one if a single Office 365 Group is selected as the target.

After reviewing public folders and selecting those that should be moved, the administrator has to create the target Office 365 Groups (if they don’t already exist). Once all is ready, the source and the target are connected using the E2E Complete console and a background synchronization process based on MAPI moves the content from one to the other. After synchronization finishes, it’s best to check that the expected content arrived. and if happy, to remove the source public folder (or change its permission to stop further write access) and advise users to start using the Office 365 Group instead. Some element of bi-directional synchronization is possible, but E2E Complete is not designed to keep content updated between a public folder and an Office 365 Group over a sustained period. This is, after all, a migration utility.

The new capability is great news for Binary Tree customers who have settled on E2E Complete as their preferred migration tool. Office 365 Groups become another viable destination for public folder content and the same tool handles everything.

The other new product in this space is project ADAM from QUADROtech Solutions AG. In the spirit of full disclosure, I am a non-executive director of QUADROtech and have spent time working on ADAM, which remains a product in search of a name. I’m told that marketing have this issue on their plate and a wonderful name will be settled upon by the time Microsoft’s Worldwide Partner Conference (WPC) takes place in Toronto, Canada, in July.

QT3

The Dashboard for QUADROtech’s Project Adam

Although QUADROtech also engineers migration products for Exchange such as PST FlightDeck and MailboxShuttle (if you’re interested in eradicating those pesky PSTs, you can grab a copy of a free eBook on the topic authored by Mr. ExchangeServerPro, Paul Cunningham), ADAM is very different. Why? Because it is powered by an advanced analytic engine that is designed to cut through the mass of source data that often clogs up migration projects. Take public folders for example – quite often, you discover that the public folder hierarchy is populated with vast quantities of old, forgotten, or unknown folders that belong to no one or no group. Public folder hierarchies can range well up into the several hundred thousands and no good tools exist to make sense of what’s valuable and what’s not in the data lurking within.

The analytic engine used patent-pending technology to interpret the public folder hierarchy and come up with intelligent recommendations that administrators can then action with a single click. Multiple characteristics are considered in making a recommendation about the right target for a public folder. That target might be an Office 365 Group but on the other hand, if the public folder contains information that hasn’t been accessed in five years or a public folder has no known users, maybe its data should be moved to a PST.

Behind the scenes, other QUADROtech technology such as its Advanced Ingestion Protocol (AIP) is used to move the data out of public folders over to Office 365 Groups.

We’re still in the early days of public folder to Office 365 Groups migration and I imagine that other tools will appear by the time the Microsoft Ignite conference comes around next September. In the interim, it’s good to see that two respected companies in the Exchange ecosystem have come forward with two different kinds of solutions. Choice is great for everyone and competition has a fantastic effect on driving technology forward.

Follow Tony @12Knocksinna

 

 

 

Posted in Cloud, Email, Exchange Online, Office 365, Uncategorized | Tagged , , , , , , , | Leave a comment

News about the “Office 365 for Exchange Professionals” eBook


Folks,

A quick post to let you know that we have issued an update for the second edition of the “Office 365 for Exchange Professionals” eBook. The updates are now available to those who purchased the PDF/EPUB versions through ExchangeServerPro.com and the Kindle version through Amazon. The updated version is dated 20-May-2016. More information about our update process is available here.

These updates contain some corrections and clarifications that were identified during the technical editing process for the third edition together with some additional nuggets that we thought should be included, such as the instructions for tenants who want to move their data into a new Office 365 datacenter region. The introduction of the new datacenters in Canada make this news topical as many Canadian companies might want to move their data from U.S.-located datacenters to Canada to achieve the desired data residency. Note that only “core” Office 365 data can be moved, which means SharePoint Online and Exchange Online data. Some data, such as Sways created through an Office 365 account or the metadata for plans managed through Office 365 Planner (approaching general availability soon) will remain in the U.S.  And of course, the Outlook for iOS and Android apps have not yet moved off their intermediate processing that is performed on the Amazon Web Services platform to Azure. That will happen later in 2016.

Speaking of the third edition, we are going to take the opportunity presented by this edition to rename the book “Office 365 for IT Pros“. The simple reason is that although we started off by focusing on Exchange Online and helping on-premises admins figure out how to move workload into the cloud, the focus has changed dramatically since we released the first edition on 1 May 2015. The vast majority of the new content we have added covers topics that leverage components drawn from across Office 365, such as Office 365 Groups, or not related to Exchange Online, like Delve Analytics. We have also expanded coverage of SharePoint Online and OneDrive for Business because we believe that these are the natural next steps for an Exchange deployment to take following a mailbox migration.

We have so much new content that we have had to enlist the support of a second technical editor to handle the load. Vasil Michev, an Office 365 MVP who is well known to anyone who follows the Office 365 Network on Yammer for the quality of his responses to questions raised there, is doing a great job for us alongside Jeff Guillet, who had sole responsibility for the first and second editions.

In any case, the third edition is coming soon. Those who buy books through ExchangeServerPro.com will be offered a very attractive opportunity to update to the third edition following its release. Stay tuned for more news.

Follow Tony @12Knocksinna

Posted in Cloud, Delve Analytics, Email, Exchange Online, Office 365, Office 365 Groups, SharePoint Online, Uncategorized | Tagged , , , , , , , | Leave a comment

Microsoft posts Q1 2016 SLA performance for Office 365. Unsurprisingly, it was good.


Microsoft recently posted the Q1 2016 performance against SLA for Office 365 and reported a 99.98% outcome, which is the same number that they posted for the two previous quarters. Overall, things have been pretty consistent in terms of Office 365 service recently.

That’s not to say that Office 365 has not been without its problems. Looking at the Service Health Dashboard (SHD) for any tenant is likely to turn up some issues for any given period. It’s the nature of a very complex infrastructure that is in a state of perpetual software and hardware updates that some glitches will occur.

However, the sheer size of Office 365 and the number of tenants and users it now supports means that any single support incident or outage is unlikely to dent performance against SLA. At their Q3 FY16 analyst briefing, Microsoft said that Office 365 has 70 million active users, so the available time during a 91-day quarter is 9,172,800,000,000 minutes. A two-hour outage that affects 1% of the user base consumes 84 million available minutes and impacts the quarterly SLA by 0.00092%. Even a 12-hour outage affecting 5% of the user base (3.5 million users) only reduces the SLA by 0.02747%. Size definitely matters when it comes to SLA calculation.

Despite the media hype that invariably occurs when an Office 365 outage is publicized, the reality is that most Office 365 issues are highly localized. A software update might fail to “flight” some functionality to some tenants or introduce a bug to a set of servers in a particular datacenter. The problem is bad for the affected tenants but the vast majority of the other tenants, including those who have workload running in the same datacenter, will be blissfully unaware that problems are being worked by the support team.

Other utility services exhibit the same characteristics. A power outage in a transformer affects the houses and businesses that share the same circuit but the overall network keeps on running. A burst water pipe reduces pressure to the places it serves but taps everywhere else keep flowing.

It takes some time to get your head around what it means to run operations on a massive shared IT infrastructure. It’s a very different environment to a traditional on-premises infrastructure where a break in an essential component can stop service to everyone. Losing a network circuit because someone dug up a cable is a classic example of such a problem. Generally speaking, cloud services have multiple layers of redundancy built in to avoid the risk that problems introduced by the failure of a single component can spread. The structured and highly automated nature of operations, which is mandatory to manage hundreds of thousands of servers, also helps by eliminating issues that can be introduced through sloppy administration.

Microsoft offers a financially backed guarantee that Office 365 will attain an SLA performance of 99.9%. Soon after the launch of Office 365 in June 2011, they ran into some issues that caused major outages and had to pay out. However, as time goes on, the financial guarantee for the SLA looks like a pretty safe bet for Microsoft. The more users that Office 365 has, the less impact a single incident can have. It’s a nice position for them to be in.

Stay connected: Follow Tony @12Knocksinna

Posted in Cloud, Office 365 | Tagged , , | 3 Comments

The curious drop in mail items reported by Get-MailboxStatistics


Office 365 provides users with 50 GB mailbox quotas, so you’d expect that these mailboxes accumulate tens of thousands of items over time, especially as the default retention policy applied by Exchange Online does not clean out Deleted Items folders from user mailboxes (unless you change the policy).

Users are happy because they can keep as much data as they like while organizations are happy because data is retained for compliance purposes. So when reports suddenly show a major drop in the amount of data stored in Office 365 mailboxes, it’s a matter of some concern.

Which is exactly what happened in my Office 365 tenant in mid-May when the number of items reported for a number of mailboxes – but not all – suddenly had an alarming decline. Take the example of my own mailbox (below) where the item count reduced from nearly 272,000 to under 70,000.

11-05-16 Tony.Redmond 271950
12-05-16 Tony.Redmond 69337
13-05-16 Tony.Redmond 70164
14-05-16 Tony.Redmond 70677

The same decline was seen for a number of other mailboxes in the tenant:

13-05-16 dpredmond@ 17793
14-05-16 dpredmond@ 2680
15-05-16 dpredmond@ 2639

Looking at this from a tenant perspective (using the reporting facilities from Cogmotive.com), the drop-off is very obvious. In fact, it’s like the item count fell off a cliff face.

The number of mailbox items in an Office 365 tenant

The number of mailbox items in an Office 365 tenant

Behind the scenes, reporting products like Cogmotive depend on public interfaces provided by Microsoft to extract data that they use to generate reports like “Mailbox Item Count over Time”. Cogmotive connects to Office 365 regularly to fetch data on behalf of the tenants that have signed up for their service and stores this data for future reference, which is how they can provide charts of information over time.

In this case, Cogmotive uses the Get-MailboxStatistics cmdlet to fetch data about mailbox usage and this is where the problem seems to lie. If I run Get-MailboxStatistics against my mailbox, it reports:

DisplayName               ItemCount    LastLogonTime

Tony Redmond              71267        17-May-16 6:47:57 AM

However, if I run the Get-MailboxFolderStatistics cmdlet to report the items stored in each folder and export the data to Excel, I get a different figure:

Get-MailboxFolderStatistics –Identity TRedmond | Select Identity, ItemsInFolder | Export-CSV c:\temp\Items.csv –NoTypeInformation

The true count of items in a mailbox

The true count of items in a mailbox

There’s quite a difference in the figures reported by the two cmdlets: 71,267 and 222,276!

[Note to self: Maybe I should stop auditing owner events in my mailbox. Maybe Get-MailboxStatistics doesn’t like counting those audit items]

In any case, it seems like a change in behavior with the Get-MailboxStatistics cmdlet happened sometime in the middle of May. It’s strange that this should happen with Get-MailboxStatistics as the cmdlet was one of the original set introduced with Exchange 2007 and hasn’t change in scope or functionality much since. I know that the issue is not evident in just my Office 365 tenant as several Cogmotive customers have reported the same problem.

The issue has been reported to Microsoft. No doubt we’ll find out what happened in due course. In the interim, if you have some reports that depend on Get-MailboxStatistics, perhaps you need to check the output to ensure that it’s accurate.

Follow Tony @12Knocksinna

Posted in Exchange Online, Office 365, Uncategorized | Tagged , , , , , | 3 Comments

Virtual academies, odd questions, and MCSE recertification


The nice people at Microsoft Learning, previously famous for their decision to cancel the well-respected (but probably in need of reform) Microsoft Certified Architect (MCA) program, have scored another triumph with the MCSE recertification program.

The recertification program allows MCSEs to watch a number of Microsoft Virtual Academy (MVA) modules online and take the module-level assessments to prove that they understand the material that was presented. The results are then returned to MSL, who verify the data before they recertify the candidate.

MCSE: Messaging recertification requirements

MCSE: Messaging recertification requirements

Like many ideas, the recertification program seems good in theory. However, the effectiveness and worth of the program in action requires good MVA content backed up with solid assessments. For those who want to recertify as MCSE: Messaging, that means watching and passing 15 modules. The material doesn’t cover Exchange 2016 specifically, but seeing that Exchange 2013 and Exchange 2016 are so close, that shouldn’t be an issue.

Many program managers are featured in the video content, which is a good thing as they are talking about the product that they have helped to build. Of course, it’s all theory because the discussion focuses on how the product should work rather than how it does work in practice, but that’s always the case when a vendor presents material. What struck me is that the MVA material is a tad aged at this point as a lot of it was produced in 2013 and 2014, meaning that it does not reflect the current state of the art. Exchange on-premises has moved on through cumulative updates (and the release of Exchange 2016). Microsoft reported that 450 changes had been made inside Office 365 in the year to August 2015, which gives some insight into how quickly material and guidance changes.

The two Brians from the Exchange product group wax lyrical about deployment

The two Brians from the Exchange product group wax lyrical about implementation of Exchange 2013

I guess that material of this nature is always going to lag behind. It would have to be refreshed every quarter to have a chance of staying current, and that’s not going to happen. In any case, you can sit down with your beverage of choice and start watching videos and taking the module-level assessments. It will take time. Lots of time.

You’d hope that the questions posed by MVA to test the competence of those who participate in the recertification exercise are up to a certain standard of accuracy. Unfortunately, it seems like they are not. For example:

What feature is available in Exchange Online that is not available in Exchange on-premises?

  1. Mail Tips
  2. Mailbox delegation
  3. Security Groups
  4. Distribution Groups

This question is odd, to say the least. Both cloud and on-premises versions support A, B, and D, so C has to be the focus in the mind of those who set the question. However, Security Groups are available on both platforms and both support mail-enabled security groups. The question is what feature is available to Exchange Online that is missing on-premises but the answer is that the same features are available to both.

Or how about this?

Whoops! A figure too much...

Whoops! A figure too much…

Unhappily, the feature name is document fingerprinting. Figure printing is quite something else. I think it involves people covering their bodies in paint before rolling around on a canvas. Or something like that.

Tests are meant to examine the depth of knowledge that exists in an individual. Unfortunately, some of the test questions put to people who want to be recertified are based on marketing and a fair amount of Microsoft Kool-Aid. Here’s an example. Pick four answers from four, all of which are marketing cliches.

The Kool-Aid is very obvious here

The Kool-Aid is very obvious here

An example of how questions suffer from ageing is shown below. The answer to question 5 is marked as incorrect, but the answer is actually correct because Microsoft updated mailbox auditing for Exchange Online last year to support owner action logging. This is not the fault of the instructor as the response was accurate in June 2015 when the module was published. It’s just wrong now.

Whoops - only 6 right out of 7, but that wrong answer is actually right...

Whoops – only 6 right out of 7, but that wrong answer is actually right…

Overall, the quality of the questions doesn’t give you much faith in the precision of the recertification process. Apart from the absolute howlers described above, it’s obvious that some work needs to be done on an ongoing basis to ensure that the questions are not outdated and invalidated due to the rapid pace of change that occurs inside the products for which people are being certified.

Another oddity about this process is that you do not have to watch the videos if you don’t want to. You can skip through all the steps in a module to get to the assessment and answer the questions there. And you can try your luck answering the questions several times until you are able to pass the assessment. While you’re going through the assessment questions, no possibility exists that anyone would have another browser tab open so as to be able to search for the answers.

In summary, you can recertify your MCSE: Messaging accreditation by watching a lot of video and answering some questions that can be a little odd at times. The quality of the process shines through in all respects.

Creating and operating high-quality accreditation programs is hard, especially for high-volume global audiences. Providing knowledge through the MVA is a worthy initiative that provides valuable information to those who care to watch, but the content presented for MCSE: Messaging is now aged and is too Microsoft-centric. It would be nice to see some  more field practitioners used as instructors.

Given the issues with the MVA content and questions, I don’t think that this route is fit for the purpose of recertification and wonder about just what achieving recertification actually means for individuals. Some are folks who will simply be upgrading their skills off a broad base of practical knowledge and experience and this will simply be the cherry on top of the cake for them. But I worry that “paper MCSEs” might be able to trumpet that they have all the skills and experience in the world required to take on complex projects because they’ve managed to be recertified due to their expertise in video watching and skill in navigating odd questions.

Of course, this wouldn’t be the first time that I disagreed with MSL and I suspect it won’t be the last…

Follow Tony @12Knocksinna

Posted in Email, Exchange, Office 365 | Tagged , , , | 2 Comments

New law might make Delve Analytics popular in France


The news that France plans to ban work email out of hours creates a natural question whether other countries will invoke similar measures to help protect employees from the always-on environment that increasing access to capable mobile devices and ubiquitous network connectivity has created. The answer is probably “No”, on the basis that few other countries take the same smothering attitude to workforce behavior as is found in France. Even there, I wonder if this program will be any more successful than the 2000 measure to introduce the 35-hour work week that was scrapped this week.

The 35-hour work week was policed by inspectors who monitored the comings and goings of employees at major companies to ensure that everyone went home at the right time. Of course, once people reached home, they connected to work systems with their home computers and carried on working, which rather spoilt the whole idea.

According to reports about the new initiative, “Companies of more than 50 people will be obliged to draw up a charter of good conduct, setting out the hours – normally in the evening and at the weekend – when staff are not supposed to send or answer emails.”

I guess some people will pay attention to the charter of good conduct in the same way that people don’t sneeze into their hand or drop chewing gum on the carpet. However, human nature makes it a fair bet that most will keep on looking at their iPhones or other mobile devices in response to the electronic buzz n’ burr that lets them know about the arrival of Facebook updates, WhatsApp messages, tweets, and work email.

I’m not sure that people think that they are “connected to the office by a kind of electronic leash like a dog”. I’ve certainly never viewed Outlook in that light, but I can see how people feel under pressure to respond to email that arrives after they’ve left work, especially when the email comes from someone higher up the corporate hierarchy looking for action on a matter ASAP.

France could appoint government inspectors to check that people aren’t reading work email when they shouldn’t, but it’s kind of hard to tell what is a work email and what is not. It’s not a case of using a consumer email system rather than a corporate system as lots of work gets done using Gmail.com or Outlook.com. You can’t even tell the difference in the appearance as a work message looks much the same as a note from your maiden aunt, excepting of course that the message from your maiden aunt probably doesn’t include some corporate logos and an autosignature warning of dire consequences should the message be read by an unauthorized person.

No one has yet called for software blocks to be instituted to stop work email being read out of hours but it can’t be long before some under-informed legislator makes such a demand. Of course, it’s totally impractical and probably illegal for a government to impose such a block, but they might ask software vendors to incorporate options to allow users to disable the arrival of new email outside the working day as a sort of “flight mode” for email. Given the number of options that already exist to customize email clients, adding another wouldn’t be a huge stretch for email vendors.

In any case, while we wait for the fuss and bother to settle down and reality to replace fantasy, software is already available to help people understand how they spend their time. Delve Analytics, part of the E5 plan for Microsoft Office 365 and available as an add-on for other plans ($4/user per month), provides an overview of after-hours activity in the personal dashboard that’s available to users. That ability might make Delve Analytics popular in France if the move to ban work email outside work hours ever gains traction.

User activities are traced using the information gathered in the Microsoft Graph. Right now, only meetings and email activities are measured so the information shown doesn’t provide a full picture of work done outside office hours, but Microsoft is bound to include measurement of other areas such as document creation in Delve Analytics in the future.

Delve Analytics measures my after-hours activity

Delve Analytics measures my after-hours activity

As you can see from the screenshot, in the week that was analyzed, I spent 1.5 hours in meetings after-hours and 7.4 hours processing email, so I would probably be a serial offender in the eyes of French lawmakers. Oh well… it won’t be the first time that my work habits have been frowned upon by some and it probably won’t be the last.

C’est la vie.

Follow Tony @12Knocksinna

Posted in Cloud, Email, Office 365 | Tagged , , | 1 Comment

The end of Exchange Unwashed


As many of you know, I have written the Exchange Unwashed blog for WindowsITPro.com for about five years. Recently, as a result of a disagreement with Penton Media over the direction that the site is taking, I decided to cease writing the blog.

I enjoyed writing the 574 posts covering Exchange, Exchange Online, and many aspects of Office 365. I also enjoyed writing articles for the site and its predecessor print magazines going back as far as covering Exchange 5.0 in 1997. All things come to an end, I guess.

I have plenty of work to occupy my time with client companies and customers, mostly now focusing on the impact and disruption that Office 365 is having on business models and operations. And then there’s the small matter of the next edition of the Office 365 eBook, which is on track to appear in early June as well as preparations for conferences that I have a hand in organizing (like IT/DEVConnections in Las Vegas next October) or those I plan to attend (Microsoft Ignite in Atlanta in September). In short, I won’t be looking for new things to do.

Because I like to write about technology, especially how to use technology effectively, I’ll still write posts that will appear in this blog and as guest posts on other sites (such as Lies, damn lies, and statistics obfuscate Office 365 numbers for ENow Software). However, it will be nice to have a rest from the twice-a-week writing cadence that I have followed since 2011.

Thanks for all the support and questions that I’ve received for Exchange Unwashed over the years. It’s been a blast, but now it’s time to move on.

Follow Tony @12Knocksinna

Posted in Email, Exchange, Office 365, Technology | Tagged , | 3 Comments

The automatic cleanup of old Exchange ActiveSync device partnerships


In 2012, I wrote about ActiveSync device partnerships some time ago to describe how partnerships are created and how they accumulate over time, which leads to the need to clean up partnerships belonging to old and obsolete devices, such as that HP iPAQ hw6515 that has long since been disconnected from your life. Bizarrely, you can still buy the device through Amazon.

The reason why you might be concerned about device partnerships is that old ones can clog up user accounts and prevent users adding new devices, which is not a great experience when they’ve just bought a new iPhone and now want to synchronize Outlook for iOS with their mailbox.

My previous discussion focused on Exchange 2010. Microsoft subsequently introduced the New-ThrottlingPolicy and Set-ThrottlingPolicy cmdlets in Exchange 2013 and these cmdlets include the EasMaxInactivityForDeviceCleanup parameter to help address the problem of decaying partnerships. This development quite passed me by, which isn’t an unusual state of affairs because the code base for Exchange is so large.

In any case, the EasMaxInactivityForDeviceCleanup parameter is defined in TechNet as follows:

“The EasMaxInactivityForDeviceCleanup parameter specifies the length of time that a user’s device partnerships will remain active. By default, there is no limit to the number of days that a user’s device partnerships will remain active. Use this value if you want to minimize the amount of inactive device partnerships in your organization. To use this setting, specify a value in days since the user’s last sync time to cause the device partnership to be removed.”

Exchange 2013, Exchange 2016, and Exchange Online all include code that can clean up obsolete partnerships when a new mobile device is added to an account. The following processing occurs:

  1. User attempts to add a new mobile device with ActiveSync.
  2. If no throttling policy is assigned to the mailbox or the policy that is assigned has a $Null or “unlimited” value for EasMaxInactivityForDeviceCleanup no further checking occurs as these values indicate that the administrator doesn’t want device partnerships to be cleaned up.
  3. Existing device partnerships with the account are checked. Those that exceed the value of EasMaxInactivityForDeviceCleanup are regarded as being inactive. Within Exchange Online, an inactive device is one that has not connected to the mailbox for 180 days or more.
  4. Any inactive device partnerships are removed from the account.
  5. A check is performed to ensure that the number of remaining partnerships remains under the limit for devices (100). In an on-premises environment, you can change the maximum number of EAS devices to whatever value you choose by updating a throttling policy and assigning it to mailboxes.
  6. If the cap is not exceeded, the new device is added.

Obsolete device partnerships are checked during the device addition process to minimize the demand on system resources. Clearly, there’s no point in looking for obsolete device partnerships if they’re not causing a problem and the only problem that old partnerships cause is when they might block the addition of a new device.

The cmdlets to control throttling policies are only available for on-premises servers. There’s no need for them to be available for Exchange Online because Microsoft takes care of system resource management and anyway, a very different throttling regime exists in a multi-tenant environment.

The nature of cloud services is that they are much more automated and controlled than on-premises systems. Adding a method to clean-up obsolete device partnerships makes a lot of sense for Exchange Online. Exchange Online allows up to 20 device partnerships to be removed for an account to be removed per month.

The code to remove obsolete device partnerships is also present in on-premises mailbox servers but it won’t be used unless the throttling policies that are assigned to mailboxes include a value for EasMaxInactivityForDeviceCleanup, which might not be the case. If the policies are updated to include a limit for inactive partnerships, then the code will swing into action. If activated, no limit is placed on the number of device partnerships that an Exchange on-premises server can remove per month.

Exchange 2010 supports 10 device partnerships per account; Exchange Online and Exchange 2016 both support 100, an increase that surely reflects the increasing use of mobile devices by everyone. It’s interesting to speculate quite how long it would take a normal human being to accumulate 100 mobile devices!

It’s good that Microsoft has implemented the functionality to detect and remove old device partnerships when new devices are being added. It would be good if this was developed further so that device partnerships were managed on an automatic basis according to a policy. For instance, you might be able to say that the partnerships for devices that hadn’t connected to an account in over a year should be removed. Even better, it would be good if administrators received a heads-up message every week or so to inform them that some device partnerships are approaching the point at which they will be removed, just in case one of the partnerships belongs the backup device for the CEO.

There’s nothing to stop you removing old device partnerships using PowerShell if you want to. Here’s an example of how to do the job using an updated version of the code published in the original post. The code checks for partnerships belonging to devices that haven’t synchronized in the last seven days and removes them.

Get-CASMailbox -ResultSize Unlimited -Filter {(HasActiveSyncDevicePartnership -eq $True) -and (Name -Notlike “Cas_*”) -and (name -Notlike “DiscoverySearchMailbox*”)} | ForEach {Get-MobileDeviceStatistics -Mailbox $_.Identity | Where-Object {$_.LastSuccessSync -le ((Get-Date).AddDays(“-7”))} | Remove-MobileDevice}

It’s easy to amend the code to make the check work for 15, 30, 45, or however number of days you see fit, but please test the code before you run it for real. It’s just too easy to run some PowerShell and clean data up really fast. So fast that all your data goes, including whatever you want to keep. Practice safe scripting…

Follow Tony @12Knocksinna

Posted in Cloud, Exchange, Office 365 | Tagged , , , , , , , , | 17 Comments

Exchange Server Troubleshooting Companion eBook now available


I’ve beTrCompanionen spending a lot of time on Office 365 recently, so it was nice to have the opportunity to work on an Exchange on-premises book for a change. I’m delighted to say that MVPs Paul Cunningham and Andrew Higginbotham have completed their “Exchange Server Troubleshooting Companion” eBook that is now available to purchase on ExchangeServerPro.com.

I was the overall editor of the book, a role that I have got a lot of experience in recently, mostly working on the “Office 365 for Exchange Professionals” eBook. The writing team is currently working to complete the third edition and we expect it to be available at the start of June.

Getting back to the Exchange Server Troubleshooting Companion, I had a lot of fun attempting to meld the different writing styles of Australia and Texas into a coherent whole. Jeff Guillet was the technical editor. I guess that means that any typos are my problem and any technical mistakes are his…

I think that this book is a useful tool for any on-premises administrator who wants to learn from some of the best pros in the business. The 12 chapters and 300-odd pages are laid out in a practical and accessible manner. There’s lots of value to be found, not least in the set of curated links to additional resources that is included for each chapter. The web is great, but there are many poor sites out there that contain bad, misleading, or poorly written content, so having a set of recommended reading for topics like Performance or Clients is invaluable.

Hopefully, you’ll like the book and will find it both interesting and useful. I think you will, but I’m biased!

Follow Tony @12Knocksinna

Posted in Exchange, Exchange 2010, Exchange 2013 | Tagged , , | Leave a comment

Third edition now in review


The third edition of “Office 365 for Exchange Professionals” has entered an important phase where we have released the text of the book to fellow MVPs and to Microsoft subject matter experts for their review and comment. A good bunch of MVPs who specialize in Exchange, Office 365,  SharePoint, and Directory Services are busily combing our text to detect any errors, inconsistencies, or areas that can be improved. This process will last through all of April and allow us to make the book available towards the end of May.

Why such a delay until release? Well, apart from having to process all the comments that we know we will receive, we also know that some new functionality will appear inside Office 365 between now and then and we’d like to include it in this version. In other words, we’ll probably be patching content in right up to the time when we publish.

In terms of what has been done in the third edition, we’ve taken a long hard look at the structure of the book and its content and made some changes for the third edition. A lot of content about the steps involved in migrations has been moved out to files that will be downloadable from ExchangeServerPro.com. We have removed redundant and obsolete material and have consolidated and expanded the material covering Office 365 identities, authentication, and directory synchronization into a new chapter. Additional chapters cover new applications such as Delve Analytics and Office 365 Planner and we have refreshed all of the other chapters to make sure that they are up to date at the time of writing. The new chapter list is:

1: Introduction to Office 365

2: Making the decision to embrace the cloud

3: Office 365 identities and authentication

4: Migrating to Office 365

5: Managing Office 365

6: Managing hybrid connections

7: Managing mailboxes

8: Managing other mail-enabled objects

9: Office 365 Groups

10: Office 365 Planner

11: Public Folders

12: Office 365 Addressing

13: Managing hybrid recipients

14: Managing mail flow

15: Managing clients

16: Retaining information

17: eDiscovery

18: Security and Compliance Center

19: Reporting and Auditing

20: Information Rights Management (IRM)

21: Data Loss Prevention (DLP)

22: Delve and Delve Analytics

23: Doing more with Office 365 (SharePoint, OneDrive, Video Portal, etc.)

Despite the title, the content now reflects a lot of non-Exchange topics because Office 365 is much more than any single application or workload.  We estimate that the final text will span some 350,000 words and include over 600 examples of how to use PowerShell to manage Exchange, Azure Active Directory, SharePoint Online, and OneDrive for Business.

Of course, completing the third edition is only the start of the process. Our aim is to keep content updated to match what you see inside Office 365, so we’ll be issuing updates on a regular basis from June onward. See this post for more information about how we provide updates for versions of “Office 365 for Exchange Professionals”.

The second edition (for EPUB and PDF) and Amazon Kindle will remain on sale until we release the third edition. However, we will follow our usual approach for the third edition and those who have bought copies of the first or second edition through the ExchangeServerPro.com site will be able to upgrade to the third edition after its release. Details of how to take advantage of this offer will be emailed to eligible site members when books are available.

Hopefully the plan comes together, the comments will flow in, new functionality will be documented, and we’ll have the third edition at the end of May. Stay tuned here for more information as we have it.

Connect with Tony @12Knocksinna

Posted in Cloud, Email, Exchange, Office 365 | Tagged , , | 3 Comments