1
votes

We are creating an outlook web add-in which includes the Onsend feature.

The template was working fine without adding the ExtensionType tag in manifest but when we added that tag, it triggers an error (screenshot):

<ExtensionPoint xsi:type="Events">
  <Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="validateBody" />
</ExtensionPoint>

We searched further and found that adding a verionoverrides (screenshot) tag corrects the error but during compilation, it throws an error:

Failed to deploy the manifest file to the Exchange server. An internal server error occurred. The operation failed., Object reference not set to an instance of an object.

Does anyone confront the same error or can anyone please guide towards a right path to resolve this?

Complete Manifest: https://files.fm/f/hca3npdt

2
Kindly as for the details if needed. - Jaydev Solanki
We also tested this issue on Visual Studio 2017, but still no luck! - Jaydev Solanki
Yes, adding the <VersionOverrides> tag should work. See if this doc helps you. Would you be able to upload your manifest file for us to take a look? - Outlook Add-ins Team - MSFT
@OutlookAdd-insTeam-MSFT I have added manifest file in question. Please have a look and suggest if I am missing anything. - Jaydev Solanki

2 Answers

0
votes

The following snipped was included under version overrides 1.0:

enter image description hereWith no extension points this isn't a valid part of the manifest. Once this is removed you should be able to install the manifest.

0
votes

After trying every approach out there finally I found a way and it was too easy. Actually what you have to do is just copy all code from your manifest file (.xml) and replace it with the one which you have published on server or your individual manifest file whatever your scenario is.

This was the solution and I confirmed by putting a test dialog at onsend event and it worked. Hope this will be helpful for someone who is in the same boat.

PS. I think the documentation should mention this workaround so that it would be easier to understand.