Created
May 28, 2019 12:27
-
-
Save OlafD/0146048fe904b49ef448b646e73966af to your computer and use it in GitHub Desktop.
Change the FieldTypeKind of a field using PowerShell PnP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$field = Get-PnPField -List "Documents" -Identity "Users" -Includes FieldTypeKind | |
$field.FieldTypeKind = [Microsoft.SharePoint.Client.FieldType]::User | |
$field.Update() | |
Invoke-PnPQuery |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment