enable-remotemailbox examples. Run Exchange Management Shell as administrator. enable-remotemailbox examples

 
 Run Exchange Management Shell as administratorenable-remotemailbox examples maxwell@abcd

com 3. Enable-RemoteMailbox "user1. However I do not want to maintain my hybrid exchange server. Share. If it doesn't, then troubleshoot for a synchronisation failure somewhere between on-prem and EXO. mail. mail. onmicrosoft. From Exchange Management Shell (On Premise): Enable-RemoteMailbox username –RemoteRoutingAddress alias@domain. com -RemoteRoutingAddress [email protected] Export Specific OU for example to Enable Remote mailboxes. Connect and share knowledge within a single location that is structured and easy to search. Teams. onmicrosoft. For example, an admin may create the user in AD Users and Computers rather than the EAC. The CSV is in format as below: Identity. Recently Microsoft added the ‘-Shared’ option to the New-RemoteMailbox cmdlet for Exchange 2013 CU21 and Exchange 2016 CU10. If I login to the same workstation with my admin credentials, everything works 100%. The script works well, but every time it finishes the 'Enable-Mailbox' command, it outputs the mailbox properties as if 'Get-Mailbox | FL' is being called. m a il. mail. Which will read users from a csv. Mail users (also known as mail-enabled users) have email addresses and accounts in the Exchange organization, but they don't have. maxwell" -RemoteRoutingAddress "glenn. No command work on it (as show with the Set-RemoteMailbox), AD Attributes are exactly the same as other meeting rooms, recipient types are correct on Get-Mailbox (cloud) or Get-Remotemailbox: get-remotemailbox HoChiMinhViettelTower_MeetingRoom01 | fl *type* RemoteRecipientType : Migrated, RoomMailbox RecipientType : MailUser Enable-remotemailbox on the AD User (see below) Validate synchronization to Azure; Here are a few notes regarding the usage of enable. Please feel free to let me kown if you have any further concerns, I will glad and continue to help you. Enable-Mailbox -identity userprincipalname@mydomain. Enable-RemoteMailbox user -RemoteRoutingAddress user@domain. mail. Hello, This script should only be used when automatic enabling remote mailboxes cannot be used (e. # to specify the primary SMTP and disable policy-based application Enable-RemoteMailbox identity -PrimarySMTPAddress pri. CustomAttribute15 -like "O365*")} | Enable-RemoteMailbox -Archive # Exit Exchange Powershell Module Remove. In addition, the second command can change the alias for the remote mailbox, if you want to add email. Failed to create a remote mailbox for the user. If I login to the same workstation with my admin credentials, everything works 100%. com”On Mailbox servers only, you can use the Get-MailboxStatistics cmdlet without parameters. Use the Enable-RemoteMailbox cmdlet to enable a remote mailbox. 5. Go to a new user in AD, go to the account tab, and check what UPN the user is set to use. The examples at the top of the document are correct and not Example 2. Sharing best practices for building any app with . If we go with the example of an object that has the correct mail and proxyAddress attributes, then the core remediation steps should be as follows: Use the Enable-RemoteMailbox cmdlet, with the existing-PrimarySMTPAddress value and -RemoteRoutingAddress parameter to update the user so that they have the Exchange attributes required stamped onto. Enable-RemoteMailbox user -RemoteRoutingAddress [email protected]” -RemoteRoutingAddress “example. text/html 10/29/2013 8:46:59 PM Holden_Caulfield_1951 0. For example. Couple of environmental things: 1) Powershell session is being established with an on-prem Hybrid server without issue. Thanks in advance. But unfortunately I assigned license first and Enable-RemoteMailbox is not working and when I try to Get-Remotemailbox i cant get the users mailbox. Run Exchange Management Shell as administrator. onmicrosoft. The following tables list the required properties, optional properties, filters, and published data. com" -AccessRights "Editor". The credentials are used to access the on-premises Active Directory domain controllers. test1" -RemoteRoutingAddress "user1. onmicrosoft. Hi Experts . This example assumes that you've already removed the Exchange Online license for the mailbox, and that directory synchronization has been configured. This seems to work. If you wish to do this via the management console, you should be able to find the shared mailbox if you go to the Recipients on the left side and then select Shared on the top center. Hi, I have PowerShell scripts I use to add people to shared mailboxes on O365. com. Enable-Mailbox -Identity ayla@contoso. onmicrosoft. Q&A for work. Get-Mailbox -Identity <mailbox identity>. com> After the remote mailbox is provisioned, modify any custom mailbox attributes (for example, the legacyExchangeDN attribute) that you want and that weren't assigned by an email address policy to the user account. Run Exchange Management Shell as administrator. If you use the Enable-RemoteMailbox cmdlet in on. The Enable-RemoteMailbox cmdlet shouldn't be affected as it's from our local Exchange environment. Example 2 Disable-RemoteMailbox "David Strome" -Archive. Get-RemoteMailbox not working. Q&A for work. com and then run the remote-mailbox command. Open the Exchange Management Shell, and then run the following cmdlet: Enable-RemoteMailbox -Archive. I just created over 200+ resources in our environment. In the Console Tree, expand the Adaxes service node (the icon represents service nodes). com"}. To enable authentication, you need to add the remote computer to the list of trusted hosts for the local computer in WinRM (see here ). 2. onmicrosoft. Enable-RemoteMailbox "Kim Akers" -RemoteRoutingAddress "[email protected] documentation, see Example2, seems to suggest the following command should workEnable-RemoteMailbox -Identity fake@fake. For more info about how to do this, see Synchronize your directories. com -Archive If you want to create the archive only in the cloud then. Enable-RemoteMailbox "[email protected] -RemoteRoutingAddress jsmith@contoso. mail. incorrectly creating the user account such as having a period at the end of their name (firstnamelastname. ; The user is able to access the mailbox. Database. After the user is mail-enabled, directory synchronization synchronizes the mail-enabled user to the service and the associated mailbox is created. When creating a hybrid user mailbox with a Business Rule, after user creation, the remote routing address of the mailbox is set to the users email alias. Click the tab Attribute Editor. The next thing I want the script to do is open a powershell session on the on-prem Exchange server and enable the remote mailbox, pointing to Office 365. Let’s say you run this command: Enable-RemoteMailbox [email protected]” -Archive. com or additional email address in cloud as glenn. maxwell" -RemoteRoutingAddress "glenn. onmicrosoft. Then, if I run a DirSync, wait for the O365 mailbox to display a "DeprovisionArchive" status, and then Disable-RemoteMailbox again on the same user where I remove the archive, the O365 mailbox appears to be disassociated with the on-premises user as evident by the new RemoteRecipientType set to None, but the. 4. L’utilisateur à extension messagerie contient un attribut spécifique qui indique qu’une boîte aux lettres associée dans le service doit être créée lorsque l’utilisateur est synchronisé avec le service par le biais de la synchronisation d’annuaire. For 2010, we use remote powershell as recommended by Microsoft. Learn more about Teams The Enable-Mailbox cmdlet mailbox-enables existing users, public folders, or InetOrgPerson objects by adding the mailbox attributes that are required by Exchange. We would like to show you a description here but the site won’t allow us. Enable-RemoteMailbox “example. For example, if we had already created Wilfred in Active Directory Users and Computers we can enable him for an Office 365 mailbox using the following command. I have located a script to copy back the. This will help others to find the correct. Right click Active Directory Domains and Trusts and Select “Properties”. Summary. onmicrosoft. Thank you. com -Alias exchalias -RemoteRoutingAddress exchalias@tenantname. The remote mailbox commands run on-prem, provisions the mailbox in Office 365 when the AADConnect sync happens automatically. For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. Mailboxes migrated using a hybrid migration are replaced by Remote User Mailboxes in Exchange on-premises. The original user has been Enable. Enable-RemoteMailbox Script . onmicrosoft. It’s not possible. After running the command, the output gives us the following. Powershell. The domain name can't contain spaces and it has to have a prefix and a suffix, such as example. Or do we need to enable it at on premise Exchange only? Enable-RemoteMailbox -identity xxxxx -Archive at on premise. If User is created as Mail-Enabled through Exchange PowerShell or Admin Center, then only it shows as Mail User in on-prem Exchange. [deleted] • 5 yr. com -Alias johnny. When Exchange gets a message from an SMTP relay device (like an MFP doing scan to email), it looks at the targetAddress field of the AD account to figure out where to forward the message. The Enable-RemoteMailbox cmdlet mail-enables an existing on-premises user. If you run Disable-RemoteMailbox, you can run Enable-RemoteMailbox against the user at any time. Exchange: Failed to disable the mailbox <GUID> due to a conflict in directory settings. Or the Enable-RemoteMailbox cmdlet to mail-enable an existing on-premises user (with msExchRemoteRecipientType of 1 “Transitioned”) and create an associated mailbox in Office 365. On step 3, add the Activate or modify Office 365 account action and select Activate. com”The Enable-MailUser cmdlet mail-enables existing users by adding the email attributes that are required by Exchange. Here’s how you fix that: Open a remote PowerShell connection to Office 365 and run the following cmdlet: Copy the displayed GUID of the Exchange Online mailbox. (Normally it would be something like: Next, under Recipients -> Mailboxes you should see the “+” symbol with a drop down for Office 365 Mailbox. Powershell. Wait till thats done since I don't think you can do both Enable-RemoteMailbox and Set-RemoteMailbox at the same time. ). 2) Creds I am running the script with can successfully perform a "regular" Enable-RemoteMailbox on an on-prem user object Create Exchange Online mailbox for existing users in local AD. Here is the correct command - this worked for me: Enable-RemoteMailbox -identity userid -RemoteRoutingAddress . For example, one of the more common methods in the past was to disconnect the Exchange Online mailbox by removing the license, migrate the on-premises mailbox, then perform a restore (New-MailboxRestoreRequest) of the previous Exchange Online mailbox into the newly migrated mailbox. Enable-RemoteMailbox “test123” -RemoteRoutingAddress [email protected] released Exchange Server 2019 Cumulative Update 12, which allows you to remove your last Exchange Server so that you can run Active Directory with Azure AD Connect and manage Exchange-related attributes in a supported way. I thought it might be coming from a sample accepted domain that was labeled. Let’s run the above example with the. Database. Q&A for work. com. onmicrosoft. I run this command ( Enable-RemoteMailbox "John Smith" -Archive ) and the command runs with no errors, but when I check Exchange Online after giving time for the changes to sync, the mail archive is still showing as disabled. ago. onmicrosoft. After you onboard an on-premises mailbox to Exchange Online, and you enable Litigation Hold, you notice that the LitigationHoldEnabled value for a mailbox does not match between the cloud and on-premises locations. I just used New-Mailbox -Name "name" -Primarysmtpaddress "Smtp" -Room. TheyImport the CSV into a variable, then do a foreach. onmicrosoft. onmicrosoft. mail. com. com. Example 2 Disable-RemoteMailbox "David Strome" -Archive. For staff mailboxes, the staff logon to the domain using the SamAccountName, however their O365 login and email address are based on the userPrincipalName. Running the New-RemoteMailbox CmdLet looks similar to this:Launch Adaxes Administration console. Display Name: Test ABCSolution for ExchangeGuid is mandatory on UserMailbox. D) Enable-RemoteMailbox “example. This example uses alternate credentials to retrieve a list of one or more mail-enabled users with mailboxes in the service. Which will read users from a csv. This example removes the cloud-based archive mailbox but keeps the cloud-based mailbox that's associated with the on-premises mail user. I tried to create a Mail Contact for him, but it won't let me select an existing user. onmicrosoft. This now allows PowerShell to create a new remove mailbox in the cloud that is not a room equipment or user mailbox. Or force directory synchronization. Upon a successful sync to M365, M365 will create a mailbox for Ted Williams. I'm in an hybrid environement with Exchange 2016 and Office 365. com” -RemoteRoutingAddress “example. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Our on-prem ECP shows the mailbox under 'Mailboxes' (as opposed to under 'Shared'), which makes sense seeing. Enable-RemoteMailbox username -RemoteRoutingAddress [email protected]@exoip. The AcceptMessagesOnlyFrom parameter specifies who is allowed to send messages to this recipient. For example, the attributes "homeMDB" you mentioned, represents the proper noun of the. (look at Subscriber-UserAdd for an example to build upon) > Before I start re-inventing the wheel I. You can use this cmdlet for one mailbox at a time. onmicrosoft. Accessing archive mailbox settings in the Exchange admin center. Domain estnew4. For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax . in my environments, i have created two script to enable the mailboxes on both exchange on-prem servers and off365 mailboxes (Remote Mailboxes) . The New-RemoteMailbox cmdlet creates an on-premises mail user. The CSV is in format as below: Identity. Replied on January 14, 2016. · Hi, Yes, to create an Office 365. I am trying to create a script that will find user accounts that are missing a proxy address for user@domain. resource. The following table lists the Exchange cmdlets and the input and output type for each cmdlet. Provision an Exchange Online mailbox for the user by running Enable-RemoteMailbox "UserName" -RemoteRoutingAddress "[email protected]" -Room. Most of the mail-related attributes of the on-premises mail user and the associated cloud-based mailbox should be the same. The Enable-RemoteMailbox cmdlet is excellent when you already have an AD object in Active Directory. onmicrosoft. Once that is completed a license will need to be assigned for the mailbox to be available. 3. onmicrosoft. This example uses alternate credentials to retrieve a list of one or more mail-enabled users with mailboxes in the service. Enable-RemoteMailbox jtaye -alias jtaye -RemoteRoutingAddress jtaye@domain. com For more details,. After the user is mail-enabled, directory synchronization synchronizes the mail-enabled user to the service and the. The mail user contains a specific attribute, which indicates that an associated mailbox in the service should be created when the user is synchronized to the service using directory synchronization. It doesn't retrieve the attributes of the associated cloud-based mailbox. Note: The proxy address will always be @tenant. From Steve’s Blog: When enabling the remote mailbox, use the –RemoteRoutingAddress parameter, specifying your alias and service domain/Office 365 tenant, for example: Enable-RemoteMailbox <username> -RemoteRoutingAddress <alias>@<tenantName>. 2. [PS] C:>Add-MailboxFolderPermission -Identity "boris. Thus, I couldn't use the remotemailbox cmdlet anymore. User's post on January 14, 2016. In the example below we are using the Exchange 2010 MMC to create a new user object and remote mailbox enable the account. cayenne. ;Active Roles 7. Marked as answer by Holden_Caulfield_1951 Tuesday, October 29, 2013 8:46 PM; Tuesday, October 29, 2013 4:39 PM. 1 person found this reply helpful. write-back, where you specify the enable-remotemailbox cmdlet via PSExecute. If I login to the same workstation with my admin credentials, everything works 100%. First I need to Enable-Remotemailbox for the user then I need to assign him with License . In ADSI Edit the on-premises mailboxes are found at. To delete a mailbox from Exchange Server, go through. mail. Set-RemoteMailbox "shared1"-PrimarySmtpAddress shared2 @contoso. AD attributes of AD synced user. Arbitration mailboxes are used for managing approval workflow. I need to change the setting locally as it is a one way sync, but since he was created after the migration started he has never had a mailbox locally. Martina Miskovic. You then need to get the Mailbox GUID of the. You can use the following PowerShell script to hide the mailboxes specified in a CSV file:. Login to your On-Premise exchange server with the proper credentials. Bing AI wrote the script without comments, making the code look shorter, and Bing AI uses the pipeline to perform the moving action. When you use the Enable-RemoteMailbox cmdlet, it also automatically adds that remote routing address as an email address for the account. com. When I try and enable the mailbox, it is listing my laptop as the server and then can't find the Exchange database as a result. For example, if a user is assigned permissions to access a shared mailbox in a different Geography location, mailbox actions performed by that user aren't logged in the mailbox audit log of the shared mailbox. mail. PS C:> Enable-RemoteMailbox -Identity "Johnny Depp" -PrimarySmtpAddress johnny. There are 3 methods that I know of: A) Enable remote mailbox with PS for existing AD account like you already posted. com -Alias johnny. In this example, it’s exoip365. Group. Martina Miskovic. 1 comment Show comments for this answer Report a concern. First create a on premise user and take its Guid and create a O365 user with its Immutable id set to that guid and assign a exchange online license. Enable-RemoteMailbox [email protected]. Use the Enable-RemoteMailbox cmdlet to enable a remote mailbox. > wanted to see if anyone has done this before. onmicrosoft. An information window will appear where you can select the one-click button that reads ‘Enable remote mailbox. In this article. 2) Creds I am running the script with can successfully perform a "regular" Enable-RemoteMailbox on an on-prem. This sounds like exactly what I want, my first script already creates a user account in on-premise AD correctly, the only issue is the Exchange mailbox is not being configured properly. onmicrosoft. Then disable-mailbox the on-prem mbx, and enable a remote mailbox (enable-remotemailbox <user> ) for the user, setting the remote routing address to the standard you already have place (User@<tenant. com. com. The ‎Exchange Online‎ mailbox will be available after migration is completed ". OP Mike Nichols. Display Name: Test ABCThis example removes the cloud-based mailbox that's associated with the on-premises mail user named Kim Akers. We make use of Enable-Mailbox, Set-Mailbox, Disable-Mailbox cmdlets. ; Custom filters using the ContentFilter parameter. Jones -AccessRights FullAccess. This separation of work helps to maintain standards and workflows, and helps to control change in the organization. Running this on an Exchange 2016 CU2 system. Syntax Description Examples Parameters Inputs Outputs Syntax PowerShell Disable-RemoteMailbox [-Identity] <RemoteMailboxIdParameter> [-Archive] [-Confirm] [. The output shows the mailbox creation. In my case, this custom attribute is mapped to enable licenses dynamically. The examples at the top of the document are correct and not Example [email protected] -RemoteRoutingAddress fake@fake. Enable-RemoteMailbox “example. ($_. mail. If you get down the path of managing these scripts in a hybrid Exchange environment, consider using the. com' is invalid: "@DOMAIN. Make sure user attributes (mail, mailnickname , target address, displayname, proxy address, msExchRecipientDisplayType, msExchRecipientTypeDetails, msExchRemoteRecipientType) values are stamped. mail. Hi I just want to ask if there's a way to combine script for enable-remotemailbox and change primarySMTP. Just wanted to pass along I was able to figure this out. The domain name can't contain spaces and it has to have a prefix and a suffix, such as example. onmicrosoft. I have a few users in particular that problematic. Note This property is available only in an on-premises. In this case, when ncalling cmdlet in the remote session, you. mail. onmicrosoft. Starting in Cumulative Update 21 for Exchange Server 2013 and Cumulative Update 10 for Exchange Server 2016 in an on-premises Exchange Server environment, you can directly create or modify a remote shared mailbox by using the new parameter -shared with the following cmdlets: This example assumes that you've already removed the Exchange Online license for the mailbox, and that directory synchronization has been configured. mail. That's all it does. com" isn't a valid SMTP address. DC. This is the command I would normally use if a user was not created correctly with a remote mailbox: Enable-RemoteMailbox "display name" -alias "username" -RemoteRoutingAddress "firstname. i have created account in Active Directory. onmicrosoft. That's all it does. 2021-09-22T05:31:05Z. The Get-RemoteMailbox cmdlet retrieves the mail-related attributes of a mail user in the on-premises Active Directory. Should be able to do it immediately, since it's an AD attribute. Couple of environmental things: 1) Powershell session is being established with an on-prem Hybrid server without issue. Then run Enable-RemoteMailbox cmdlet for the AD User. Enable-RemoteMailbox <Room> -RemoteRoutingAddress "Room@contoso. When you check the on-premises Exchange admin center, the mailbox doesn’t show up. Arbitration mailboxes are used for managing approval workflow. mail. The domain name can't contain spaces and it has to have a prefix and a suffix, such as example. com. The mail-enabled user contains a specific attribute that indicates that an associated mailbox in the service should be created when the user is synchronized to the service using directory synchronization. When mailbox-enabling an existing user, beware of non-supported. com (where, again, JohnS is referencing the UPN. In the second method you mentioned, can i interchange "Force Dirsync" and "Enable-RemoteMailbox" steps. onmicrosoft. The trick in Exchange 2010 is to set the focus on the correct node, and then the New Remote mailbox options are. If you have existing user accounts in your hybrid environment, and want create a mailbox in Office 365 for those users, you can use the Enable-RemoteMailbox cmdlet. Note: “store soft-deleted” is a special type of disconnected mailbox in Exchange (the result of a mailbox move) and should not be. Help With Enable-RemoteMailbox. Open the Exchange management shell on-premises and enter: ##used on local exchange server via Powershell. lastname@domain), for example, or some other improper method. EXAMPLE Enable an office 365 mailbox for an existing Active Directory User Enable-365Mailbox -Identity DomainUsername -PrimarySmtpAddress email@company. After some further testing I thought maybe there was an issue running an Exchange server cmdlet followed by an AD cmdlet, so I ran the following just to test the output:The sticking point I find is that I cannot see how I would do the equivalent to the Powershell cmdlet 'Enable-RemoteMailbox' and indeed 'Set-RemoteMailbox' in either the Microsoft Graph API or Exchange Web Service SOAP API. EXO Powershell is a very different thing, and connect you to your "Office 365 / Cloud" Exchange environment. Set-RemoteMailbox -EmailAddresses @{Add="[email protected]. Run Exchange Management Shell as administrator. However, the cloud-based mailbox has additional attributes that you can't view. company. This process could definitely be improved by MS, but nonetheless it still hasnt. 1. How do I set it to the 365 address [email protected], if you have already created a user account, for example, via AD Users & Computers, and then the account was subsequently licensed in the cloud, and given a mailbox (but without the on-premises EAC being aware of it). You can't use this switch. Wait for two cycles of directory synchronization to run (about six hours). . lets say I create user account in AD and i use the below syntax for remote mailbox creation. com as abcd. $username = Read-Host -Prompt "`n Please provide AD-USERNAME to Migrate"; Enable-RemoteMailbox -Identity $username . Find input and output types for Exchange cmdlets. Enable-RemoteMailbox ExchangeGuid is mandatory on UserMailbox. If I run the Enable-RemoteMailbox without the Archive parameter the RemoteMailbox is created successfully. mail. This example configures the mailbox in the service that's associated with the specified mail user as a room resource mailbox. onmicrosoft. NET. com" isn't a valid SMTP address. Enable-RemoteMailbox spicerex -RemoteRoutingAddress spicerex@spicecorp. If you “remove” the mailbox, then the AD user account is also deleted! The correct EMS cmdlet is disable-mailbox, and not remove. At line:1 char:1 [PS] C:Windowssystem32> [PS] C:Windowssystem32>Enable-RemoteMailbox Enable-RemoteMailbox : The term 'Enable-RemoteMailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. For us, that always matches the left part of the email address, and the UPN will also match that email address when this is all done. i have created account in Active Directory. I've seen several examples using piped commands, but I prefer a script because I find it easier to follow the logic. 517+00:00. com. onmicrosoft. Neither of those commands writes anything to Office 365 or Exchange Online. If you know the email address or name of the mailbox that you need, then the identity parameter is the most common way to select the mailbox: # Find the mailbox on name or alias Get-Mailbox -Identity adelev # Using the email address to find the mailbox Get-Mailbox -Identity [email protected] other approach is to use a script to enable a remote mailbox of the required type in Exchange on-premises and then wait for the synchronization to be completed. onmicrosoft. In Exchange Online, create a new shared mailbox. i have created Account in AD, if i run the below syntax from onprem will the mailbox gets created on cloud. For more info about how to do this, see Synchronize your directories. mail. A common example of this is an administrative assistant who needs to manage an executive's mailbox and calendar. While Shared mailboxes are not usually a significant number when considering all. Please. Glenn Maxwell 8,736 Reputation points. Jan 18th, 2017 at 7:48 AM check Best Answer. For example, an arbitration mailbox is used for handling moderated recipients and distribution group membership approval. Scenario was, if I set my Primary SMTP as [email protected]. The first to make the remote mailbox and the second to add an archive to that remote mailbox: Enable-RemoteMailbox -Identity [email protected] the on-premises Exchange, MRSProxy converts the mailbox to a mail-enabled user of type ‘remote mailbox’ (Enable-RemoteMailbox), and the source (on-premises) mailbox is store [email protected]. Use the Enable-RemoteMailbox cmdlet to enable a remote mailbox. Create a new Business Rule. . [PS] C:\>Enable-RemoteMailbox -Identity "Ali Tajran" -RemoteRoutingAddress "Ali. Referring to this article for detailed information about creating users in Exchange hybrid. 0. com" On cloud how can he use glenn. Hi, Yes, to create an Office 365 mailbox for an existing user, we can use the first command you provided above, Enable-RemoteMailbox. Exchange hybrid - remote routing address is not set to Exchange online mailbox. onmicrosoft. Open the Exchange Management Shell on-prem and run the following cmdlets: Enable-RemoteMailbox user -RemoteRoutingAddress user@domain. User. Create the list in a file called file. mail. Finally,. In the pane that opens, select the Others tab and click Manage mailbox archive ( Fig. Also, new-remotemailbox allows the user 30 days of acccess to mail (Outlook or OWA) until the account is licensed. And also, when we run the scripts they are interactively run, where the user running the script needs to put in credentials to connect to MSOnline and our local Exchange. onmicrosoft.