Windows PowerShell

Part 2: Customize SharePoint Online User Interface using JavaScript | CSOM | PowerShell


This is a continuation of part 1 and we will cover about adding a custom action in site action of the web. Note: You can think about any solution. This blog post is to show an option in PowerShell and Client Side Object Model to customize the Site Actions of the web.

  1. To know Default Custom Action and Location ID’s – Navigate here.
  2. How to work with User Custom Action – Navigate here.

Here is the sample code to add a link in Site Actions!

Site Actions Before


Site Actions After


Full Code

Enjoy PowerShell!

Leave a Reply

Your email address will not be published. Required fields are marked *