?
Solved

Exchange 2013 - remove default address policy

Posted on 2016-10-06
9
Medium Priority
?
163 Views
Last Modified: 2016-10-06
Hi
We are setting up Exchange 2013 as a multi-tenant and followed various documents and this works a treat with 1 exception - the default address policy is also applied.

We have address book policies for companya, companyb etc..  so the emails are bob@companya etc...
but the top level domain is: toplevel.co.uk

When it creates the account, it finds the correct address book policy and applies but it also applies the default one .. so the user is bob@companya AND bob@toplevel.co.uk

We want to still have the default ones as we have users in toplevel.co.uk  ... but tenants do not need this address
0
Comment
Question by:Member_2_7970364
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41831611
Will you please clarify your question.
0
 

Author Comment

by:Member_2_7970364
ID: 41831617
Hi

So we have 4 address policies (and a default one)

When I create a user via powershell we say we want to use Address Policy 2  .. and it does it  (which adds @policy2.co.uk) to the users account

BUT it also adds what is in the default policy

So when we create the user in powershell and put -AddressBookPolicy 'Policy2' we only want the user to have this policy and not the default one
0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41831661
"The first email address policy that identifies a recipient configures the recipient's email addresses. All other policies are ignored, even if the first policy is unapplied and can't configure the recipient's email addresses."

You mean to say this isn't happening?
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:Member_2_7970364
ID: 41831669
Thats correct ... in our policy list it shows

Policy1 - Priority 1
Policy2 - Priority 2
Default Policy - Lowest

When we select use policy2 .. the email poilcy is applied but then it also applies the default
0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41831690
Are you using any conditional filtering based on OUs or attributes?
0
 

Author Comment

by:Member_2_7970364
ID: 41831696
Yes - both for the policy .. so for policy2 it must be in a certain ou and attribute set .. which is working as policy2 is being applied
0
 
LVL 16

Accepted Solution

by:
Todd Nelson earned 2000 total points
ID: 41831808
You need to somehow set the value for the RecipientFilterApplied to false.  Unfortunately, in my experience, it cannot be done through PowerShell ... :,( .  But if you run through the EMC to "update" that policy you can chose the schedule to apply the policy to "Do not apply".

Alternately, you can set the value for msExchRecipientFilterFlags to 0 for the "Default Policy" through ADSIEdit.

Here is the ADSI Edit path if you need it ... CN=Default Policy,CN=Recipient Policies,CN="YourOrganizationName",CN=Microsoft Exchange,CN=Services,CN=Configuration,DC="Contoso",DC="com"

It won't remove the addresses already set but it should prevent that specific policy from being applied to new users as they are created.
0
 

Author Closing Comment

by:Member_2_7970364
ID: 41831835
Many Thans
0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41831841
I assume that change worked for you?
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question