0 votes

Hi all,

we switched from an exchange hybrid model to online only. So we turned off our on-prem exchange server. After some tries we faced the following problem:

After assigning a Microsoft 365 license to a new created user Adaxes shows the following error:

"Failed to create a remote mailbox for the user. Connecting to remote server ###oldonpremserver### failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet."

But still the mailbox will be created and everything works fine. Is there still a problem we don´t think about? Or is it just visual? Will Adaxes recognize that there is no on-prem anymore?

Thank you for helping us!

by (160 points)

1 Answer

0 votes
by (294k points)

Hello Robin,

The error means that Adaxes is configured to enable remote mailboxes after a Microsoft 365 license with access to Exchange Online is assigned to a user. To remedy the issue, you need to disable the corresponding feature. For details, have a look at section Change when remote mailboxes are enabled and disabled of the following help article: https://www.adaxes.com/help/EnablingDisablingRemoteMailboxes/#change-when-remote-mailboxes-are-enabled-and-disabled. In your case, the corresponding variables should be set as follows:

$enableRemoteMailboxSetting = $False
$disableRemoteMailboxSetting = $False
0

Thank you very much. Helped to fix this "issue".

0

We have made the exact change in our hybrid environment and turned off our on-prem exchange server.

We have a different scenario; we stumbled across a user that shows an error when we look at its exchange properties in the Adaxes Admin web and the Adaxes Console. Screenshots below.

  1. If we apply the same $false values from the ‘Change when remote mailboxes are enabled and disabled’ article, will that resolve our situation?
  2. Is there a script that we can run to see if there are more user exchange properties with this same error?

ADAXES ADMIN WEB ERROR:

Adaxes.Admin.Web.Error.jpg

ADAXES CONSOLE:

Adaxes.Admin.Console.Error.jpg

0

Hello,

The issue you are facing cannot be resolved by disabling the feature. It is just not related to it. For troubleshooting purposes, please, enable tracing of requests sent to Exchange servers, reproduce the issue and send us (support@adaxes.com) the log file. For information on how to enable the tracing, have a look at the following help article: https://www.adaxes.com/help/EnableExchangeRequestLogging.

Related questions

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 how can we pull reports on users and there Microsoft 365 license.

asked Nov 13, 2023 by johanpr (120 points)
0 votes
1 answer

Hi I'm trying to product a report to show the users with either E3, F3 or F5 licenses. If I add the Adaxes "Microsoft 365 Licenses" attribute directly to the report then ... from the user and show a nice "Microsoft E3" etc value. Is this possible? Thanks

asked Sep 27, 2021 by chappers77 (2.0k points)
0 votes
1 answer

I'm trying to retrive the Microsoft 365 License product name in a report as the 'Office 365 License' attribute in Adaxes shows each individual licensed product e.g. ... 365 F3"} } $productnames = $productnames -join ", " $Context.Value = $productnames

asked Jul 27, 2020 by richarddewis (260 points)
0 votes
1 answer

I'm trying to use "Before Modify Office 365" event to request approval for changes. It seems to be kicking off for the "After Create User" event. How do I request ... for default settings but if admins want to make a change then it goes out for approval.

asked Jul 20, 2020 by ComputerHabit (790 points)
3,589 questions
3,278 answers
8,303 comments
548,134 users