Icons are not showing in the Ribbon in desktop applications

Alon Ekelund 16 Reputation points
2021-08-10T10:01:30.457+00:00

For some reason the icon is not showing on new deployed Add-ins in Outlook, Word, Excel and PowerPoint. We have an Add-in published in AppSource. This Add-in is showing correct in the ribbon.

However, our test/development Add-in where we updated the manifest file is not showing the icon on desktop applications, but it is showing on web apps. Question is what changes has been made? We looked at the documentation but can find anything??? Question is if a change has been made to the size, format etc.
121860-file.png

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Alon Ekelund 16 Reputation points
    2021-08-20T07:33:38.703+00:00

    Thank you. We found the issue. Our PEN test tool required that we used no-cache in the Cache-Control header. So we did and that resultet in the icon not showing in the ribbon. But, in the documentation of manifest file we found the following

    "All image URIs, such as those used for add-in commands, must support caching. The server hosting the image should not return a Cache-Control header specifying no-cache, no-store, or similar options in the HTTP response."

    After removing it from the Cache-Control header and handling it differently we got the icons back.

    Thanks

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.