How to convert user mailbox to shared mailbox through graph api?

Onur Atilgan 20 Reputation points
2024-10-09T20:10:22.0033333+00:00

Hello,

I try to create Lifecycle workflow for offboarding user on azure and my aim to remove all groups from leaver user and I want to convert user mailbox to shared mailbox using logic app in same lifecycle workflow.

I googled how to convert user mailbox through graph api but I could not find correct explanation. Is there any way to convert mailbox to shared mailbox using Microsoft graph?

I found one way which is using PowerShell on Automation account. But Automation account is another resource that's why I don't want to user another resource.

Thank you in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-10-10T02:45:28.6166667+00:00

    Hello Julien Marpault,

    Thank you for reaching out to Microsoft Support!

    According to the query, in the Graph Api related documentation, there is currently no update function to convert user mailbox to shared mailbox, please see the documentation for details:

    https://learn.microsoft.com/en-us/graph/api/user-update-mailboxsettings?view=graph-rest-1.0&tabs=http

    You can propose this feature here.

    Hope this helps.

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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2024-10-09T21:14:31.5733333+00:00

    That still requires Exchange Powershell and set-mailbox.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.