Tuesday, March 4, 2008

editing the default recipient policy

For most of us, using the cmdlet

set-emailaddresspolicy "default policy" -includedrecipients allrecipients

will work fine, however some will get an error stating:

Unable to edit the specified E-mail address policy. E-mail address policies created with legacy versions of Exchange must be upgraded using the 'Set-EmailAddressPolicy' task, with the Exchange 2007 Recipient Filter specified.

This is generally because of a mailbox manager setting applied to your default policy, and exchange 2007 doesn't do mailbox manager. Remove the mailbox manager settings and re-run the command.

Monday, March 3, 2008

Creating Exchange 07 mailboxes with ADUC

If you use active directory users and computers to mail enable a user account with an exchange 07 mailbox, it'll probably work and seem fine in outlook until the user tries to hit OWA. Then they'll get the error below. Also, EMC will list their mailbox as 'legacy mailbox'. To resolve, execute this cmdlet: Set-Mailbox username -ApplyMandatoryProperties


RequestUrl: https://webmail.company.com/owa/lang.owa host address: 192.168.10.10
ExceptionException type: Microsoft.Exchange.Data.Storage.StoragePermanentExceptionException message: There was a problem accessing Active Directory.Call stack
Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save()
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchLanguagePostLocally(OwaContext owaContext, OwaIdentity logonIdentity, CultureInfo culture, String timeZoneKeyName, Boolean isOptimized)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchLanguagePostRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner ExceptionException type: Microsoft.Exchange.Data.Directory.InvalidADObjectOperationExceptionException message: Property Languages cannot be set on this object because it requires the object to have version 0.1 (8.0.535.0) or later. Current version of the object is 0.0 (6.5.6500.0).Call stack
Microsoft.Exchange.Data.Directory.PropertyBag.set_Item(PropertyDefinition key, Object value)
Microsoft.Exchange.Data.Directory.ADObject.set_Item(PropertyDefinition propertyDefinition, Object value)
Microsoft.Exchange.Data.Directory.ADObject.StampCachedCaculatedProperties(Boolean retireCachedValue)
Microsoft.Exchange.Data.Directory.ADObject.ValidateWrite(List`1 errors)
Microsoft.Exchange.Data.Directory.Recipient.ADRecipient.ValidateWrite(List`1 errors)
Microsoft.Exchange.Data.Directory.Recipient.ADUser.ValidateWrite(List`1 errors)
Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)
Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save()

Saturday, March 1, 2008

Exchange 2007 SP1 rollup 1

Its got a lot fixes listed here: http://support.microsoft.com/?kbid=945684

All went fine for me in lab testing and in production rollout, however it did not start any of the exchange services upon completition, nor did it start IIS on the CAS server or ask for a reboot, so be prepared to either reboot or manually start all services.