Installation failed: The operation on mailbox failed because it's out of the current user's write scope.

Yuriy Pastovenskyy 0 Reputation points
2023-01-25T15:31:21.3+00:00

Dear Microsoft,

I need your assistance, please.

Our users work with private and with shared mailboxes in O365 (mainly from Web).

When our users reply to inbound emails from shared mailboxes we want them to be able to use their private signatures automatically. The goal is that when user A composes a new email in a shared mailbox then a signature <A> is automatically inserted into an email body, if user B composes a new email in the same shared mailbox, then signature <B> has to be automatically inserted.

Right now a signature defined in a standard way in a shared mailbox will be used by all users of the mailbox and we do not want that. We know that it is possible to create list of signatures for different people and then users can choose a signature manually but we do not want that either, because sometime there are 10 or 20 users working with the same shared mailbox and they can't waste time on scrolling through the list of signatures to choose their own.

We had an idea to create an event-driven add-in for Outlook, which would work on mail compose event, which would read SSO access token, fetch from it a username and a user email and then use this info for email signature. We managed to implement it and it worked exactly as we expected.

The problem is that we can't install this Add-in for Shared Mailbox, it only works for private users' mailboxes. When we tried to install it for shared mailbox we've got an error "Installation failed: The operation on mailbox failed because it's out of the current user's write scope."

We googled this error and found two articles in the Internet. One without response on this site: [https://learn.microsoft.com/en-us/answers/questions/506662/outlook-owa-addin-installation-permission-issue-(d

Another one here: [https://github.com/OfficeDev/office-js/issues/1877

Dear Microsoft, please tell me,

  1. is it even possible to install Outlook Add-in for Shared Mailbox?
  2. if answer is "no", what can you advise to resolve the described task?

Yuriy.

Outlook
Outlook
A family of Microsoft email and calendar products.
2,648 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,306 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChristyZhang-MSFT 19,201 Reputation points Microsoft Vendor
    2023-01-26T02:33:27.3133333+00:00

    Hi @Yuriy Pastovenskyy ,

    Welcome to our forum!

    is it even possible to install Outlook Add-in for Shared Mailbox?

    Based on my research, i found that add-ins are not activated if the current message item, in a compose or read form, is a Shared Mailbox. References:

    Mailbox items available to add-ins

    Enable shared folders and shared mailbox scenarios in an Outlook add-in

    1

    if answer is "no", what can you advise to resolve the described task?

    I'm afraid there isn't any shortcut to your needs, and you may need to ask each user to manually add their own signature when using the shared mailbox.

    Hope to help you!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.