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.