365 Shared Mailbox and Calendar Permissions

6,071

I tried your steps and got same error message in PowerShell as you shared. The different thing is, I also got error when grant this shared mailbox permission to other mailboxes' Calendar via Outlook client. The error message is "Non-local users cannot be given rights on this server". I tried local mailbox and O365 mailbox. In both scenarios, this shared mailbox (and other local mailboxes) appears as not available: enter image description here

Another interesting thing is, when i switch the delegate mailbox to the normal mailbox, it no longer say the mailbox is invalid, it works as expected: enter image description here

So it seems that in Hybrid deployment or Exchange Online, the shared mailbox itself is not supposed to be a delegate to other mailboxes. I read this TechNet introduction to Exchange Online shared mailbox.

With current information, you may want to convert the shared mailbox to a regular mailbox.

Share:
6,071

Related videos on Youtube

greensmith
Author by

greensmith

Updated on September 18, 2022

Comments

  • greensmith
    greensmith over 1 year

    I can find lots of information regarding giving users access to shared mailbox calendars, but I seem to be struggling to find information in regards to the opposite. Giving a shared mailbox permission to edit a users calendar (using powershell.)

    A bit of background - we moved from on premise to 365 recently, prior to which we had a service account mailbox that was used to automatically update users calendars when they booked annual leave.

    After moving to 365 we converted this mailbox to a shared mailbox so as not to consume a user licence. It continues to function correctly for any user that already had the account with editor permissions on their calendar.

    Trying to add the permissions to new users with Add-MailboxFolderPermission fails with the error "either not valid SMTP address, or there is no matching information." (however this works for adding normal users)

    The odd thing is.... that we CAN add these editor permissions for the shared mailbox manually by using the Outlook client calendar properties...

    We would very much prefer it to be automated as part of the new user process.

  • greensmith
    greensmith almost 7 years
    Hello Sue. "Non-local users cannot be given rights on this server" sounds to me like your user or shared mailbox is remote. In my scenario, both accounts (user and shared) are on the same platform (cloud)
  • Sue.J
    Sue.J almost 7 years
    Hi Green, I tested with online user. The mailbox named Shared has been migrated to Exchange online, and the account ws@xxx is an online user. Got the same error message. So it seems that the shared mailbox itself is not supposed to be a delegate to other mailboxes.
  • greensmith
    greensmith almost 7 years
    Did you try adding the shared mailbox to the calendar permissions via the Outlook client? It works that way.
  • Sue.J
    Sue.J almost 7 years
    Yes, I tried in Outlook with an Exchange Online mailbox, as well as a local mailbox. In both scenarios, there is a prohibitive signage shows with the mailbox shared. Outlook doesn't allow me to choose that mailbox.
  • Greg W
    Greg W almost 6 years
    A shared mailbox is not a “security principle” and can’t be granted access to anything. Users are “security principles”and can be granted access to “resources” such as calendars, shared mailboxes, SharePoint lists, etc.