Zero Hour Sleep
20Oct/113

Bulk Mailbox creating mailboxes in Exchange 2010 multi-tenant

I recently received this email in my inbox so I thought it would be a good idea to dedicate a post answering this question.

Hi Antoine,

First of all, I'd like to thank you for you blog, I used your guide to set up an Exchange 2010 multi tenant set up and it worked like a dream! Very clear instructions, just what I needed to guide us through the potential minefield!

Do you have any blog posts or examples on how to bulk create mailbox in a multi tenant environment, I'd like to a take a spreadsheet with users name, e-mail address etc. and create multiple mailboxes using a powershell script. I'm a GUI man at heart and I find powershell tricky at the best of times. I saw your blog on how to import PST files which I also think will be very useful.

Any help you can offer would be greatly appreciated.

Before getting started, and if you are new to Exchange 2010 multi-tenant mode I suggest you check the list of tutorials I wrote : Exchange 2010 hosting for hosters.

Lab Setup

For this tutorial I am using a single exchange server in hosting mode running all the roles, but the number of exchange servers you have in your setup will not change anything.

I have also created 2 test organizations for this tutorial TestOrg1 and TestOrg2.

A look to the CSV file

13Sep/110

Quick Tip: Fix “Enable Web-based distribution” greyed out in offline address book

After upgrading from Microsoft Exchange 2003 to Exchange 2007 or 2010 you might notice that the "Enable Web-based distribution" option is greyed out. The first thing to check is if you have moved the Offline Address Book generation to an Exchange 2007/2010 server.

However if you have already done this and the option is still disabled it can easily fixed by running ApplyMandatoryProperties on it. This can be done by running the below powershell command

Get-OfflineAddressBook | Set-OfflineAddressBook -ApplyMandatoryProperties

Et voila! you can now "Enable Web-based distribution"

8Sep/110

Enable end users to manage group membership of distribution groups in Exchange 2010

I am often asked how to allow end users, or regular users with no administrative privileges, to change group membership of specific distribution groups in Exchange 2010. This is what I will cover today in this short tutorial.

In this post I will show you how to allow to userA to manage group membership of DistGroup

First open Exchange Management Shell -> Recipient Configuration -> Distribution Group

Find the distribution group DistGroup and right click properties on it

Go to the Group information and add UserA as manager to this group and click OK

24Aug/110

Creating a DAG in Exchange 2010 SP1 multi-tenant mode

After my posts about Exchange multi-tenant or hosting mode I got a lot of questions about how to create Database Availability Group, or DAG, when running Exchange hosted. So I decided to dedicate a post on how to configure/create DAG using powershell.

Technically the below applies to any exchange setup but, since when running in hosting mode there is no more Exchange Management Console, it might be specially useful if you are trying to configure a DAG while running exchange in multi-tenant mode.

The setup

For this article I am using 2 Exchange 2010 SP1 servers running the mailbox role in multi-tenant mode configured as below

Name LAN IP Replication network IP
VSMBX1 10.2.1.71 192.168.99.71
VSMBX2 10.2.1.72 192.168.99.72
10Aug/110

Cannot install the Certificate Authority Web Enrollment component

I have recently been faced with a Certificate Authority server running on Microsoft Windows 2008 R2 that was refusing to have the Web Enrollment component installed.

I have tried installing by the GUI and using powershell using add-windowsfeature ADCS-Web-Enrollment and both method failed with the following error

"Certification Authority Web Enrollment cannot be installed on this computer or Error: Cannot install Certification Authority Web Enrollment."

The solution to this problem is

  1. Run regedit on the server
  2. Browse to HKLocalMachine\System\CurrentControlSet\Services\CertSvc\Configuration
  3. Change the SetupStatus key to 0×6001 (it was 0x6003 in my case)

Et voila you should be able to install the web enrollment now without issues

7Jul/114

DCPromo out fails with: The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles.

While trying to demote, dcpromo out, a domain controller the operation might fail with the following error

"The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles."

As you can notice, in my case, the partition at problems was DC=ForestDnsZones,DC=domain,DC=int.

Page 1 of 101234510...Last »
Content Twitter

RSS Feed

RSS by email