OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
689 stars 95 forks source link

Manifest Validation Allows Missing Resource ID, Causing Deployment Failure in Microsoft 365 Admin Center #5125

Open gerrillero opened 1 day ago

gerrillero commented 1 day ago

When uploading the application to the Microsoft 365 Admin Center, the step that validates the manifest (as well as the "office-addin-manifest validate" command) considers it correct if you have a resid but have not defined the ID in the resources tag. However, when deploying, an error message appears stating "Failed" in the Microsoft 365 Admin Center.

The error message should provide more information, and the manifest validation should catch this error before installation.

Rick-Kirkham commented 1 day ago

This is an issue with the platform, not the documentation, so I'm going to try to move it to the office-js repo.