Adding Descriptions to Fields


Is it possible to add a description to the field in a custom list using Add-PnPField?  Or does anyone have a way of programmatically adding a description after the field has been created.

3 Replies

Hi  @Matt Munslow,


The description seems to be missing.


Maybe a bit of a heavy way of doing this but you could use


Get-PnPProvisioningTemplate -Out test.xml


Then update the xml by editing it manually


Apply-PnPProvisioningTemplate -Path test.xml


I'm assuming that you prefer to stick to PowerShell. 


This works:

$field = Get-PnPField -List Risks -Identity Likelihood


$field.Description="This works"


Just use this: Set-PnPField -Identity "MyField" -Values @{Description="MyDescription"}