nerdexam
Microsoft

70-339 · Question #141

During the upgrade from SharePoint2013 to SharePoint2016, you discover there is a missing feature. You review the logs and observe the following error message: Message: Database [WSS_Contoso_OROl] has

The correct answer is A. On the SharePoint Server,run the following Windows PowerShell command:. Identifying which specific page or web references a missing feature during a SharePoint upgrade requires a PowerShell cmdlet that queries feature associations using the feature GUID from the error log.

Install and configure SharePoint

Question

During the upgrade from SharePoint2013 to SharePoint2016, you discover there is a missing feature. You review the logs and observe the following error message:

Message: Database [WSS_Contoso_OROl] has reference(s) to a missing feature:

ld= [4be9a980-965f?86f -9eda-074e284875d7). Remedy: The feature with ld 4be9a980-965f-486f-9eda-074e284875d7 is referenced in the database [WSS_Contoso_OROl], but is not installed on the current farm. The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary. You need to identify the page that is missing the feature. Which of the following will identify the page?

Options

  • AOn the SharePoint Server,run the following Windows PowerShell command:
  • BOn the SharePoint Server, run the following Windows PowerShell command:
  • COn the SQL Server, run the following SQL syntax against WSS_Contoso_OROl:
  • DOn the SharePoint Server, review the Health Analyzer and find the missing dependencies.

How the community answered

(24 responses)
  • A
    71% (17)
  • B
    8% (2)
  • C
    4% (1)
  • D
    17% (4)

Why each option

Identifying which specific page or web references a missing feature during a SharePoint upgrade requires a PowerShell cmdlet that queries feature associations using the feature GUID from the error log.

AOn the SharePoint Server,run the following Windows PowerShell command:Correct

PowerShell with the SharePoint snap-in provides access to the object model, allowing a query such as Get-SPSite combined with Get-SPWeb and Get-SPFeature filtered by the missing feature GUID to return the exact site or page holding the reference. This is the Microsoft-supported method for tracing feature activation to specific content objects and gives administrators the precise location needed to remediate the upgrade failure.

BOn the SharePoint Server, run the following Windows PowerShell command:

This PowerShell command uses incorrect syntax or targets the wrong scope, and therefore does not return the page-level association needed to identify where the missing feature is referenced.

COn the SQL Server, run the following SQL syntax against WSS_Contoso_OROl:

Querying the content database directly with SQL is unsupported by Microsoft for SharePoint databases - direct SQL access can corrupt SharePoint's internal state and does not use the supported API for resolving feature references.

DOn the SharePoint Server, review the Health Analyzer and find the missing dependencies.

The Health Analyzer reports farm-wide configuration and health rule violations but does not drill down to identify which specific page or web within a content database holds a reference to a missing feature GUID.

Concept tested: Identifying missing feature page references during SharePoint upgrade

Source: https://learn.microsoft.com/en-us/sharepoint/upgrade-and-update/upgrade-databases-from-sharepoint-2013-to-sharepoint-server-2016

Topics

#upgrade SharePoint 2013 to 2016#missing feature#upgrade logs#PowerShell diagnostics

Community Discussion

No community discussion yet for this question.

Full 70-339 Practice