SharePoint Online: How to Inject CSS using Custom Action in PowerShell?

Requirement: Add Custom CSS to SharePoint Online without editing Master page PowerShell to Add CSS to SharePoint Online: Assuming you have “Custom.CSS” file uploaded to “Site Assets” library, Here is the PowerShell to insert CSS to SharePoint Online site. This PowerShell script creates a custom action which injects the CSS tag inside…

Read more