0 votes

After creating a user, I want to create a mailbox that is visible both on-premises and in Exchange Online (remote mailbox). The presence in on-premises Exchange is required for a specific application being developed. I read that Adaxes handles this automatically. However, after the user is created, the mailbox appears in Exchange on-premises but cannot be found in Exchange Online. When I check the user properties in Office 365, under the mail section, I see the message: ‘This user’s on-premises mailbox hasn’t been migrated to Exchange Online. The Exchange Online mailbox will be available after migration is completed.

The groups the user is being added to are license groups.

image.png

by (200 points)

1 Answer

0 votes
by (294k points)
selected by
Best answer

Hello,

The behavior you are facing is expected as the Create Exchange mailbox action is not the one to be used. With your current workflow, you will end up with users having two separate mailboxes – one in Exchange Online and the other in Exchange on-premises. To achieve the desired, you need to enable a remote mailbox in the business rule and then wait for the synchronization to complete (this will create a mailbox in Exchange Online based on group membership). To enable a remote mailbox, replace the Create Exchange mailbox action in your business rule with the Regular remote mailbox script from the following article: https://www.adaxes.com/script-repository/create-remote-mailbox-s256.htm.

0

Hi,

Thanks for your reply!

I added a business rule but I am now getting the following error when creating a user: Unable to connect to Exchange server ***. The WS-Management service cannot process the request because the XML is invalid. I checked and the WS-Management service is running fine. I can ping the Exchange machine and I am able to establish a remote PowerShell session from the Adaxes machine to the Exchange machine.

0

Hello,

Unfortunately, we cannot be helpful about the error you are facing as it is just returned by your Exchange server. It is not related to Adaxes itself. However, the approach from the following Q&A post might be helpful: https://www.adaxes.com/questions/1778/ws-management-service-error-connecting-to-exchange. Pay attention, that if you are using the script we referenced from our repository, the connection is established with the credentials of the domain service account which can be different from the Adaxes service account. For details on how to check the service account for a managed domain, see https://www.adaxes.com/help/ChangeManagedDomainServiceAccount.

0

Thanks for your reply,

Windows Authentication was disabled in the Powershell web application on the Exchange server. It works now!

Related questions

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

Howdy - Has anyone run into this message before? The changes never make their way through, I just have to manually do them. WIll I just need to create custom powershell scripts to achieve these items?

asked Feb 27 by ajblevins (20 points)
0 votes
1 answer

Hi All, I'm trying to use the powershell script provided here: https://www.adaxes.com/script-repository/move-mailbox-tofrom-microsoft-365-s579.htm Unfortuntately when executing ... credentials but I do not know why this error is happening. Thanks in advance

asked Aug 1, 2023 by curtisa (290 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)
0 votes
1 answer

Hi, is it possible to export automatically the exchange online mailbox of a user to a .PST file on our archive server before the user is deleted? Kind regards, Fabian

asked Oct 26, 2023 by fabian.p (380 points)
3,588 questions
3,277 answers
8,303 comments
548,088 users