OfficeDev/Office-Add-in-samples

Spam addin manifest could not be loaded in Outlook.

glr0221 opened this issue · 9 comments

URL of sample
https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-spam-reporting

Describe the bug
We tried to upload this manifest in one our customer environments and it failed to deploy.
It is important to note that any addin from the marketplace can be installed in the customer's environment.
However, any addin installed by deploying a manifest fails.

To Reproduce
We cannot reproduce internally in our environment.
We are hoping that the Microsoft team can help us determine if there is a setting in M365 environment that disables the sideloading/installing of custom apps via manifest files.

Steps to reproduce the behavior:
NA

Expected behavior
Installing an addin via manifest deploy/sideload should work.

Screenshots
NA

Environment

  • Platform [PC desktop, Mac, iOS, Office Online]: ______
  • Host [Excel, Word, PowerPoint, etc.]: ______
  • Office version number: ______
  • Operating System: ______
  • Browser (if using Office Online): ______

Additional context
Again installing an addin via manifest file fails. Installing addin via the marketplace works.
They have an existing Microsoft inquiry with case # : 2407170040011584

Thank you.

Thanks for reporting this @glr0221.

@samantharamon, could you please investigate this?

Hi @glr0221,

Your customer may not have the My Custom Apps role assigned to their user accounts. For information on this user role, see Specify the administrators and users who can install and manage add-ins for Outlook in Exchange Online.

Thank you @samantharamon. I will try to advise our customer about this. Thank you again.

No problem. Hope it resolves the issue they're experiencing. I'll go ahead and close this issue, but if your customer is still unable to sideload the manifest even after the suggested fix, please reopen this issue.

Thank you @samantharamon @AlexJerabek . I will let you know what we find out. Thanks again.

Hello @samantharamon @AlexJerabek ,

Our customer enabled the settings for custom apps and was still unable to sideload the addin. These are the settings they enabled for testing :

image

Any other advice we can share with them?

Again, Thank you very much.

Hi @glr0221,

Thanks for the update. If I'm not mistaken, the Org Custom Apps role only allows an admin to install and manage add-ins in their organization. They would still need to assign the necessary user role (My Custom Apps) to the account their using for testing add-ins.

The My Custom Apps user role is checked.

Hello @samantharamon,

I got word from our customer. Seems like, it is working now for them. Thank you so much for your patience and support.

Again, thank you. Closing this ticket now.

That's awesome news! Thanks for the update, @glr0221.