I can get the new-app to register with individual mailboxes, however when I try to use the -organizationapp I get a connection failed message. It looks like the command is trying to bind to the system attendant on my Exchange 2007 environment. I am running this from my Exchange 2013 mbx server. I checked and I do have the right role permissions.
We are moving from Exchange 2007 to Exchange 2013. We have an EV 10.4 environment.
Command
$Mbx = get-mailbox "mailbox" New-App -OrganizationApp -DefaultStateForUser:enabled -Url ' ("http://EV_server/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" + $Mbx.LegacyExchangeDN + "&BaseURL=https://external_access_server/EnterpriseVault")
I'm not exactly sure that the "mailbox" should be as this is supposed to be organization wide. I just passed in my mailbox that is sitting on the 2013 side.
Error
+ $Mbx.LegacyExchangeDN + "&BaseURL=https://external_access_server/EnterpriseVault")
Creating a new session for implicit remoting of "New-App" command...
Cannot open mailbox /o=MyDomainName/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EX2K7SERVER/cn=Microsoft System Attendant.
+ CategoryInfo : NotSpecified: (mydomain.loc...nts/John Smith:ADObjectId) [New-App], ConnectionFailed
TransientException
+ FullyQualifiedErrorId : [Server=E13MB01,RequestId=0522-8d7f-46dd-97fe-3e245ee,TimeStamp=4/1/2015 1
:56:15 AM] [FailureCategory=Cmdlet-ConnectionFailedTransientException] BFD30F92,Microsoft.Exchange.Management.Exte
nsion.NewApp
+ PSComputerName : ex13mb01.mydomain.local