Question

Convert to Shared Mailbox


Userlevel 1
Badge +1
  • Top Contributor
  • 7 replies

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

Userlevel 1
Badge +1

Sub for answer.  I have this exact same problem

Same question here, anybody found a solution?

Userlevel 7
Badge +11

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 

Userlevel 7
Badge +14

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!

Userlevel 1
Badge +1

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.

Userlevel 7
Badge +11

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. 

Userlevel 7
Badge +11

Found this (option 2)  3 Methods How To Connect To Exchange Online PowerShell (nakivo.com)

 

Userlevel 1
Badge +1

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. 

Userlevel 7
Badge +11

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 

Userlevel 7
Badge +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 

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.

Reply