Please confirm what it is that your reporting
Possibility to get list of fields of content type.
Get-PnPContentType
Please describe what output you expect to see from PnP-PowerShell Cmdlets
List of all fields of content type (Fields Collection)
Please describe what you see instead. Please provide samples of HTML output or screenshots
Please include complete code samples in-line or linked from gists
Get-PnPContentType
The Fields collection wasn't load . May be add the parameter "Include" ???
(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable)
2.24.1803.0
You can use get-pnpproperty to populate the missing collections.
$ctype = get-pnpcontenttype -identity "Ctype name"
get-pnpproperty -clientobject $ctype -property "Fields"
Thank you Very much!
Not working (anymore?) for me. With current version, I get the following error:
Get-PnPProperty : The 'subQuery' argument is invalid.
EDIT: worked on another tenant. Weird.
Most helpful comment
You can use get-pnpproperty to populate the missing collections.
$ctype = get-pnpcontenttype -identity "Ctype name"
get-pnpproperty -clientobject $ctype -property "Fields"