Log på med Microsoft
Log på, eller opret en konto.
Hej
Markér en anden konto.
Du har flere konti
Vælg den konto, du vil logge på med.
Engelsk
Vi beklager. Denne artikel er ikke tilgængelig på dit sprog.

Symptoms

Assume that you run the New-MailboxRestoreRequest and New-MailboxExportRequest cmdlets in Microsoft Exchange Server 2016 PowerShell. When the TargetMailbox parameter includes a white-space, you may receive a "NullReferenceException" error message. For example:

[PS] C:\Windows\system32>New-MailboxRestoreRequest -SourceDatabase " <DatabaseIdParameter>" -SourceStoreMailbox " <StoreMailboxIdParameter> " -TargetMailbox "MS Test" -AllowLegacyDNMismatch
WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
WARNING: Task module "LoggingModule.OnIterateCompleted" fails with exception "Object reference not set to an instance of an object.".
This module is skipped. Task execution result should not be affected.
Object reference not set to an instance of an object.
   + CategoryInfo          : NotSpecified: (:) [New-MailboxRestoreRequest], NullReferenceException
   + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.Migration.MailboxReplication
  .MailboxRestoreRequest.NewMailboxRestoreRequest
   + PSComputerName        : <ComputerName>

In addition, an Event ID 4999 with a "NullReferenceException" error will be logged in the Event Viewer. It's expected that the cmdlets can run successfully regardless of the white-space included in the TargetMailbox parameter.

Cause

This issue occurs because one parameter is returning a wrong value when the TargetMailbox parameter has a white-space in it.

Resolution

To resolve this issue, install Cumulative Update 11 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.

Har du brug for mere hjælp?

Vil du have flere indstillinger?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var disse oplysninger nyttige?

Hvad påvirkede din oplevelse?
Når du trykker på Send, bliver din feedback brugt til at forbedre Microsoft-produkter og -tjenester. Din it-administrator kan indsamle disse data. Erklæring om beskyttelse af personlige oplysninger.

Tak for din feedback!

×