question

WillieCraig-1202 avatar image
0 Votes"
WillieCraig-1202 asked ZhengqiLou-MSFT commented

Exchange 2016 On-Prem Organization Add-in Error

I'm trying to add an Add-in to my Organization but I get an error message as soon as I click on Add-ins. I have the needed permissions to do this however I get:
Error: The request failed. The underlying connection was closed: An unexpected error occurred on a send.

I looked this up in Technet and Google but I found no answers. Any assistance is appreciated.

office-exchange-server-administrationoffice-outlook-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @WillieCraig-1202 ,

Please understand under Outlook tag, we mainly focus on general issues about Outlook desktop client, considering your issue may be more related to exchange, I added relevant exchange tag under your post to solve it better, thanks for your understanding and hope your issue would be resolved soon,

1 Vote 1 ·
WillieCraig-1202 avatar image
0 Votes"
WillieCraig-1202 answered ZhengqiLou-MSFT commented

All right guys It was TLS 1.2. Though it was installed using IISCrypto the proper registry keys were not created. I located the proper registry keys from docs.microsoft.com and create the proper reg file. I also had to create a registry change to .Net framework. Now my Add-ins screen looks like Lou's picture plus the add-in was originally trying to install. Thanks for the direction.
Willie

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @WillieCraig-1202 ,

Glad to hear the issue was resolved. You could consider marking an answer above as accepted to close this thread and someone goes after this could get help from your post:)

Cheers,
Lou

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered WillieCraig-1202 commented
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid, I already have this is place. Thanks

0 Votes 0 ·
ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT edited

Hi @WillieCraig-1202 ,

See if this document helps: https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/unable-install-add-ins-microsoft-store

Check TLS 1.2 status with this cmdlet: Invoke-WebRequest https://appsource.microsoft.com

Best regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hey Lou, thanks for the reply. What you're suggesting applies to issues when you're trying to download apps from the MS Store website. I have an .xml file from a vendor that I want to upload for Outlook through Exchange Add-ins. I click Add-ins and I immediately get the error message without having done anything yet. My TLS level is 1.2 so I'm not sure what gives here.
I appreciate the assistance.

0 Votes 0 ·

Hi @WillieCraig-1202 ,

You mean when entering the Add-ins page, it's not showing correctly like below:
129779-image.png
Instead, it's a blank page, right?

See if you could install the add-in with EMS:

 New-App -OrganizationApp -FileData <File location for add-in manifest file>

https://docs.microsoft.com/en-us/exchange/install-or-remove-outlook-add-ins-2013-help#use-the-exchange-management-shell-to-add-an-add-in

For the EAC problem, please try reset IIS and see if other functions is normal.

Best regards,
Lou

0 Votes 0 ·
image.png (35.5 KiB)
WillieCraig-1202 avatar image
1 Vote"
WillieCraig-1202 answered ZhengqiLou-MSFT commented

Lou, yes Exchange comes up as you have shown and there are no apps listed.
I attempted to run the install using this EMS command: New-App -OrganizationApp -FileData ([Byte[]](Get-Content -Encoding Byte -Path “C:\Apps\NameOfTheFile.xml” -ReadCount 0)) and I received the same error message at the command line with a lot more stuff.
I really thought that would work.
I'll try resetting IIS later tonight as it's my understanding on Server 2019 resetting IIS causes a reboot now.
Thanks

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Lou, I reset IIS. It didn't cause a reboot. I was able to watch the process however there was no change. I still received the same error message using both methods used before.

0 Votes 0 ·

Hi @WillieCraig-1202 ,

If you don't mind, try enabling TLS 1.0, 1.1 and 1.2 to see if that helps. That's because I just did a research about this issue and it still points to the TLS problems.

Best regards,
Lou

0 Votes 0 ·
WillieCraig-1202 avatar image
0 Votes"
WillieCraig-1202 answered

Lou\AndyDavid, I too believe this is related to my TLS settings. Even though I have TLS 1.2 enabled the registry keys aren't matching what Microsoft says they should. I'll be making the change tomorrow night and will keep you posted.
Appreciate the assist,
Willie

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.