XML Schema Violation Office Add-in manifests

2019-04-15 09:07发布

问题:

I have an outlook add in manifest file. I can upload it into my addin through Outlook online successfully. However, when I upload to https://sellerdashboard.microsoft.com I get this error message:

XML Schema Violation: Your manifest does not adhere to the current set of XML schema definitions for Office Add-in manifests. (link: https://aka.ms/add-in-manifest-schema-violation)
  - Details: The element 'WebApplicationInfo' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1' has incomplete content. List of possible elements expected: 'Authorizations' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'.

When I use the validation tool https://docs.microsoft.com/en-us/office/dev/add-ins/testing/troubleshoot-manifest it returns the same errors.

This is my manifest file: https://1drv.ms/u/s!At4sLIePWTrsfcX7-aCXraAhfSs

I try to validate 1 manifest file from OfficeDev but it is the same issue: https://github.com/OfficeDev/Office-Add-in-ASPNET-SSO/files/1241350/outlook-manifest.txt

I'm struggling with what my mistake is. Please advise.