Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$credentials = Get-Credential
Connect-PnPOnline "https://<your-tenant><target-site>" -Credentials $credentials
## You can use the following PnP cmdlet
## ClientSideComponentId from Manifest.Json of the extension
Add-PnPCustomAction -Name "<CommandSetName>" -Title "<CommandSetTitle>" -Description "<Text>" -RegistrationId "101" -RegistrationType List -ClientSideComponentId "<Id from Manifest.json>" -Location "ClientSideExtension.ListViewCommandSet"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment