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,
LVL 1
andrew_transparentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.