When you use the Start-CMDistributionPointUpgrade cmdlet to upgrade a shared distribution point to a Microsoft System Center 2012 R2 Configuration Manager distribution point, the cmdlet fails. This problem occurs if a secondary site is referenced in the -sitecode parameter.
Additionally, you receive the following exception message:
Additionally, you receive the following exception message:
Initiation of upgrade of BDP: server1.contoso.internal, failed.
Exception Type: System.Collections.Generic.KeyNotFoundException,Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand :: Exception Message: System.Collect
ions.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.SetObjectProperties(IResultObject siteSystemObject, IResultObject distributionPointObject)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord().
Exception Type: System.Collections.Generic.KeyNotFoundException,Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand :: Exception Message: System.Collect
ions.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.SetObjectProperties(IResultObject siteSystemObject, IResultObject distributionPointObject)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord().