Expand Minimize

Do not deploy Feature with scope 'Farm'

Depending on the customization policy Solutions should not contain farm features.

CheckId SPC090102
TypeName DoNotDeployFarmFeatures
Severity Warning
Type Feature

Remove features with scope 'Farm' or change the feature scope accordingly.

For customization rules it depends on the specific practices and guidelines of the target farm if the rules are valid or not. Disable the rule if it does not apply in your case.

To suppress this violation in XML SharePoint code add the following comment right before the XML tag which causes the rule violation. Learn more about SuppressMessage here.

<!-- "SuppressMessage":{"rule":"SPC090102:DoNotDeployFarmFeatures","justification":"Provide reason for suppression here"} -->
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.