Link to home
Start Free TrialLog in
Avatar of badabing1
badabing1

asked on

Email Address Polices in Exchange 2010

Hi,

I have been dumped with exchange 2010 environment that was managed by someone who left the business. They migrated from exchange 2003 to exchange 2010sp1.

2 exchange 2010 servers in a DAG.

I am faced with some legacy mailbox policies that were created on exchange 2003 and I am unable to open them in exchange 2010. (there are no exchange 2003 servers in the environment anymore).

I was reading this article, but there are some things that worry me a bit, especially about LDAP filtering.

https://www.simple-talk.com/sysadmin/exchange/upgrade-exchange-2003-to-exchange-2010---part-ii/

I run this command on one of the policy Get-EmailAddressPolicy -Identity policyname | fl  and I can see there are LDAP filter (see attached).

How do I go about updating these policies so I can open/edit them in exchange 2010 console without breaking them?

I also want to know the PowerShell command to use to check which users have which policy applied?

is there another command to run to check what's configured in email policies other than what I have already used?

its been awhile since I last touched exchange so am a bit nervous making any changes....

Thanks in advance!
LDAP.PNG
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

The person before you obviously did not complete the migration correctly. If you are still getting references from 2003 for Address Lists and Email Address Policies, what you can try is converting the LDAP Filters to OPATH (Exchange 2007/2010) See link below.
https://technet.microsoft.com/en-ca/library/cc164375(v=exchg.141).aspx

If you cannot force this then you might have to forcefully remove the Email Address Policies and re-create new ones from the Exchagne 2010 server.

Will.
Avatar of badabing1
badabing1

ASKER

Thanks, can you advise on some power shell command to check policies as per my initial post please?
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Will, but can you please suggest a command for one policy upgrade at a time.

I want to try this on one policy at a time.

Email address policy command ?
Address policy command ?

Thanks
Just so you know you cannot use the EMC to upgrade address lists or email address policies. Below is a powershell command for updating All Users Address list.

Set-AddressList "All Users" -IncludedRecipients MailboxUsers

Open in new window


Will.
so am not able to run the command on one policy to see if that has worked but instead I have to run the above command to upgrade all ?

its a bit risky isn't it? we have several email address policies and address lists and I was hoping for a command that I can run to upgrade them one at a time?

if I go on the route of creating a new email policy in exchange 2010 is there a way I can check the existing policy configuration so I can copy that to the new bearing in mind that I cant open it because its a legacy? any command for that do you know of?

Thanks
All Users is an individual address list so it only affects this address list. Don't get confused with all users.

Will.
oh Ok, so I only need to use the policy name e.g "mobile company users" using the above command and that will only effect that policy ? if this is true then one step closer and what about the mailbox policy command?

what you mind explaining this command please?

Set-AddressList "Mobile company Users" -IncludedRecipients MailboxUsers

sorry for detailed questions just don't want to get it wrong.

much appreciated!
can someone please help convert this into OPATH? I've followed the article below and used that script but for some reason its gives error when I click on preview (see attached)

https://gallery.technet.microsoft.com/scriptcenter/7c04b866-f83d-4b34-98ec-f944811dd48d

(&(mailNickname=*)(objectCategory=person)(objectClass=user)(objectClass=user)(objectCategory=person)(mailNickname=*)(msExchHomeServerName=*)(objectCategory=user)(company=Liftech*))

Thanks
error.PNG
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks ill try the default address lists and report back.
hi Will,

am struggling to convert the default email address policy- I know it can be set using powershell command below, but before I go ahead with this is there a command I can use to check the default email policy to check what email address SMTP it currently has?

Set-EmailAddressPolicy -Identity "Default Policy" -EnabledEmailAddressTemplates SMTP:@fourthcoffee.com,smtp:@contoso.com
Run the following...
Get-EmailAddressPolicy | select Identity, ExchangeVersion

Open in new window


If you still have Exchange 2003 in your environment all of your mailboxes will get the policy from the 2003 EAP. This is true until you migrate it to the newer version of Exchange.

Will.
there is no exchange 2003 server in our environment, all mailboxes are migrated to exchange 2010 as far as I know?
also I've noticed there are four global address lists is this normal, should I delete others and leave the default global address list? how many default global address list should be in an exchange 2010 environment?  (I assume one)

I think the others have been migrated from exchange 2003.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Will, I will try this tomorrow and report back.
Hi Will,
the -force did not help

i get this error:
Set-EmailAddressPolicy : The recipient policy "Default Policy" with mailbox man
ager settings cannot be managed by the current version of Exchange Management C
onsole. Please use a management console with the same version as the object.


I read this but how do I go about doing the below, do I have to install exchange 2003 console?  -

 this error message indicates that it's not just a recipient policy but that you also have mailbox manager policy settings on this object. Since Mailbox Manager policies no longer exist in Exchange 2007, you need to remove the mailbox manager policy settings from this recipient policy object using Exchange 2003 before you can upgrade the policy to Exchange 2007 version (you can create another mailbox manager policy that has no email address policy settings in Exchange 2003 if you want to keep the mailbox manager settings).

Thanks
any more suggestions for this issue?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Not a problem. Glad i could be some help!

Will.
Thanks for all your help Will.