Skip to main content
Question

Is it possible to to convert to shared mailboxes

  • December 18, 2025
  • 1 reply
  • 9 views

Our current manual process is as follows:

 

Step 1: create user account

Step 2: license the email account with a G1 license

Step 3: convert the mailbox to a shared mailbox

 

Hoping somebody may have done this or used a combination of moveworks and powershell scripting.

 

 

1 reply

Forum|alt.badge.img+2

hey ​@tylerpeterson5 , looks like there’s an MSGraph endpoint available to assign licenses here, however it doesn’t look like there is an endpoint that supports converting a mailbox to a shared mailbox. there’s an endpoint for changing some other mailbox settings, but not that specifically :/

at a high level, what i imagine you could do is:

  1. Create user acct (HTTP action? is it possible to automate this based on your company’s processes?)
  2. Create workflow possibly in Azure to make a call to an Ambient Agent each time a new user is created, which then triggers your Agent to make an HTTP call to the “license” endpoint to assign the G1 license
  3. Call from the same Agent to a middleware to run an Exchange Online PowerShell script that targets the user in question and converts their mailbox to shared
  4. Call back to the Ambient Agent (or maybe there is a way to configure a “wait” step in the Ambient Agent) from the middleware letting it know the mailbox has been converted
  5. Call the “license” endpoint again to remove the G1 license since it looks like you don ‘t need that license for a shared mailbox (pls confirm i may be incorrect)

i don’t think there’s a way to run powershell “locally” within AS, so to accomplish the mailbox conversion you’ll probably have to outsource that bit of work a bit, so to speak.

let me know if you have any other questions or reasons that the above solution wouldn’t work for you, happy to help some more!