0 votes

For Office 365 Mailboxes, I get the following error:

by (2.3k points)
0

Hello,

Do we understand correctly that the error appears when you click Mobile Device details on the Mailbox Features tab of a user mailbox Exchange properties in Adaxes Administration Console?

Could you, please, specify what version of Adaxes you are currently using? To check that:

  1. Launch Adaxes Administration Console.
  2. In the Console Tree, right-click your service.
  3. In the context menu, click Properties.
  4. Adaxes version will be displayed on the General tab.

Also, for troubleshooting purposes, please, enable tracing of requests sent to Exchange servers, reproduce the issue and send us (support[at]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/?HowDoI.Per ... uests.html.

0

Yes, this is on the mailbox features tab as you suggest. The Adaxes version is 3.11.16825.0. I enabled tracing and there are no error messages in the trace, the only thing I see is the following. Before I turned on tracing, I was able to get it to work one time with a particular user, but I can't get it to work at all now after trying with a dozen or so users.

[09/11/2019 10:07:53] Get-Mailbox -Identity "Redacted"
[09/11/2019 10:07:54] Succeed
[09/11/2019 10:07:54] Get-UMMailbox -Identity "Redacted"
[09/11/2019 10:07:54] Succeed
[09/11/2019 10:07:54] Get-UMMailboxPIN -Identity "Redacted"
[09/11/2019 10:07:55] Succeed
[09/11/2019 10:07:55] Get-CASMailbox -Identity "Redacted"
[09/11/2019 10:07:55] Succeed
[09/11/2019 10:07:57] Get-MobileDeviceStatistics -Mailbox "Redacted"
[09/11/2019 10:07:58] Succeed
[09/11/2019 10:09:13] Get-Mailbox -Identity "Redacted"
[09/11/2019 10:09:13] Succeed
[09/11/2019 10:09:13] Get-UMMailbox -Identity "Redacted"
[09/11/2019 10:09:13] Succeed
[09/11/2019 10:09:13] Get-UMMailboxPIN -Identity "Redacted"
[09/11/2019 10:09:15] Succeed
[09/11/2019 10:09:15] Get-CASMailbox -Identity "Redacted"
[09/11/2019 10:09:15] Succeed
[09/11/2019 10:09:24] Get-MobileDeviceStatistics -Mailbox "Redacted"
[09/11/2019 10:09:25] Succeed
0

Hello,

Thank you for the provided details. For troubleshooting purposes, please, do the following:

  1. Save the below script with the PS1 extension, e.g. MyScript.PS1.

     param(
         [Parameter(Mandatory=$true,Position=1)]
         [String]$userIdentity,
         [Parameter(Mandatory=$true,Position=2)]
         [String]$filePath
     )
    
     try
     {
         $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential (Get-Credential) -Authentication Basic -AllowRedirection
         Import-PSSession $session -AllowClobber -DisableNameChecking -CommandName "Get-MobileDeviceStatistics"
    
         $devices = Get-MobileDeviceStatistics -Mailbox $userIdentity
         foreach ($device in $devices)
         {
             $device | select -Property * | Out-File $filePath -Append
         }
     }
     finally
     {
         if ($session) { Remove-PSSession $session }
     }
    
  2. Copy the script to the server where Adaxes is installed.

  3. Launch WIndows PowerShell.

  4. Navigate to the folder where you saved the script. For example, if you saved it to C:\Downloads, type
    cd C:\Downloads

  5. Run the script by executing the following command. When prompted, specify the credentials that were used to register your Office 365 tenant in Adaxes.

     .\MyScript.ps1 "<Email address>" "<file path>"

    where

    • <Email address> - Specifies the Primary SMTP address of the user.
    • <file path> - Specifies the path to the output file that will be created (e.g. C:\logs\output.txt)
  6. Send us (support[at]adaxes.com) the output file.

Also, please, send us (support[at]adaxes.com) a copy of Adaxes Event Log. For information on how to view the log, have a look at the following help article: http://www.adaxes.com/help/?ServiceAdmi ... ntLog.html.

0

Thank you, I will send the requested output. Looking at the event logs, it appears this is the error:

Softerra.Adaxes.BackgroundThreadException: Exchange Online API: Failed to execute the following operation: Get mobile devices associated with 'First Last (domain\OU\OU\OU)' ---> System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at Softerra.Adaxes.Adsi.AdmObjectReference.set_UnknownObjectId(String value)
   at #rC.#3Q.ExecuteOperation(#z9e #Wp, #bQ #Vb)
   at #rC.#3Q.#Xt(#z9e #Wp)
   at #CA.#ec.Execute()
   --- End of inner exception stack trace ---

1 Answer

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

Hello,

Thank you for the provided logs. We confirm this is an issue in Adaxes. It occurs if there is a device that has no policy applied. We will fix it in the next release.

If the fix is critical, we can provide you with a custom build of Adaxes that will include a fix for the issue.

Related questions

0 votes
0 answers

Adaxes 2019.1 has arrived and is available for download! Support for SAML-based single sign-on. New features for Exchange. Web Interface usability enhancements. What’s New | Upgrade Instructions

asked Jun 10, 2019 by Adaxes (650 points)
0 votes
1 answer

Hello, I think I might have found a regression. Starting 2014.1 it is impossible to change the reply address for a user having an Exchange 2003 mailbox. The button "Set ... related to my authorizations; I did test various configuration (admin, ...). Regards,

asked May 2, 2014 by Pierre (4.4k points)
0 votes
1 answer

I am trying to create a custom command that will wipe the users phones. The it seems the power shell is not taking the Variable %username%. Please see below Import-Module Adaxes Add ... } IS there and way to get it to take "$Target" in ther Get command?

asked Jul 10, 2014 by admin_ntst (450 points)
0 votes
1 answer

Is there a way to change the attribute for mobile number on the self service enrollment screen? For example, we don't want our users mobile numbers entered into the mobile ... to change that to be a different attribute, maybe a custom Adaxes field? Thanks Ryan

asked Mar 18, 2014 by ryan_breneman (4.9k points)
0 votes
1 answer

Hello, I think I am not the only one disliking the new design, even though functionality is superior to the older one, but this is only due to practical reasons - I do ... , that is how frustrated I am with current design. Are there any options to get that?

asked Jun 14, 2019 by DLe (3.9k points)
2,102 questions
1,871 answers
5,234 comments
2,133 users