SOLVED

Create shared mailbox on Hybrid environment - directly on O365 or onpremises then migrate it to O365

%3CLINGO-SUB%20id%3D%22lingo-sub-77604%22%20slang%3D%22en-US%22%3ECreate%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77604%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20recommended%20way%20to%20create%20shared%20mailboxes%20for%20a%20hybrid%20environment%3F%20There%20are%20some%20issues%20if%20you%20create%20them%20directly%20to%20O365%20-%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3129334%2Fusers-in-a-hybrid-deployment-can-t-access-a-shared-mailbox-that-was-created-in-exchange-online%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3129334%2Fusers-in-a-hybrid-deployment-can-t-access-a-shared-mailbox-that-was-created-in-exchange-online%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECreate%26nbsp%3Bit%20onpremises%20then%20migrate%20it%20to%20O365%20is%20the%20best%20practice%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-77604%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-256036%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-256036%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20GUys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20thing%20to%20add%20to%20this%3A%20can%20you%20just%20use%20this%20command%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew-Remotemailbox%20test%40domain.com%20-Remoteroutingaddress%20test%40.mail.onmicrosoft.com%20-Shared%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20realize%20that%20would%20create%20a%20new%20user%20account%20and%20a%20new%20mailbox%2C%20is%20there%20a%20reason%20why%20the%20above%20command%20should%20be%20used%3F%20Or%20am%20I%20missing%20something%20with%20that%20command%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ERobert%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-225206%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-225206%22%20slang%3D%22en-US%22%3E%3CP%3E1.%20Yes%2C%20you%20can%20if%20you%20have%20a%20Exchange%202013%20or%20Exchange%202016%20server%20in%20your%20hybrid%20environment%20that%20can%20create%20mailboxes%20straight%20from%20the%20EAC%20GUI.%20When%20you%20choose%20new%20Mailbox%2C%20there%20is%20an%20option%20for%20Office%20365%20mailbox%2C%20and%20then%20choose%20mailbox%20type%20Shared.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20also%20use%20the%20enable-remote%20mailbox%20cmdlet%20in%20EMS%20with%20the%20new%20updates%20to%20EX%202013%20and%202016%20so%20that%20it%20creates%20a%20remote%20shared%20mailbox%20right%20away%20in%20the%20cloud%20without%20changing%20Attributes%20in%20AD.%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4133605%2Fcmdlets-to-create-modify-remote-shared-mailbox-in-on-premises-exchange%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4133605%2Fcmdlets-to-create-modify-remote-shared-mailbox-in-on-premises-exchange%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExchange%202010%20will%20require%20either%20performing%20the%20method%20i%20mentioned%20in%20my%20previous%20post%20or%20enabling%20a%20user%20remote%20mailbox%20from%20on-prem%2C%20changing%20to%20shared%20in%20EXO%2C%20then%20updating%20the%20attributes%20in%20AD%20so%20that%20it%20doesn't%20change%20back%20to%20a%20user%20mailbox.%20Refer%20to%20Draper's%20response%20above.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Your%20second%20question%20was%20answered%20by%20your%20third%20question.%20Any%20bulk%20creation%20of%20an%20Exchange%20object%20will%20require%20a%20CSV%20file%20fed%20into%20EMS%20or%20EXO%20powershell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3%2C%20I%20don't%20have%20a%20CSV%20file%20on%20hand%2C%20but%26nbsp%3Byou%20can%20find%20one%20easily%20online.%20Performed%20a%20google%20search%20and%20found%20this.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2FHow-to-Bulk-create-6be6c82f%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2FHow-to-Bulk-create-6be6c82f%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-225040%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-225040%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20these%20instructions.%3C%2FP%3E%3CP%3EUsed%20them%20when%20I%20already%20had%20the%20shared%20mailbox%20created%20on%20the%20cloud%20and%20synced%20to%20on-premises%20AD.%3C%2FP%3E%3CP%3EJust%20ran%20the%20powershell%20command%20in%20the%20exchange%20console%2C%20changed%20the%20attributes%20and%20ran%20a%20delta%20sync%20cycle.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-220546%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-220546%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20None%20None%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20couple%20of%20question%20regarding%20your%20post.%20Your%20method%20for%20shared%20mailboxes%20in%20Hybrid%20environment.%3C%2FP%3E%3COL%3E%3CLI%3ECan%20I%20just%20create%20the%20mailbox%20as%20shared%20from%20the%20beginning%20in%20on-prem%20exchange%20server%3F%3C%2FLI%3E%3CLI%3EHow%20do%20I%20create%20bulk%20shared%20mailboxes%20in%20the%20on-prem%20server%3F%3C%2FLI%3E%3CLI%3ECan%20you%20clarify%20this%2C%20I%20researched%20that%20you%20need%20to%20import%20the%20.csv%20file%20into%20EMS%2C%20if%20that%20is%20the%20case%2C%20do%20you%20know%20of%20a%20way%20to%20create%20a%20.csv%20file%20template%20to%20import%20into%20EMS%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EPlease%2C%20let%20me%20know%20at%20your%20earliest%20convenience.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EEM%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-166974%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-166974%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20that%20work%20perfectly%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152791%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152791%22%20slang%3D%22en-US%22%3E%3CP%3EOk%20Thanks%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20had%20some%20hope%20...%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDavid%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152757%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152757%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20David%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20do%20not%20have%20AD%20write%20back%20the%20process%20is%20what%20you%20describe.%20Here%20is%20the%20support%20article%20with%20information%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2710029%2Fshared-mailboxes-are-unexpectedly-converted-to-user-mailboxes-after-di%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2710029%2Fshared-mailboxes-are-unexpectedly-converted-to-user-mailboxes-after-di%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152744%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152744%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20you%20shure%20that%20wont%20give%20any%20problems.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20dont%20have%20AD%20write%20back%20to%20onprem...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20i%20asume%20just%20login%20to%20exchange%20online%20and%20stet%20mailbox%20shared%20with%20powershell%20%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDavid%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152743%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152743%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20David%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20convert%20in%20Office%20365%20the%20shared%20mailbox%20on%20the%20Exchange%20Admin%20Center%20or%20Exchange%20Online%20Powershell.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20do%20not%20need%20to%20migrate%20the%20mailbox%20to%20on-premises.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152712%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152712%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3EWe%20have%20Hybrid.%3C%2FP%3E%0A%3CP%3EWe%20always%20create%20user%20and%20mailbox%20on%20prem%26nbsp%3B%20then%20migrate%20to%20O365%20.%3C%2FP%3E%0A%3CP%3EWe%20do%20this%20both%20for%20regular%20an%20shared%20mailbox.%3C%2FP%3E%0A%3CP%3ENever%20had%20a%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20regular%20mailbox%20is%20in%20o365%20and%20needs%20to%20be%20converted%20to%20shared%20mailbox.%3C%2FP%3E%0A%3CP%3EWe%20migrate%20is%20to%20onprem%20convert%20to%20shared%20with%20the%20command%20and%20then%20migrate%20it%20back%20to%20O365.%3C%2FP%3E%0A%3CP%3EDont%20know%20if%20there%20is%20any%20other%20option%3F%3C%2FP%3E%0A%3CP%3EWould%20be%20nice%20just%20to%20convert%20in%20O365%20!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152486%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152486%22%20slang%3D%22en-US%22%3EHi%20Fermin%3CBR%20%2F%3EDid%20you%20try%20this%20method%3F%20Did%20it%20work%3F%20We're%20looking%20to%20find%20the%20same%20answer.%20Thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-139410%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-139410%22%20slang%3D%22en-US%22%3EGoing%20to%20try%20this%20now.%20Looks%20like%20this%20is%20what%20I%20do%20for%20new%20users.%20step%203%20and%204%20is%20what%20I%20was%20needing%20to%20know%20for%20new%20shared%20mailboxes.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-138502%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-138502%22%20slang%3D%22en-US%22%3E%3CP%3EI%20currently%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECreate%20an%20AD%20account%20in%20a%20OU%20that%20syncs%20with%20365.%3C%2FLI%3E%0A%3CLI%3EOn%20my%20on-prem%20exchange%2C%20run%20a%20powershell%20command%3A%3CBR%20%2F%3Eenable-remotemailbox%20%3CNAME%3E%20-remoteroutingaddress%20%3CMAILBOX%3E%40%3CCOMPANY%3E.onmicrosoft.com%3C%2FCOMPANY%3E%3C%2FMAILBOX%3E%3C%2FNAME%3E%3C%2FLI%3E%0A%3CLI%3EOnce%20365%20has%20synced%2C%20change%20the%20mailbox%20to%20shared.%3C%2FLI%3E%0A%3CLI%3EBack%20in%20Active%20Directory%20I%20change%20the%20attribute%26nbsp%3BmsExchRecipientTypeDetails%20to%2034359738368%20and%20msExchRemoteRecipientType%20to%20100%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-138180%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-138180%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Carlos%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20way%20is%20creating%20the%20Shared%20Mailbox%20in%20On-prem%20and%20then%20migrate%20it%20to%20O365.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20leave%20a%20contact%20in%20On-prem%20(for%20compatibility%20for%20non-migrated%20users)%20and%20the%20Shared%20Mailbox%20will%20live%20in%20O365.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122615%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122615%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20method%20that%20works%20for%20me%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20create%20a%20user%20mailbox%20in%20OnPrem%20Exchange%3C%2FP%3E%3CP%3E2)%20move%20the%20user%20mailbox%20to%20office%20365%3C%2FP%3E%3CP%3E3)%20Once%20move%20is%20completed%2C%20Convert%20to%20shared%20mailbox%20(either%20through%20EAC%20or%20EXO%20PS%20using%20set-mailbox%20-type%20shared%20cmd)%3C%2FP%3E%3CP%3E4)%20remove%20license%20as%20it%20is%20no%20longer%20needed%20for%20shared%20mailbox%3C%2FP%3E%3CP%3E5)%20Assign%20mailbox%20delegation%20to%20required%20users%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20ensures%20the%20mailbox%20is%20known%20between%20both%20Exchange%20onprem%20and%20Exchange%20online%20realms%20and%20doesn't%20bypass%20the%20federation%20if%20it's%20created%20in%20the%20cloud%20originally.%20The%20only%20Exchange%20objects%20that%20should%20be%20recreated%20in%20the%20cloud%20for%20a%20hybrid%20deployment%20are%20DDGs%20since%20they%20can't%20sync%20through%20AAD%20Connect.%20Every%20other%20EX%20object%20should%20always%20be%20created%20in%20onprem%20realm%20and%20then%20synced%20to%20EXO%20via%20AAD%20Connect.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-101939%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-101939%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20Nuno%20says%20is%20correct%2C%20but%20when%20you%20have%20migrated%20everything%20with%20the%20hyrbid%20your%20autodiscover%20will%20propably%20point%20towards%20Office%20365%20and%20you%20exchange%20hybrid%20server%20is%20just%20a%20exchange%20server%20for%20managing%20purposes.%20When%20this%20is%20the%20case%20the%20best%20thing%20to%20do%20is%20create%20the%20shared%20mailboxes%20online%20(just%20cloud%20only).%3C%2FP%3E%3CP%3EBut%20if%20you%20still%20have%20users%20onprem%20and%20maybe%20some%20online%20then%20the%20method%20nuno%20told%20is%20the%20way%20to%20go.%20Also%20make%20sure%20the%20proxyaddress%20have%20sharedbox%40domain.mail.onmicrosoft.com%20(this%20is%20used%20for%20the%20automapping).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-77641%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77641%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Carlos%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20create%20some%20Exchange%20objects%20on-premises%20manually%20to%20do%20that%20but%20if%20the%20mailbox%20has%20no%20data%20on%20it%2C%20just%20create%20a%20new%20one%2C%20it's%20faster.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-77639%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77639%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20I%20asume%20that%20since%20AAD%20Connect%20does%20not%20support%20write-back%20(only%20password)%26nbsp%3Bthen%20its%20better%20to%20have%20the%20objects%20created%20first%20on-premises%20then%20moved%20to%20O365%20in%20order%20to%20avoud%20such%20situations.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20is%20there%20a%20change%20that%20could%20help%20on%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-77638%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77638%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Carlos%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20an%20Hybrid%2C%20your%20autodiscover%20is%20pointing%20to%20your%20on-premises%20Exchange.%20If%20you%20create%20your%20Mailbox%20only%20in%20Cloud%2C%20your%20AD%20and%20Exchange%20does%20not%20have%20any%20propreties%20of%20that%20mailbox%2C%20that%20is%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-77636%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77636%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Nuno%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20mailbox%20is%20already%20migrated%20to%20O365%20from%20a%20while%20a%20go%2C%20but%20tonight%20I%20tested%20creating%20to%20shared%20mailboxes.%20One%20directly%20on%20the%20cloud%20and%20the%20other%20on-premises%20(then%20migrated)%2C%20after%20applying%20the%20full%20access%20permissions%20on%20both%20for%20my%20account%20only%20the%20second%20one%20is%20working%20(including%20auto%20mapping)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20expecting%20that%20for%20both%20shared%20mailboxes%20to%20work%2C%20but%20apparently%20the%20ones%20created%20directly%20on%20the%20cloud%20have%20some%20issues%20with%20delegation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3129334%2Fusers-in-a-hybrid-deployment-can-t-access-a-shared-mailbox-that-was-created-in-exchange-online%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3129334%2Fusers-in-a-hybrid-deployment-can-t-access-a-shared-mailbox-that-was-created-in-exchange-online%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20assume%20that%20create%20the%20shared%20mailboxes%20on-premises%20and%20then%20migratem%20is%20the%20best%20solution%20even%20if%20we%20have%20all%20of%20our%20user%20mailboxes%20migrated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-77631%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-77631%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Carlos%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20still%20have%20mailboxes%20on-premises%20and%20would%20like%20to%20have%20access%20to%20your%20shared%20mailboxes%20you%20should%20create%20on-premises%20and%20then%20migrate%20to%20Office%20365.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-828795%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20shared%20mailbox%20on%20Hybrid%20environment%20-%20directly%20on%20O365%20or%20onpremises%20then%20migrate%20it%20to%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-828795%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F91490%22%20target%3D%22_blank%22%3E%40Kyle%20Natoli%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20CU21%2C%20In%20ECP%20i%20have%20option%20to%20create%20user%2C%20room%20and%20equipment%20mailbox%20but%20not%20shared%20mailbox%3C%2FP%3E%3CP%3EIn%20Shell%20option%20is%20available.%3C%2FP%3E%3CP%3EHow%20we%20can%20get%20shared%20mailbox%20option%20in%20ECP%20or%20GUI%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi,

 

What is the recommended way to create shared mailboxes for a hybrid environment? There are some issues if you create them directly to O365 - https://support.microsoft.com/en-us/help/3129334/users-in-a-hybrid-deployment-can-t-access-a-shared-...

 

Create it onpremises then migrate it to O365 is the best practice?

22 Replies
Highlighted

Hi Carlos,

 

If you still have mailboxes on-premises and would like to have access to your shared mailboxes you should create on-premises and then migrate to Office 365.

Highlighted

Hi Nuno,

 

My mailbox is already migrated to O365 from a while a go, but tonight I tested creating to shared mailboxes. One directly on the cloud and the other on-premises (then migrated), after applying the full access permissions on both for my account only the second one is working (including auto mapping)

 

I was expecting that for both shared mailboxes to work, but apparently the ones created directly on the cloud have some issues with delegation.

 

https://support.microsoft.com/en-us/help/3129334/users-in-a-hybrid-deployment-can-t-access-a-shared-...

 

So, I assume that create the shared mailboxes on-premises and then migratem is the best solution even if we have all of our user mailboxes migrated.

 

 

Highlighted
Solution

Hi Carlos,

 

If you have an Hybrid, your autodiscover is pointing to your on-premises Exchange. If you create your Mailbox only in Cloud, your AD and Exchange does not have any propreties of that mailbox, that is the issue.

 

Highlighted

So, I asume that since AAD Connect does not support write-back (only password) then its better to have the objects created first on-premises then moved to O365 in order to avoud such situations.

 

Or is there a change that could help on this?

 

Regards

Highlighted

Hi Carlos,

 

You can create some Exchange objects on-premises manually to do that but if the mailbox has no data on it, just create a new one, it's faster.

Highlighted

What Nuno says is correct, but when you have migrated everything with the hyrbid your autodiscover will propably point towards Office 365 and you exchange hybrid server is just a exchange server for managing purposes. When this is the case the best thing to do is create the shared mailboxes online (just cloud only).

But if you still have users onprem and maybe some online then the method nuno told is the way to go. Also make sure the proxyaddress have sharedbox@domain.mail.onmicrosoft.com (this is used for the automapping).

Highlighted

The method that works for me is:

 

1) create a user mailbox in OnPrem Exchange

2) move the user mailbox to office 365

3) Once move is completed, Convert to shared mailbox (either through EAC or EXO PS using set-mailbox -type shared cmd)

4) remove license as it is no longer needed for shared mailbox

5) Assign mailbox delegation to required users

 

This ensures the mailbox is known between both Exchange onprem and Exchange online realms and doesn't bypass the federation if it's created in the cloud originally. The only Exchange objects that should be recreated in the cloud for a hybrid deployment are DDGs since they can't sync through AAD Connect. Every other EX object should always be created in onprem realm and then synced to EXO via AAD Connect.

Highlighted

 

Hi Carlos,

 

Other way is creating the Shared Mailbox in On-prem and then migrate it to O365.

 

This will leave a contact in On-prem (for compatibility for non-migrated users) and the Shared Mailbox will live in O365.  

 

Regards.

Highlighted

I currently:

 

  1. Create an AD account in a OU that syncs with 365.
  2. On my on-prem exchange, run a powershell command:
    enable-remotemailbox <name> -remoteroutingaddress <mailbox>@<company>.onmicrosoft.com
  3. Once 365 has synced, change the mailbox to shared.
  4. Back in Active Directory I change the attribute msExchRecipientTypeDetails to 34359738368 and msExchRemoteRecipientType to 100
Highlighted
Going to try this now. Looks like this is what I do for new users. step 3 and 4 is what I was needing to know for new shared mailboxes.
Highlighted
Hi Fermin
Did you try this method? Did it work? We're looking to find the same answer. Thanks!
Highlighted

Hi

We have Hybrid.

We always create user and mailbox on prem  then migrate to O365 .

We do this both for regular an shared mailbox.

Never had a problem.

 

In case regular mailbox is in o365 and needs to be converted to shared mailbox.

We migrate is to onprem convert to shared with the command and then migrate it back to O365.

Dont know if there is any other option?

Would be nice just to convert in O365 !

 

 

Highlighted

Hi David,

 

You can convert in Office 365 the shared mailbox on the Exchange Admin Center or Exchange Online Powershell. 

 

You do not need to migrate the mailbox to on-premises.

Highlighted

Hi,

 

Are you shure that wont give any problems.

 

We dont have AD write back to onprem...

 

So i asume just login to exchange online and stet mailbox shared with powershell ? 

 

Regards,

 

David

Highlighted

Hi David,

 

If you do not have AD write back the process is what you describe. Here is the support article with information https://support.microsoft.com/en-us/help/2710029/shared-mailboxes-are-unexpectedly-converted-to-user...

Highlighted

Ok Thanks

 

I had some hope ... 

 

Regards,

 

David

 

Highlighted
Highlighted

Hello None None, 

 

I have a couple of question regarding your post. Your method for shared mailboxes in Hybrid environment.

  1. Can I just create the mailbox as shared from the beginning in on-prem exchange server?
  2. How do I create bulk shared mailboxes in the on-prem server?
  3. Can you clarify this, I researched that you need to import the .csv file into EMS, if that is the case, do you know of a way to create a .csv file template to import into EMS?

Please, let me know at your earliest convenience.

Thanks,

EM

Highlighted

Thanks for these instructions.

Used them when I already had the shared mailbox created on the cloud and synced to on-premises AD.

Just ran the powershell command in the exchange console, changed the attributes and ran a delta sync cycle.

 

 

Highlighted

1. Yes, you can if you have a Exchange 2013 or Exchange 2016 server in your hybrid environment that can create mailboxes straight from the EAC GUI. When you choose new Mailbox, there is an option for Office 365 mailbox, and then choose mailbox type Shared.

 

You can also use the enable-remote mailbox cmdlet in EMS with the new updates to EX 2013 and 2016 so that it creates a remote shared mailbox right away in the cloud without changing Attributes in AD. refer to https://support.microsoft.com/en-us/help/4133605/cmdlets-to-create-modify-remote-shared-mailbox-in-o...

 

Exchange 2010 will require either performing the method i mentioned in my previous post or enabling a user remote mailbox from on-prem, changing to shared in EXO, then updating the attributes in AD so that it doesn't change back to a user mailbox. Refer to Draper's response above.

 

2. Your second question was answered by your third question. Any bulk creation of an Exchange object will require a CSV file fed into EMS or EXO powershell.

 

3, I don't have a CSV file on hand, but you can find one easily online. Performed a google search and found this. https://gallery.technet.microsoft.com/How-to-Bulk-create-6be6c82f

 

hope this helps.

 

Highlighted

Hey GUys,

 

One thing to add to this: can you just use this command:

 

New-Remotemailbox test@domain.com -Remoteroutingaddress test@.mail.onmicrosoft.com -Shared

 

I realize that would create a new user account and a new mailbox, is there a reason why the above command should be used? Or am I missing something with that command?

 

Thanks,

Robert

Highlighted

@Kyle Natoli 

 

I have CU21, In ECP i have option to create user, room and equipment mailbox but not shared mailbox

In Shell option is available.

How we can get shared mailbox option in ECP or GUI