Skip to main content
Question

Convert to Shared Mailbox

  • June 15, 2022
  • 10 replies
  • 219 views

Forum|alt.badge.img+1
  • Active Contributor

I’m working on an offboarding process in FreshService and would like to convert a mailbox to shared.   We are a hybrid environment so I’m thinking that would need to be done in Exchange Online using Powershell somehow.  Has anyone figured out how to do this?  

 

Thanks

10 replies

Forum|alt.badge.img+1
  • Skilled Expert
  • June 15, 2022

Sub for answer.  I have this exact same problem


Forum|alt.badge.img
  • Contributor
  • August 30, 2022

Same question here, anybody found a solution?


Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

I’m working on an offboarding process in FreshService and would like to convert a mailbox to shared.   We are a hybrid environment so I’m thinking that would need to be done in Exchange Online using Powershell somehow.  Has anyone figured out how to do this?  

 

Thanks

You need to setup the Orchestration server  Installation Guide - Powershell : Freshservice 
Then you can call a powershell script from a WFA. Don’t know how to write the script. 

 

//Daniel 


zachary.king
Top Contributor ⭐
Forum|alt.badge.img+16
  • Top Contributor ⭐
  • August 30, 2022

Hello @EdK, as @daniel.soderlund mentioned you would need to use the Powershell Orchestration application. 

Here is a script that uses the Set-Mailbox cmdlet that might work for you

[PS] C:\>Set-Mailbox "John Smith" -Type Shared

[PS] C:\>Set-Mailbox "john.smith@yourdomain.com" -Type Shared

Hope that helps!


Forum|alt.badge.img+1
  • Author
  • Active Contributor
  • August 30, 2022

Powershell would fix the problem if I could figure out how to run Powershell in Exchange Online.   As far as I know, the powershell orchestration is limited to local AD and local Exchange.  We have a hybrid environment and I don’t think a command on our local exchange server which has no mailboxes would sync to Exchange online.


Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

Powershell would fix the problem if I could figure out how to run Powershell in Exchange Online.   As far as I know, the powershell orchestration is limited to local AD and local Exchange.  We have a hybrid environment and I don’t think a command on our local exchange server which has no mailboxes would sync to Exchange online.

You can run local script towards exchange online, I have done it but then I hade to login each time for my script to access Exchange online.  I twas fine then so I never looked into how to do that without login. 


Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

Forum|alt.badge.img+1
  • Author
  • Active Contributor
  • August 30, 2022

Powershell would fix the problem if I could figure out how to run Powershell in Exchange Online.   As far as I know, the powershell orchestration is limited to local AD and local Exchange.  We have a hybrid environment and I don’t think a command on our local exchange server which has no mailboxes would sync to Exchange online.

You can run local script towards exchange online, I have done it but then I hade to login each time for my script to access Exchange online.  I twas fine then so I never looked into how to do that without login. 

The login is exactly the problem which I why I don’t think it can be automated unless it’s added to the Exchange orchestrator. 


Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

Powershell would fix the problem if I could figure out how to run Powershell in Exchange Online.   As far as I know, the powershell orchestration is limited to local AD and local Exchange.  We have a hybrid environment and I don’t think a command on our local exchange server which has no mailboxes would sync to Exchange online.

You can run local script towards exchange online, I have done it but then I hade to login each time for my script to access Exchange online.  I twas fine then so I never looked into how to do that without login. 

The login is exactly the problem which I why I don’t think it can be automated unless it’s added to the Exchange orchestrator. 

Check the link I just posted 


zachary.king
Top Contributor ⭐
Forum|alt.badge.img+16
  • Top Contributor ⭐
  • August 30, 2022

Powershell would fix the problem if I could figure out how to run Powershell in Exchange Online.   As far as I know, the powershell orchestration is limited to local AD and local Exchange.  We have a hybrid environment and I don’t think a command on our local exchange server which has no mailboxes would sync to Exchange online.

You can run local script towards exchange online, I have done it but then I hade to login each time for my script to access Exchange online.  I twas fine then so I never looked into how to do that without login. 

The login is exactly the problem which I why I don’t think it can be automated unless it’s added to the Exchange orchestrator. 

Check the link I just posted 

The second option “Automated Configuration” looks legit. And you may even be able to store the credentials you would normally use to login in Freshservice’s Credential manager and then pass those in to the script for some added freshservice user security, won’t make the credentials secure on the server but just a thought.