The only way to achieve this is via the Exchange Online PowerShell cmdlets, Set-Mailbox in particular. https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailbox?view=exchange-ps
Microsoft Graph Api Convert mailbox to shared
Hi All,
I'm trying to convert a normal mailbox to shared mailbox using Microsoft graph API.
I was trying to update userPurpose but looks like that endpoint doesn't accept Patch as request, please find below.
https://learn.microsoft.com/en-us/graph/api/resources/userpurpose?view=graph-rest-beta
Does anyone have done it before that can help me? thanks in advance
Microsoft Security Microsoft Graph
4 answers
Sort by: Most helpful
-
Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
2022-09-15T19:41:09.38+00:00 -
HarmeetSingh7172 4,826 Reputation points
2022-09-15T19:39:34.607+00:00 Hope you're doing well.
As far as I know, currently Microsoft Graph does not support converting Normal Mailbox to Shared Mailbox. However, you can send, read messages from Shared Mailbox but conversion of mailbox is not possible as of now.
Since this Feature/Functionality is presently not available, you can submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.
Refer this for an alternative way-
https://learn.microsoft.com/en-us/microsoft-365/admin/email/convert-user-mailbox-to-shared-mailbox?view=o365-worldwideHope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.
-
Kristiansen, Rune 1 Reputation point
2022-11-18T11:56:14.72+00:00 Hi,
I am also having issues with shared mailboxes and your suggestion to use Exchange Online Powershell is not working for me anymore after they changed/removed features. I can get mailbox by using the get-exoMailbox but the equivalent set-exoMailbox does not exist, and also not set-mailbox. I have added exchangeOnlineManagement module and I have set execution policy.
How would I set-mailbox using todays EXO modules?
Thanks,
Rune -
JeGO_BE 21 Reputation points
2022-12-09T09:52:43.667+00:00 We can update this request ;)
https://feedbackportal.microsoft.com/feedback/idea/a88d5aad-5e6a-ed11-a81b-000d3ae32cd0