SOLVED

Reuse/convert a Shared Mailbox alias to a alias of an active user?

%3CLINGO-SUB%20id%3D%22lingo-sub-332031%22%20slang%3D%22en-US%22%3EReuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332031%22%20slang%3D%22en-US%22%3E%3CP%3E3%20Questions%3C%2FP%3E%3CUL%3E%3CLI%3EWhat%20I%20found%20so%20fare.%20I%20can%20give%20the%20shared%20mailbox%20a%20new%20alias%2C%20delete%20the%20active%20user%20that%20was%20auto-created%20when%20the%20shared%20mailbox%20was%20initially%20created%2C%20then%20wait%20for%20~15min%2C%20and%20then%20add%20the%20old%20alias%20that%20i%20just%20deleted%20to%20the%20active%20user%20as%20an%20alias.%3C%2FLI%3E%3CLI%3ECreating%20a%20new%20shared%20mailbox%20also%20creates%20an%20active%20user%20with%20the%20same%20mail%2C%20why%3F%3C%2FLI%3E%3CLI%3EConvert%20a%20shared%20mailbox%20into%20an%20alias%20for%20existing%20user%2C%20how%2Fthe%20right%20way%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWhy%20I%20need%20to%20do%20this%3A%3C%2FP%3E%3CP%3EI%20have%20a%20client%20(accountant)%20that%20have%20created%2020%2B%20Shared%20Mailboxes%20for%20her%20own%20clients%2C%20so%20that%20a%20client%20would%20send%20their%20invoices%2C%20hours%20etc.%20to%20a%20mail%20like%3A%20clientcompanyname(at)fictivedomain.com.%20They%20then%20pick%20up%20thier%20mails%20and%20do%20their%20thing.%20-%20Downside%20to%20this%20is%20Outlook%20really%20hates%20this%20many%20shared%20mailboxes.%3C%2FP%3E%3CP%3ESo%20what%20i%20want%20to%20do%20is%20setup%20a%20single%20bookkeeping(at)fictivedomain.com%20mail%20for%20my%20client%20convert%2Freuse%20the%20shared%20mailboxes%20aliases%20as%20aliases%20for%20bookkeeping(at)fictivedomain.com%20and%20then%20create%20rules%20to%20add%20incomming%20mails%20to%20the%20aliases%20to%20different%20subfolders.%20-%20This%20works%20great%2C%20as%20far%20as%20I%20have%20tested.%3C%2FP%3E%3CP%3EProblem%2C%20converting%20the%20shared%20mailboxes%20into%20alias%20addresses%20of%20the%20new%20bookkeeping(at)fictivedomain.com%2C%20is%20a%20hassel.%3C%2FP%3E%3CP%3ESecond%2C%20also%20I%20do%20NOT%20want%20to%20delete%20a%20share%20mailbox%2C%20with%20mails%20in.%3C%2FP%3E%3CP%3EThird%2C%20as%20stated%20in%20the%20begining%2C%20what%20is%20the%20point%20of%20O365%20creating%20an%20unlicensed%20user%20when%20i%20add%20a%20shared%20mailbox%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooong%20post%2C%20sorry.%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-332031%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332786%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332786%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20be%20either%20secondary%20or%20primary%2C%20but%20in%20any%20case%20you%20can%20just%20change%20the%20UPN%20to%20anything%20you'd%20like%20and%20%22free%22%20the%20alias.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332547%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332547%22%20slang%3D%22en-US%22%3E%3CP%3EHmm%20if%20I%20rename%20the%20alias%20of%20the%20user%20object%20linked%20to%20the%20shared%20mailbox%2C%20it%20seems%20to%20work.%20Also%20that%20would%20be%20okay%2C%20since%20the%20shared%20mailboxes%20are%20going%20to%20be%20deleted%20later%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlthough%20i%20don%20not%20know%20if%20this%20is%20a%20bad%20way%20to%20do%20it%20and%20a%20noobish%20attempt%20to%20work%20with%20O365.%20I%20am%20still%20trying%20to%20figure%20out%20what%20is%20best%20practices%20vs%20idiot%20fumbling%20(me).%20%3A)%3C%2Fimg%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332540%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332540%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20post%2C%20thats%20seems%20spot%20on.%20Did%20I%20understand%20it%20correctly%2C%20that%20you%20are%20unable%20to%20control%2Fchange%20which%20alias%20matches%20the%20UPN%3F%20And%20therefore%20are%20unable%20to%20delete%2Freuse%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20thanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3Bfor%20your%20comments%2C%20it%20all%20helps%20to%20get%20me%20going.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2FRiko%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332533%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332533%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Chris%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20on%20a%20pure%20cloud%20solution%2C%20and%20just%20starting%20out%20so%20all%20this%20policies%2Fpowershell%20is%20still%20new%20to%20me.%20But%20im%20getting%20there%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332475%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332475%22%20slang%3D%22en-US%22%3EInteresting.%20So%20it%20still%20sort%20of%20has%20an%20address%20policy%20%3AP.%20Good%20read.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332474%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332474%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20there%20is%2C%20but%20it%20only%20applies%20to%20Groups.%20And%20we%20also%20have%20the%20%22feature%22%20that%20enforces%20at%20least%20one%20alias%20to%20match%20the%20UPN%2C%20which%20kinda%20works%20like%20an%20EAP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332466%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332466%22%20slang%3D%22en-US%22%3EOh%20is%20there%20not%3F%20I've%20always%20sat%20on%20Hybrid%20that%20still%20had%20address%20policies%20just%20assumed%20it%20would%20default%20as%20well%20in%20365.%20My%20bad%20%3B).%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20are%20on%20hybrid%20thegreatdane%2C%20then%20it%20could%20be%20the%20policy%20issue%20I%20talk%20about%20in%20my%20response%2C%20otherwise%20prolly%20not%20%3AP.%20If%20you%20could%20give%20a%20few%20more%20specifics%20to%20how%20you%20are%20trying%20to%20make%20the%20change%20and%20environment%20we%20can%20go%20from%20there.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332465%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332465%22%20slang%3D%22en-US%22%3E%3CP%3EAaaaand%20I%20just%20remembered%20that%20we%20do%20need%20to%20have%20at%20least%20one%20alias%20matching%20the%20UPN.%20Wonder%20why%20I%20blog%20about%20things%2C%20just%20to%20forget%20them%20later%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F2048%2Fdid-you-know-at-least-one-smtp-address-needs-to-match-the-upn-in-office-365%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F2048%2Fdid-you-know-at-least-one-smtp-address-needs-to-match-the-upn-in-office-365%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332462%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332462%22%20slang%3D%22en-US%22%3E%3CP%3EUm%2C%20there%20are%20no%20email%20address%20policies%20in%20O365.%20Most%20likely%20the%20OP%20is%20trying%20to%20make%20the%20change%20from%20the%20O365%20admin%20center...%20which%20is%20known%20to%20cause%20more%20harm%20than%20good%20with%20its%20%22helpful%22%20%22features%22.%20I'd%20suggest%20making%20the%20change%20via%20PowerShell%20or%20the%20EAC.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332334%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332334%22%20slang%3D%22en-US%22%3EThis%20is%20due%20to%20the%20alias%20%2F%20mailnickname%20field%20of%20the%20shared%20mailbox%20not%20being%20changed%20and%20you%20are%20just%20editing%20the%20e-mail%20addresses%20manually.%20There%20typically%20is%20a%20default%20mail%20policy%20that%20creates%20the%20primary%20e-mail%20address%20off%20this%20mailnickname%20attribute.%20Wouldn't%20you%20just%20keep%20the%20aliases%20all%20on%20the%20single%20mailbox%20and%20keep%20your%20rules%20there%20to%20route%20the%20messages%20to%20the%20folders%3F%20Moving%20the%20alias%20away%20seems%20to%20be%20a%20hassle.%20%3CBR%20%2F%3E%3CBR%20%2F%3EAnyway%2C%20if%20you%20have%20to%20move%20it%2C%20set%20your%20actual%20alias%20(Below%20Display%20name%20in%20EAC)%20on%20the%20shared%20mailbox%20first%2C%20to%20the%20new%20name%20and%20this%20will%20generate%20a%20new%20primary%20e-mail%20address.%20Then%20wait%20and%20you%20can%20remove%20the%20%22e-mail%20address%22%20and%20assign%20it%20to%20another%20user%2Fshared%20mailbox.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332320%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332320%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20tried%20what%20you%20suggested.%20Adding%20a%20new%20alias%20to%20the%20shared%20mailbox%2C%20set%20ithe%20new%20alias%20as%20primary%20and%20deleting%20the%20old%20one.%3C%2FP%3E%3CP%3EBut%20instead%20of%20being%20able%20to%20reuse%20the%20alias%2C%20after%201min%20it%20just%20pops%20right%20back%20up%20as%20a%20secondary%20alias%20for%20the%20shared%20mailbox.%20And%20of%20course%20I%20am%20then%20unable%20to%20reuse%20it.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332165%22%20slang%3D%22en-US%22%3ERe%3A%20Reuse%2Fconvert%20a%20Shared%20Mailbox%20alias%20to%20a%20alias%20of%20an%20active%20user%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332165%22%20slang%3D%22en-US%22%3E%3CP%3EEvery%20mailbox%20in%20Exchange%20comes%20with%20a%20corresponding%20user%20object%2C%20shared%20mailboxes%20included.%20The%20only%20difference%20is%20that%20for%20shared%20mailboxes%20this%20is%20a%20%22managed%22%20user%20account%2C%20for%20which%20you%20generally%20shouldn't%20care%20about.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnyway%2C%20for%20your%20scenario%20simply%20add%20a%20new%20alias%20to%20the%20shared%20mailbox%20and%20remove%20the%20one%20you%20want%20to%20re-use.%20Do%20not%20delete%20the%20user%20object.%20After%20a%20min%20or%20so%20you%20should%20be%20able%20to%20assign%20the%20alias%20to%20another%20object.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

3 Questions

  • What I found so fare. I can give the shared mailbox a new alias, delete the active user that was auto-created when the shared mailbox was initially created, then wait for ~15min, and then add the old alias that i just deleted to the active user as an alias.
  • Creating a new shared mailbox also creates an active user with the same mail, why?
  • Convert a shared mailbox into an alias for existing user, how/the right way?

Why I need to do this:

I have a client (accountant) that have created 20+ Shared Mailboxes for her own clients, so that a client would send their invoices, hours etc. to a mail like: clientcompanyname(at)fictivedomain.com. They then pick up thier mails and do their thing. - Downside to this is Outlook really hates this many shared mailboxes.

So what i want to do is setup a single bookkeeping(at)fictivedomain.com mail for my client convert/reuse the shared mailboxes aliases as aliases for bookkeeping(at)fictivedomain.com and then create rules to add incomming mails to the aliases to different subfolders. - This works great, as far as I have tested.

Problem, converting the shared mailboxes into alias addresses of the new bookkeeping(at)fictivedomain.com, is a hassel.

Second, also I do NOT want to delete a share mailbox, with mails in.

Third, as stated in the begining, what is the point of O365 creating an unlicensed user when i add a shared mailbox?

 

Looong post, sorry. :) 

12 Replies
Highlighted

Every mailbox in Exchange comes with a corresponding user object, shared mailboxes included. The only difference is that for shared mailboxes this is a "managed" user account, for which you generally shouldn't care about.

 

Anyway, for your scenario simply add a new alias to the shared mailbox and remove the one you want to re-use. Do not delete the user object. After a min or so you should be able to assign the alias to another object.

Highlighted

I have tried what you suggested. Adding a new alias to the shared mailbox, set ithe new alias as primary and deleting the old one.

But instead of being able to reuse the alias, after 1min it just pops right back up as a secondary alias for the shared mailbox. And of course I am then unable to reuse it. 

Highlighted
This is due to the alias / mailnickname field of the shared mailbox not being changed and you are just editing the e-mail addresses manually. There typically is a default mail policy that creates the primary e-mail address off this mailnickname attribute. Wouldn't you just keep the aliases all on the single mailbox and keep your rules there to route the messages to the folders? Moving the alias away seems to be a hassle.

Anyway, if you have to move it, set your actual alias (Below Display name in EAC) on the shared mailbox first, to the new name and this will generate a new primary e-mail address. Then wait and you can remove the "e-mail address" and assign it to another user/shared mailbox.
Highlighted

Um, there are no email address policies in O365. Most likely the OP is trying to make the change from the O365 admin center... which is known to cause more harm than good with its "helpful" "features". I'd suggest making the change via PowerShell or the EAC.

Highlighted

Aaaaand I just remembered that we do need to have at least one alias matching the UPN. Wonder why I blog about things, just to forget them later: https://www.michev.info/Blog/Post/2048/did-you-know-at-least-one-smtp-address-needs-to-match-the-upn...

Highlighted
Oh is there not? I've always sat on Hybrid that still had address policies just assumed it would default as well in 365. My bad ;).

If you are on hybrid thegreatdane, then it could be the policy issue I talk about in my response, otherwise prolly not :P. If you could give a few more specifics to how you are trying to make the change and environment we can go from there.
Highlighted

Well there is, but it only applies to Groups. And we also have the "feature" that enforces at least one alias to match the UPN, which kinda works like an EAP.

Highlighted
Interesting. So it still sort of has an address policy :P. Good read.
Highlighted

Hey Chris

 

I'm on a pure cloud solution, and just starting out so all this policies/powershell is still new to me. But im getting there :)

Highlighted

Hey @Vasil Michev 

 

Thanks for the post, thats seems spot on. Did I understand it correctly, that you are unable to control/change which alias matches the UPN? And therefore are unable to delete/reuse it?

 

Also thanks @Chris Webb for your comments, it all helps to get me going.

 

/Riko

Highlighted

Hmm if I rename the alias of the user object linked to the shared mailbox, it seems to work. Also that would be okay, since the shared mailboxes are going to be deleted later on.

 

Although i don not know if this is a bad way to do it and a noobish attempt to work with O365. I am still trying to figure out what is best practices vs idiot fumbling (me). :)  

Highlighted
Best Response confirmed by thegreatdane (Occasional Contributor)
Solution

Can be either secondary or primary, but in any case you can just change the UPN to anything you'd like and "free" the alias.