• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

Email Address Policies won't update setting up a Exchange 2010 Shared Hosting Environment

Has anyone successfully setup an Exchange 2010 shared hosting environment? There is a great article (http://www.msexchange.org/articles_tutorials/exchange-server-2007/migration-deployment/shared-hosting-exchange-2007-part1.html) and read the posts that it is similar in 2010 however I have followed all the steps in 2010 relatively carefully only to find that the Email Address Policies created will not update any of the email addresses of the accounts created.
I've left the Default Policy alone creating 2 email address policies for 2 different domains selecting specific OUs to apply them to and not to mention already added the domains as accepted domains in the hub transport role so email is flowing as it should.

Any new user added to the specific OU will not update its email address pertaining to the policies applied... Is there something I may have missed?

The server is a member server Windows 08 R2 with Exchange 2010, the domain controller is separate

Any info is much appreciated.
Thanks,
0
andrew_transparent
Asked:
andrew_transparent
  • 2
1 Solution
 
Glen KnightCommented:
I have used this guide as has another EE Exchange Expert and it works perfectly: http://technet.microsoft.com/en-us/library/bb936719(EXCHG.80).aspx
0
 
andrew_transparentAuthor Commented:
Thanks for that link,
I will follow those steps and let you know how it goes
0
 
andrew_transparentAuthor Commented:
So I have finally was able to run through the commands and instructions posted from that technet article and got to the end where all of this can be automated and have copied the text to a notepad to test the script
Pretty sure i've edited certain entries for the script to run in regards to changing the server names and modifying the OU structure however running into problems where this is generating an error:
------------------------------------
Unexpected token 'to' in expression or statement.
At c:\program files\microsoft\exchange server \v14\scripts\NewCompany.ps1:99 char:52
+ "3 of 15, Add a Security Group for $CompanyName" to <<<<  the "All Hosted Group SG"
+categoryInfo  : ParserError: (to:String) [], ParseException
+FullyQualifiedErrorId : UnexpectedToken
------------------------------------
attached is the script (change the extension to .ps1)

The security group "All Hosted Group SG" has already been created...



Another note is that within OWA, when logged in under a user within a certain 'company' clicking on the address book link to view the Global Address List,  results in ' An unexpected error occurred and your request couldn't be handled"
the detailed error below:
-----------------
Exception
Exception type: System.NullReferenceException
Exception message: Object reference not set to an instance of an object.

Call stack
Microsoft.Exchange.Data.Directory.SystemConfiguration.AddressBookBase.GetAllRoomsAddressList(ClientSecurityContext clientSecurityContext, ADSystemConfigurationSession configurationSession)
Microsoft.Exchange.Clients.Owa.Core.UserContext.get_AllRoomsAddressList()
Microsoft.Exchange.Clients.Owa.Core.Directory.DirectoryAssistance.GetAllRoomsAddressBookInfo(UserContext userContext)
Microsoft.Exchange.Clients.Owa.Core.UserContext.get_AllRoomsAddressBookInfo()
Microsoft.Exchange.Clients.Owa.Premium.Controls.SecondaryNavigationDirectoryList.CreateCondensedDirectoryList(UserContext userContext, Boolean isRoomPicker)
Microsoft.Exchange.Clients.Owa.Premium.DirectoryView.RenderSecondaryNavigation(TextWriter output, UserContext userContext, Boolean isRoomPicker)
Microsoft.Exchange.Clients.Owa.Premium.Controls.NavigationHost.RenderSecondaryNavigation(TextWriter output, Boolean showContacts)
ASP.forms_premium_addressbook_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
System.Web.UI.Page.Render(HtmlTextWriter writer)
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---------------------------

Any ideas?
Thanks,

NewCompany.txt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now