0 votes

For Office 365 Mailboxes, I get the following error:

by (540 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 (270k 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
1 answer

Where are the result options located for Reports? I have several admins that do a All Users report search then click on the User Name, from the Menu on the left ... the user does not have the option to select these options. Standard Password Configuration:

asked Sep 2, 2020 by dknapp (100 points)
0 votes
1 answer

Can you point me to documentation to upgrade from Adaxes 2019.2 ver 3.1.2.174230 to the current version please?

asked Jun 16, 2020 by msylvester (60 points)
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 (550 points)
0 votes
1 answer

Hi, I'm trying to add a column to a report to retrieve the last login data from AAD/Graph using the script posted here but i'm running into the ... [0].signInActivity.lastSignInDateTime # Assign a column value to $Context.Value $Context.Value = $lastLogonDate

asked Feb 22, 2022 by richarddewis (260 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 (750 points)
3,326 questions
3,026 answers
7,727 comments
544,679 users