unable to install Enterprise Vault Office MailApp

I want to install the Enterprise Vault Office MailApp on Exchange 2013

But somewhere i am doing something wrong.

background details:

EVserver FQDN: ev.testlab.local

EV alias: evserver.testlab.nl

Available SSL cert *.domain.nl

I have added a wildcard cert on the EV server and assigned it to the default website and set the option "require SSL"

I have changed the EV site setting to use HTTPS SSL on 443 for shortcut links.

The EV mailapp should be accessible internal and internet. For external connections the url https://evserver.domain.nl wil be used.

I have a testuser named testuser1 and its EV enabled.

When i want to install the app with this command:

$Mbx=get-mailbox testuser1
New-App -OrganizationApp -DefaultStateFo$Mbx = get-mailbox "testuser1"
New-App -mailbox $Mbx.LegacyExchangeDN -Url ("http://evserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" + $Mbx.LegacyExchangeDN + "&BaseURL=https://evserver.domain.nl/EnterpriseVault")

The error i get is:

The app couldn't be downloaded.
    + CategoryInfo          : InvalidData: (Smiley Happy [New-App], LocalizedException
    + FullyQualifiedErrorId : [Server=EX2-2013,RequestId=05ad910e-8574-4103-b2d0-d580b8ccbac4,TimeStamp=1/27/2016 1:30
   :47 PM] [FailureCategory=Cmdlet-LocalizedException] D6594FEB,Microsoft.Exchange.Management.Extension.NewApp
    + PSComputerName        : ex2-2013.testlab.local

 

If i assemble the url and paste it in the browser of the 2013 server, i get te following output:

  <?xml version="1.0" encoding="utf-8" ?>
- <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MailApp">
  <Id>0CC6D075-E610-4B8A-90C6-1460E6D4D710</Id>
  <Version>1.0</Version>
  <ProviderName>Symantec</ProviderName>
  <DefaultLocale>en-us</DefaultLocale>
  <DisplayName DefaultValue="Enterprise Vault" />
  <Description DefaultValue="Enterprise Vault saves space in your mailbox by automatically moving emails and their attachments from the folders in your mailbox to an online storage area called a vault. This process is called archiving." />
  <IconUrl DefaultValue="https://evserver.testlab.local/enterprisevault/OfficeMailAppIcon.png" />
- <Capabilities>
  <Capability Name="Mailbox" />
  </Capabilities>
- <DesktopSettings>
  <SourceLocation DefaultValue="https://evserver.testlab.local/enterprisevault/OfficeMailApp.htm" />
  <RequestedHeight>82</RequestedHeight>
  </DesktopSettings>
- <TabletSettings>
  <SourceLocation DefaultValue="https://evserver.testlab.local/enterprisevault/OfficeMailApp.htm?Device=Tablet" />
  <RequestedHeight>82</RequestedHeight>
  </TabletSettings>
- <PhoneSettings>
  <SourceLocation DefaultValue="https://evserver.testlab.local/enterprisevault/OfficeMailApp.htm?Device=Phone" />
  </PhoneSettings>
  <Permissions>ReadWriteMailbox</Permissions>
- <Rule xsi:type="RuleCollection" Mode="Or">
  <Rule xsi:type="ItemIs" ItemType="Message" />
  <Rule xsi:type="ItemIs" ItemType="Appointment" />
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  </OfficeApp>

What is going wrong.....I am out of options

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Re: unable to install Enterprise Vault Office MailApp

Hi Marcelvk,

May be it's due to MS Exchange CU9/CU10 changes, refer:-

“Unable to deploy Enterprise Vault mail-app using the New-App -URL parameter after the installation of Microsoft Exchange 2013 CU9”
http://www.veritas.com/docs/000080759 

This issue is fixed by Microsoft in CU11 (NOT yet supported by EV). Meanwhile you can try enabling user for mailapp by using following syntax.

Deploy mail app per user mail box :-

==========================

$Mbx=get-mailbox "testuser1"
$uri= new-object system.uri ( “http://evserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=”+$Mbx.LegacyExchangeDN)
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
$bytes = $webclient.DownloadData($uri)
New-App –mailbox $Mbx.LegacyExchangeDN –FileData $bytes

 

Deploy mail app at org level:-

===================

$Mbx=get-mailbox "testuser1"
$uri= new-object system.uri (“http://evserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=”+$Mbx.LegacyExchangeDN)
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
$bytes = $webclient.DownloadData($uri)
New-App -OrganizationApp -DefaultStateForUser:enabled –FileData $bytes

 

View solution in original post

3 Replies
Highlighted
Accepted Solution!

Re: unable to install Enterprise Vault Office MailApp

Hi Marcelvk,

May be it's due to MS Exchange CU9/CU10 changes, refer:-

“Unable to deploy Enterprise Vault mail-app using the New-App -URL parameter after the installation of Microsoft Exchange 2013 CU9”
http://www.veritas.com/docs/000080759 

This issue is fixed by Microsoft in CU11 (NOT yet supported by EV). Meanwhile you can try enabling user for mailapp by using following syntax.

Deploy mail app per user mail box :-

==========================

$Mbx=get-mailbox "testuser1"
$uri= new-object system.uri ( “http://evserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=”+$Mbx.LegacyExchangeDN)
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
$bytes = $webclient.DownloadData($uri)
New-App –mailbox $Mbx.LegacyExchangeDN –FileData $bytes

 

Deploy mail app at org level:-

===================

$Mbx=get-mailbox "testuser1"
$uri= new-object system.uri (“http://evserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=”+$Mbx.LegacyExchangeDN)
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
$bytes = $webclient.DownloadData($uri)
New-App -OrganizationApp -DefaultStateForUser:enabled –FileData $bytes

 

View solution in original post

Highlighted

Re: unable to install Enterprise Vault Office MailApp

Excellent!

I found this piece of code in de reference manual, and changed it to:

$Mbx = get-mailbox "testuser1"
$uri = new-object system.uri(
"http://EVserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" +
$Mbx.LegacyExchangeDN + "&BaseURL=https://evserver.sscdesom.nl/EnterpriseVault")
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
try
{
$bytes = $webclient.DownloadData($uri)
New-App -organizationApp -DefaultstateForUser:enabled -FileData $bytes
}
catch [Net.WebException]
{
[Net.HttpWebResponse] $webResponse = [Net.HttpWebResponse]$_.Exception.Response;
Write-Warning $webResponse.StatusDescription
}

I wanted to install CU11 but, as it was indeed not supported yet, i have chosen for CU10.

 

Highlighted

URL was broken: correct

URL was broken:

correct one:

https://www.veritas.com/support/en_US/article.000080759