Share via


Install Office Store Add-Ins for Exchange 2016 on-premise mailboxes

Question

Wednesday, June 3, 2020 5:21 AM

Hello Everyone,

Is there a way to install an Add-IN from office store to on-premise mailboxes ? I have tried installing the add-in from store and i got the error message that "REST API is not supported for this mailboxes".

I see an option in on-premise exchange admin center (2016) to connect to office store and download the Add-in. How to make  exchange 2016 to authorize pings to and from Business Apps - Microsoft AppSource ?

All replies (18)

Wednesday, June 3, 2020 6:30 AM

Hi Rajeev,

Please follow the below Microsoft url

/en-us/exchange/add-ins-for-outlook-2013-help

/en-us/exchange/specify-who-can-install-and-manage-add-ins-2013-help


Wednesday, June 3, 2020 11:38 AM

Hi Nagarajan,

Thanks for sharing the links.  I have tried the the steps on exchange 2016 to download the Add-in  by going to Exchange admin center and selected Add from the office store. It failed with error message. I also tried by going to office store and installing the Ad-in which gave the error message "REST API is not supported for this mailboxes"


Wednesday, June 3, 2020 2:55 PM

I got the same problem.

I had installed an App add-in two years old. I didn't have any issue at all two years ago. Nothing change on Exchange Server. Now, I try to install an App add-in in the same way. It doesn't work and it show "Something went wrong, The app couldn't be downloaded"

I checked the MSExchange Management under Event Viewer. Log shown below:-

LOG

New-App 
   -OrganizationApp "True" -MarketplaceAssetID "WA104381476" -MarketplaceQueryMarket "en-001" -MarketplaceServicesUrl "https://officeclient.microsoft.com/config16" -Etoken "" -DownloadOnly "True" 
   corporate.ca/Users/Administrator 
   S-1-5-21-1498068150-2108685373-835831096-500 
   S-1-5-21-1498068150-2108685373-835831096-500 
   Local-ECP-Unknown 
   9512 w3wp#MSExchangeECPAppPool 
    
   21 
   00:00:00.4930282 
   View Entire Forest: 'True', Configuration Domain Controller: 'DC.corporate.ca', Preferred Global Catalog: 'DC.corporate.ca', Preferred Domain Controllers: '{ DC.corporate.ca }' 
   Microsoft.Exchange.Data.Common.LocalizedException: The app couldn't be downloaded. at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl) at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Management.Extension.NewApp.PrepareDataObject() at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate() at Microsoft.Exchange.Management.Extension.NewApp.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed) 
   6 
    
    
    
    
   False 
    
   0 objects execution has been proxied to remote server. 
    
    
   0 
   ActivityId: 91d108d1-b5d0-44f8-b2ed-9b11b5774dc0 
   ServicePlan:;IsAdmin:True; 
    
   en-CA 


Wednesday, June 3, 2020 7:33 PM

I found a work around for this issue

 

Go to Exchange Admin Center and Click on Add From the store and logon to office store and try deploying the Add-In

This will generate logs in Event Viewer. Open Even Viewer -Application logs

Select the event "MSExchangeApplicationLogic"

 

Open the event in XML View  and copy the link and paste in Chrome browser. This will generate an xml file copy that content to txt file and save as xml. Then install the Add-in from xml


Wednesday, June 3, 2020 8:16 PM

Thanks for reply. How can I select the event "MSExchangeApplicationLogic"?


Wednesday, June 3, 2020 9:07 PM


Wednesday, June 3, 2020 9:11 PM

On the Event Viewer:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  • <System>
      <Provider Name="MSExchangeApplicationLogic" /> 
      <EventID Qualifiers="32772">3042</EventID> 
      <Level>3</Level> 
      <Task>3</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2020-06-03T21:08:33.464584000Z" /> 
      <EventRecordID>5227239</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>mail.company.ca</Computer> 
      <Security /> 
      </System>
  • <EventData>
      <Data>GetConfig</Data> 
      <Data>c5cb80b1-cbfb-4ddb-8d82-404586b1af69</Data> 
      <Data>https://officeclient.microsoft.com/config16?CV=15.1.1979.3&Client=WAC_Outlook&corr=c5cb80b1-cbfb-4ddb-8d82-404586b1af69</Data> 
      <Data><o:service o:name="AppStateQuery15" xmlns:o="urn:schemas-microsoft-com:office:office"> <o:url>https://retailer.osi.office.net/appstate/query</o:url> </o:service></Data> 
      </EventData>
      </Event>

Wednesday, June 3, 2020 9:14 PM

I open this link using Google Chrome

https://officeclient.microsoft.com/config16?CV=15.1.1979.3&Client=WAC_Outlook&corr=c5cb80b1-cbfb-4ddb-8d82-404586b1af69

I got this:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<o:OfficeConfig xmlns:o="urn:schemas-microsoft-com:office:office">
<o:services>
<o:service o:name="AppAcquisitionLogging">
<o:url>https://[OMEX.BaseHost]/app/acquisitionlogging</o:url>
</o:service>
<o:service o:name="AddInEmailTemplate">
<o:url>https://[OMEX.BaseHost]/api/addins/emailtemplate</o:url>
</o:service>
<o:service o:name="AppDownload">
<o:url>https://[OMEX.BaseHost]/app/download</o:url>
</o:service>
<o:service o:name="AppInfoQuery15">
<o:url>https://[OMEX.BaseHost]/appinfo/query</o:url>
</o:service>
<o:service o:name="AppInstallInfoQuery15">
<o:url>https://[OMEX.BaseHost]/appinstall/unauthenticated</o:url>
</o:service>
<o:service o:name="AppQuery15">
<o:url>https://[OMEX.BaseHost]/app/query</o:url>
</o:service>
<o:service o:name="AppStateQuery15">
<o:url>https://retailer.osi.office.net/appstate/query</o:url>
</o:service>
</o:services>
<o:tokens>
<o:token o:name="OMEX.BaseHost">store.office.com</o:token>
</o:tokens>
</o:OfficeConfig>

I save it as VML and import it onto ECP. Doesn't work


Wednesday, June 3, 2020 9:26 PM

If you can, would you mind to make me Zoom add-in XML file?


Thursday, June 4, 2020 9:15 AM

Hi Rajeev MS,

The store uses TLS1.2, enabling it for .Net 4.x is mandatory, you imported all the required reg files from Brianas blog: https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-server-tls-guidance-part-2-enabling-tls-1-2-and/ba-p/607761

Also keep in mind that the Exchange servers need to have direct Internet access for the download and CRL checks.

The application eventlog usually gives good hints on what’s going wrong (i.e. Event ID 3063).

Besides that, you can try to deploy manually:

1. load XML Manifest, this is for the Salesforce app

Invoke-WebRequest -Uri "https://store.office.com/appinstall/unauthenticated?cmu=en-us&av=OLW150&ret=0&assetid=WA104379334&build=15.1.1913.5&deployId=financial.com&corr=30d9aca9-056e-41ea-9818-2da5bc460b08" -OutFile "C:\Temp\sf.xml"

2. install the app for a given user

$Data=Get-Content -Path "C:\temp\sf.xml" -Encoding Byte -ReadCount 1New-App -FileData $Data -Mailbox [email protected]

Besides, which add-in are you trying to add?

Regards,

Eric Yin

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, June 4, 2020 1:49 PM

Thanks Eric.. I was trying to Add saleforce add-in

I was able to make it work by doing following way.

Go to Exchange Admin Center and Click on Add From the store and logon to office store and try deploying the Add-In

This will generate logs in Event Viewer. Open Even Viewer -Application logs

Select the event "MSExchangeApplicationLogic"

 

Open the event in XML View  and copy the link and paste in Chrome browser. This will generate an xml file copy that content to txt file and save as xml. Then install the Add-in from xml


Friday, June 5, 2020 8:25 AM | 1 vote

Hi Rajeev MS,

So issue solved now?

In my lab(Exchange2016 CU16), I made it work by adding dword in regedit:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]"SystemDefaultTlsVersions"=dword:00000001
Name - SystemDefaultTlsVersions
Hexadecimal Value - dword:00000001
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]"SystemDefaultTlsVersions"=dword:00000001
Name - SystemDefaultTlsVersions
Hexadecimal Value - dword:00000001

Regards,

Eric Yin

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, June 5, 2020 3:35 PM

Magic!!!

Added the dword in regedit. It works. Thanks.


Friday, June 5, 2020 6:18 PM

Yes Eric Issue resolved


Monday, June 8, 2020 1:29 AM

Hi,

Thanks for reply, be free to mark your reply or other useful reply as answer to highlight it,this will make answer searching in the forum easier and be beneficial to other community members as well.

Regards,

Eric Yin

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, June 9, 2020 8:06 AM

You could mark the solution as answer.

Jayce Yang


Thursday, July 2, 2020 7:35 PM

Hello, how can i have a manifest from office store apps?

Thanks


Friday, July 3, 2020 1:42 AM

Hi artnoise,

Since the original issue has been solved, would you mind starting a new thread and describe your question more specifically?

Thanks for your understanding.

Regards,

Eric Yin

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].