Summary of year 2014


Fantastic, beautiful, hectic, fun, stressed… well.. this year (2014) got it all! In most ways it has been great 🙂
In the professional way I took the opportunity to join Microsoft AB/MCS (Microsoft Consulting Services) and together with that me and my wife (yes we got married this year too) moved from Malmö to Stockholm in late February 2014.

We had some struggle to find an rental apartment but sorted it out, then sold my old apartment and bought a new one in Stockholm. In the meantime we planned our wedding and had our wedding in May together with family and friends. On the spare time in there between somewhere, I also trained for a 30km running competition in the forests in Stockholm called Lidingöloppet.
In the autumn I think we spent most of our spare time and weekends with renovating the new apartment and finally we are pretty much done, just some minor things to complete now.










At MCS, I’ve been spending a lot of time working with Office 365, with most of its workloads and done deep dive’s into DirSync and Azure AD Sync, AD FS for Office 365 but also working with Exchange on-premise and advanced PowerShell creating identities in Office 365/Azure AD and also been involved in automation an creation of an whole test environment of virtual servers, including applications and settings in Azure using PowerShell Desired State Configuration (DSC).


Goals for 2015:

Health – It’s time to start serious training at the gym again and take care of the health a bit better than 2014. This is no #1 priority for me 🙂

Exchange 2013 PowerShell book update – upcoming 3rd edition of the success story (Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition) is planned to be released in June/July 2015. Now based on PowerShell v4/v5 and also includes Desired State Configuration (DSC). For more news about this use the link above and follow me on twitter.

Career – The plan is to dig into details about SharePoint, Azure, Lync, FIM/MIM.. many things to learn!

Together with a colleague planning to release a cross-platform “App” to Windows Phone, iPhone and Android. Keep you’re eyes open here for more news about that!

Summary of year 2013

Summary of year 2013

happy-new-year-2014-wallpaper-4The final post of this year is a summary of 2013, the year that gave my career a real boost.

Before this year started I had a few goals, one of them was to get the MCM/MCSM: Exchange approved from the company I’m working for. This was accomplished and a few weeks later it was announced that Microsoft Learning cancelled them. On the private level I proposed to my fiancée and we are getting married in May 2014 :).

Regarding work and projects, I’ve been involved in a few great assignments, all long term. It started in the autumn of 2012, my tasks within the project was finalized in February 2013, it was as far as I know the first project in Sweden that involved a coexistence between on-premise Domino mail solution and Microsoft Office 365. This was accomplished by using Dell Software’s Coexistence Manager for Notes. The project itself gave some great challenges and in the end a very happy customer.

In February I started a new long term assignment at a very large retail company were I was brought in as an Exchange and PowerShell expert and I helped them develop their mail platform, as an example, it could be tasks around provisioning objects into the mail platform. During this project I’ve developed my PowerShell knowledge and skills even more and come to know lots of great people, and probably one of the best managers I’ve ever worked with. I do hope that someday in the future we will all work together again, it would be lots of fun.

As a result of my work from February to August, I were also brought in as the technical lead since I’ve previously been involved in these kind of projects. This project is ongoing and will be finalized in February/March 2014. Pilots are running fine and the full-scale migration will start in the beginning in next year.

Another thing I’m very proud of is one of my private accomplishments, that the book got released in May 2013. If you for any reason haven’t seen it and want to learn more PowerShell for Exchange, have a look at it. Follow the link: http://www.packtpub.com/microsoft-exchange-server-2013-powershell-2e-cookbook/book.

As a side project on my spare time, I’ve been writing on a series of migration articles using Dell Software’s products and a couple of scripts have been published during the year. Hopefully these publications have been of great value to you.

Regarding the goals for 2014, I will come back to them within a few weeks with some news that aren’t official yet.

Finally I want to thank everyone that has been retweeting my articles on Twitter, and also to those that have been involved in one way or another regarding my blog and book. I’m looking forward to the challenges that 2014 will bring us all.
I wish you all a happy new year!


Part 6: Prerequisites for Coexistence between Domino and Exchange 2013/Office 365

Part 6: Prerequisites for Coexistence between Domino and Exchange 2013/Office 365

Published: 2013-10-08
Updated: –
Version: 1.0

This post will focus on having the technical prerequisites ready and in place for a successful Domino/Notes coexistence deployment.

Before going into any details, if you are planning to do have a coexistence scenario between Domino and Exchange, you may consider to use Dell Software’s Coexistence Manager for Notes. One important thing to mention is that there is a requirement from the vendor, to use certified people for the project.

This blog post is based on Coexistence Manager for Notes version

Read the other parts:

Part 1: Migrations – Overview
Part 2: Prerequisites for Domino/Notes migrations
Part 3: Migrating Domino/Notes to Exchange 2013 On-premise
Part 4: Migrating Domino/Notes to Office 365
Part 5: Migrating Resources Mailboxes, Mail-In databases and Groups
Part 7: Configuring Coexistence Manager for Notes with Exchange 2013 On-premise
Part 8: Configuring Coexistence Manager for Notes with Office 365
Part 9: Prerequisites for Migration Manager
Part 10: Migrating User Mailboxes from Exchange 2003 to Exchange 2013 using Migration Manager
Part 11: Migrating User Mailboxes from Exchange On-premise to Office 365

Service Accounts

Some service accounts are needed when using the coexistence software, as outlined below.

Mail connector

No specific account with permissions is required.


For looking up the free/busy information, we need read access on both sides. One regular Exchange mailbox/Office 365 mailbox and one regular Domino mailbox.

One thing to keep in mind when established coexistence between on-premise Domino and Office 365 is that an additional namespace needs to be introduced for having the requests to use Autodiscover and find the route back. If that for any reason can’t be implemented a hybrid solution is the only possible way of solving it. More info about this in the upcoming post.

Directory connector

The service account used for directory sync should be a member of the Domain Admin and Organization Management groups to provide the rights to Active Directory (or delegated write permissions to the specified OU).
On the Domino side, a regular account can be used with read permissions through LDAP to the different address books that should be synced. Write permissions is only required if synchronization should take place from AD to Domino. Note that the Internet password needs to be configured for this account.

One thing to keep in mind is that synchronizing the Domino objects directly to Office 365 is not supported. However, this can be done in a two-step procedure by directory synchronizing them from Domino into the local Active Directory and then use the Microsoft Office 365 dirsync tool for having them in Office 365.

Note: Target Active Directory server must have the Exchange schema extensions for being able to create mail contacts.

Availability Address Space

One thing that’s required for free/busy lookups is that the availability address space is configured. This is done either in the on-premise Exchange or Office 365.

The cmdlet for doing it on-premise:

Add-AvailabilityAddressSpace -ForestName <smtpdomain>
-AccessMethod OrgWideFB

For doing this in Office 365, run the following cmdlet:

New-AvailabilityConfig –OrgWideAccount questmsn
$domain = "<YourHostDomain>.onmicrosoft.com"
$adminUserId = "<YourID>"
$adminCredsId = "<YourUserName>"
$adminCredsPassword = "<YourPassword>"
$securePassword = ConvertTo-SecureString
$adminCredsPassword -AsPlainText -Force
$adminCreds = New-Object
Add-AvailabilityAddressSpace -AccessMethod OrgWideFB -ForestName
<YourDomain.com> -Credentials $adminCreds -TargetAutodiscoverEpr
Office 365

If CMN is using in an on-premise deployment, I would recommend or at least consider using internal PKI for the certificate, since the certificate chain can easily be deployed using Group Policy’s.

But in the case of having coexistence between on-premise Domino and Office 365, the freebusy requests to the CMN server(s) will come from an external part (Office 365) and they don’t trust your internal PKI solution, so it’s a requirement of buying a certificate from a trusted root vendor.

SQL Server

With version 3.5.x of Coexistence Manager for Notes (CMN), now uses SQL Server for its configuration and collected data.

The Native Client needs to be installed together with SQL Server 2005 or SQL Express 2005, or newer.

In my lab environment, I’m running SQL 2008 R2 Express on my Coexistence server. In larger environments, the databases can be placed onto a SQL cluster/server instead of having them locally.

If you, however, choose to use SQL Express, make sure to take backups of the databases.

Lotus Notes client

If you are going to use the ActiveMail feature, I recommend using the Lotus Notes version 8.0.0 (Basic version, Eclipse is not supported). However, Lotus Notes version 7.0.3 and 7.0.4 can also be used if you don’t have the 8.0.0.

The installation of Lotus Notes should be done in single-user mode.

.NET Framework 4

Make sure to install the .NET Framework 4 since this is a prerequisite for CMN. I would also recommend upgrading it with the latest service pack level.

Internet Information Services (IIS)

Install IIS together with the ASP.NET 4.0 feature and use a certificate with a matching “CN” name for the Quest Autodiscover Host Name value.

This certificate is used when clients sends its requests between the systems.


There are NO known folders that should be excluded from the Antivirus file-level scanning

Regional Settings

For being able to install the software, be aware that regional settings and language settings need to be configured to “English”.

Windows Firewall

It’s recommended to turn OFF the Windows Firewall for all CMN servers. If that’s not possible, make sure to open all the needed ports. The port list can be found below.

User Account Control (UAC)

It’s recommended to disable UAC on all CMN servers.

This is done in the Control Panel under User Accounts, Change User Account Control settings.

Make sure to set it to “Never notify” and restart the sever before installing the software.

Data Execution Prevention (DEP)

It’s recommended to disable DEP, so make sure to do that.

If you’re using Windows 2008 R2 like I do, then you disable DEP by running:

"bcdedit /set nx AlwaysOff"

Also, make sure to restart the server when this is done to allow it to take effect.

Network Ports
Port In/Out Type Source Target Description
25 In SMTP Domino/Exchange CMN Server(s) Incoming SMTP
25 Out SMTP CMN (SMTPl) Domino/Exchange Outgoing SMTP
389 Out LDAP CMN (Dirsync) Active Directory DCDomino LDAP Server LDAP
3268 Out LDAP GC CMN (Dirsync) Active Directory DC LDAP GC
636 Out LDAPS CMN (Dirsync) Active Directory DC LDAPS LDAPS
3269 Out LDAPS CMN (Dirsync) Active Directory DC LDAPS LDAPS GC
80 Out HTTP CMN (Freebusy) Exchange CAS servers HTTP
443 Out HTTPS CMN (Freebusy) Exchange CAS servers HTTPS
80 In HTTP Exchange CAS servers, Office 365 CMN (Freebusy) HTTP
443 In HTTPS Exchange CAS servers, Office 365 CMN (Freebusy) HTTPS
8900 Out Availability Service Domino Qcalcon server Exchange CAS servers Availability
8960 In Qcalcon Domino Qcalcon server CMN (Freebusy) Qcalcon
8961 In Qcalcon Domino Qcalcon server CMN (Freebusy) Qcalcon
1352 Out Domino CMN (Freebusy, Dirsync) All Domino servers Freebusy lookup
8962 Out PF Reader CMN (Freebusy) Exchange PF Exchange reader service
1433 In SQL CMN servers CMN SQL instance SQL
Notes from the field

Network Monitoring or Wireshark may sometimes be your best friend during troubleshooting network connectivity.

Portqry is another tool that could be of great value during initial network verification.

A good log reader, my favorite is the old tool that was included in the SMS 2003 resource kit called trace32.exe. It can be downloaded here.

Read the other parts

Part 1: Migrations – Overview
Part 2: Prerequisites for Domino/Notes migrations
Part 3: Migrating Domino/Notes to Exchange 2013 On-premise
Part 4: Migrating Domino/Notes to Office 365
Part 5: Migrating Resources Mailboxes, Mail-In databases and Groups
Part 7: Configuring Coexistence Manager for Notes with Exchange 2013 On-premise
Part 8: Configuring Coexistence Manager for Notes with Office 365
Part 9: Prerequisites for Migration Manager
Part 10: Migrating User Mailboxes from Exchange 2003 to Exchange 2013 using Migration Manager
Part 11: Migrating User Mailboxes from Exchange On-premise to Office 365

A summary of year 2012

A summary of year 2012

It has been an amazing year for me in many ways, both private and work related things.
But this post keeps the focus on the work related things..

I’ve been involved in a couple of really interesting projects such as a large coexistence between Domino and Exchange (45-50k users), coexistence between Domino and Office 365. Also migrated lots of mailboxes from Domino to Exchange. Besides the “complex” migration projects, I’ve also been involved in a large Exchange transition and storage design with 25-30k users for a customer.

Together with all these projects I was one of the lucky people that were sent to Orlando in September for attending the MEC 2012, which was really good. Lots of great new contents to me and lots of interesting people.

Regarding the community related things, I’m not active anymore at the TechNet forum because I want to spend that time of sharing articles with you out there instead. The forum is a great place to ask questions or search for issues. This post is written the 27th and the 28th of December, at that time I can look back and see that lots of people have found my blog and hopefully you find it attractive. The blog have had around 90k visitors and 130k pageviews year 2012, compared with 2011 which had 40k visitors and 50k pageviews, which is an amazing growth!

I did write a couple of new fresh posts about Exchange 2013, when it still was in a preview version.
I’m really happy that I did post these and shared them with you, in the end I got an offer from Packt Publishing to write an update on a book that Mike Pfeiffer wrote for Exchange 2010 SP1, called “Microsoft Exchange 2010 PowerShell Cookbook” which is a true honor to me that I’m really proud of. So you might have wondered why I haven’t posted so much this autumn, there’s the answer 🙂

Now, I just want to say thanks to all of you out there that keeps reading my blog and comment on posts! Happy new year everyone! See you out there in 2013 🙂