OWA On-Premies didn’t work after activate Azure RMS

Problem:

I had a customer who have Exchange 2010 SP3 On-Premises, He had EMS License. After I activate Azure RMS and connect it with On-Premises, The users can’t OWA and had following error:

Outlook Issue

When I clicked on show the report I found the following (Which I think it’s something related to RMS):

Request

Url: https://mail.domain.com:443/owa/forms/premium/SubPageEventHandler.aspx?ae=Item&a=Preview&t=IPM.Conversation&id=CID.jvJ1vjBUSReuJzNQuSfyoA%3d%3d.LgAAAABXdgGXJPzkTqud%2flxtlMACAQD2PzI4sjUxRINts8Jk764xAAAAVVXvAAAB.SjgAAABVVesAAAAAWm4BAAAAAAA%3d&calist=&canary=EsjClx6zRk2daqY7sBYgtM_qH_JrRtMIliQ3hJLl-S9wnWuy17OUp_AZ2jswAtLgnSBBq1N41-o.&SP=1&pfmk=M46%3a1456738583721&subpage=ReadConversation.ascx
User: Test Badr
EX Address: /o=domain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Test Badr7cb
SMTP Address: tbadr@pas.com.eg
OWA version: 14.3.279.2
Mailbox server: CAS-HUB-2010.domain.com

Exception
Exception type: System.ArgumentException
Exception message: String cannot be of zero length. Parameter name: oldValue
Call stack
System.String.Replace(String oldValue, String newValue)
Microsoft.Exchange.Data.Storage.RightsManagement.RmsoProxyUtil.CheckRedirectUrl(Uri originalUrl, Boolean isCertificationServerUrl)
Microsoft.Exchange.Data.Storage.RightsManagement.RmsoProxyUtil.GetCertificationServerRedirectUrl(Uri serviceUrl)
Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.GetRmsServerActiveCryptoMode()
Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.DrmEnvironment.InitializeEnvironment()
Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.Initialize()
Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.InitializeIfNeeded()
Microsoft.Exchange.Data.Storage.RightsManagement.RmsClientManager.get_IRMConfig()
Microsoft.Exchange.Clients.Owa.Core.UserContext.get_IsIrmEnabled()
Microsoft.Exchange.Clients.Owa.Premium.ConversationUtilities.LoadConversation(UserContext userContext, OwaStoreObjectId owaConversationId, PropertyDefinition[] requestedProperties)
Microsoft.Exchange.Clients.Owa.Premium.ReadConversation.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Solution:

To resolve this issue, you need to follow below steps:

  1. Log on to the exchange server and open (as Administrator) the Exchange Management Shell (EMS)
  2. Run “Get-OWAVirtualDirectory | FL” and search for IRM; you’ll probably see that it’s enabled.
  3. Run “Set-OWAVirtualDirectory -IRMEnabled $false
  4. Run “Set-IRMConfiguration -OWAEnabled $False
  5. Do IIS Reset
  6. Try again to access the OWA.

Then it should be worked Successfully.

 

 

 

Advertisements
This entry was posted in Azure Rights Management, Office 365. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s