0 votes

Hello,

We are using adaxes with a M365 hybrid environment and right now we have to manually create a remote mailbox on prem after user creation.

We have the M365 Tenant setup so that a user is automatically added in M365 and licensed. They also already have their M365 mailbox created and the address user@mydomain.onmicrosoft.com

Is there a way to create a custome command to auto-create the on prem remote mailbox.

This is the current command we are using in exchange shell to accomplish this manually

Enable-MailUser -Identity "user@mydomain.com" –ExternalEmailAddress "user@mydomain.onmicrosoft.com"

Enable-RemoteMailbox "user"

by (70 points)

1 Answer

+1 vote
by (222k points)

Hello,

There is no need to use scripts or additional Custom Commands for this purpose. Adaxes can automatically enable remote mailboxes for users when a Microsoft 365 license with access to Exchange Online is assigned. For details, have a look at the following help article: https://www.adaxes.com/help/?HowDoI.PerformExchangeTasks.ConfigureEnablingDisablingOfRemoteMailboxes.html. It is recommended to specify a remote routing address template in Adaxes for each of your Microsoft 365 tenants registered in Adaxes. For details, see section Changing Remote Routing Address Template of the article.

Related questions

0 votes
1 answer

I need a Scheduled Task that send an email of a list of all users that have an on prem mailbox. I have found the script to check if the mailbox is on prem but have not found the way to build and email the list. It can be in CSV fomat.

asked Jul 5, 2019 by hgletifer (1.2k points)
0 votes
1 answer

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. How do I set it to the 365 address username@ourdomain.mail.onmicrosoft.com

asked Apr 13 by john.harding (70 points)
0 votes
0 answers

When attempting to assign licenses during the "after creating a user" rule we're reciving the following error. Failed to create a remote mailbox for the user. The address ' ... mail attribute to the proper format that isn't the onmicrosoft.com domain as well.

asked Sep 2, 2021 by zorps (20 points)
0 votes
1 answer

Hi Team! I'm currently looking for a solution to create an exchange mailbox on-premise, sync it to Office 365 and assign the license in one business rule. I didn't ... solution from our side? Please let me know how to configure this. Best Regards Marco Jandl

asked Apr 6 by marco_jandl (60 points)
0 votes
1 answer

I'm testing making changes to a mailbox that is synced between AD and Office365. During changes updates are not reflected back. I'm prompted that the replication with AD Connect has ... in the web interface. If I go to the console I can see the change.

asked Aug 6, 2020 by ComputerHabit (790 points)
2,756 questions
2,490 answers
6,522 comments
1,458,833 users