β01-27-2016 05:46 AM
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: (:) [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
Solved! Go to Solution.
β01-27-2016 10:17 PM
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
β01-27-2016 10:17 PM
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
β01-28-2016 12:17 AM
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.
β01-28-2016 12:19 AM
URL was broken:
correct one:
https://www.veritas.com/support/en_US/article.000080759