Bejelentkezés Microsoft-fiókkal
Jelentkezzen be, vagy hozzon létre egy fiókot.
Üdvözöljük!
Válasszon másik fiókot.
Több fiókja van
Válassza ki a bejelentkezéshez használni kívánt fiókot.
Angol
Sajnáljuk. Ez a cikk nem érhető el az Ön nyelvén.

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.

További segítségre van szüksége?

További lehetőségeket szeretne?

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.

Hasznos volt ez az információ?

Mi volt hatással a felhasználói élményére?
Ha elküldi a visszajelzést, a Microsoft felhasználja azt a termékei és szolgáltatásai továbbfejlesztéséhez. Az informatikai rendszergazda képes lesz ezeket az adatokat összegyűjteni. Adatvédelmi nyilatkozat.

Köszönjük a visszajelzését!

×