Wednesday, October 3, 2007

Outlook Web Access (OWA) of Exchange Server 2007

SET-Mailbox


You should read the installation of the Exchange Server 2007 article.


After installation of Exchange Server 2007, the OWA is automatically configured with certificate. To access the OWA, you must use https:// protocol and trust the certificate authority. This is pretty good. You don't need to install and configure an Enterprise Certificate Authority in the network.


Create a user account (TomHichek) with a mailbox from Active Directory Users and Computers;


https://QUEEN/OWA

Input the login name: oyco\tomhicken and its password; the following error pops up:


RequestUrl: https://queen:443/owa/lang.owaUser host address: 10.10.10.10ExceptionException 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()



Why?


You should not create a mailbox in Exchange Server 2007 store by using Windows Server 2003 Active Directory Users and Computers utility.


From Exchange Management Console, you will see that the TomHicken mailbox is Legacy Mailbox.

Solution:

Work at QUEEN computer

Start Exchange Management Shell;

[PS] C:\>set-Mailbox -identity TomHicken -ApplyMandatoryProperties


HTTPS://QUEEN/OWA

Logon as TomHicken@OYCO.COM. It works. The good feature is that when you create a new message, you could select a recipient from an Address Book just like you could do by using OUTLOOK. In Exchange Server 2003/2000, you can find the recipient from the Address Book but you can not browse it.