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 (289k 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

Hello, I have a sheduled task running. This task checks if a user is a member of a Licensed Office 365 Group with exchange online. If the user does not have an ... the on prem exchange mailbox and the exchange online mailbox? Thanks if you have an idea!

asked Feb 24, 2023 by fabian.p (380 points)
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.3k points)
0 votes
1 answer

Hi, we are running Adaxes in hybrid setup and on-prem as O365 is connected. My business rules looks like this Based on articles I have read here, the local mailbox should ... with a mailbox size of 2GB. Onprem: Online: Anything I am missing or misunderstood?

asked Jul 17, 2023 by wintec01 (1.5k 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, 2022 by john.harding (70 points)
0 votes
1 answer

Hi team, we see sometimes the following behavior: Changing a user mailbox to shared, is just moving on-prem mailbox of this user to shared. Online mailbox seems not to ... . What will happen with online mailbox? Will Adaxes generate a remote mailbox at all?

asked Oct 13, 2023 by wintec01 (1.5k points)
3,547 questions
3,238 answers
8,232 comments
547,809 users