custom user action in SharePoint online

Iron Contributor

Hey, how I can deploy a custom user action in SharePoint online? The custom user action is a js file and I like to brand with it the “old” SharePoint online sites.

To deloy I like to use powershell. 

 

Thanks for help Stefan

2 Replies
I have a non-PnP PowerShell script that we use to do this very thing (havent updated to use PnP). I'd assume it is easier than what I have, so I can share that when I get a chance if no one gives you the probably more preferred PnP approach.

PnP PowerShell contains the Add-PnPCustomAction cmdlet:

https://msdn.microsoft.com/en-us/pnp_powershell/addpnpcustomaction