Using PnP PowerShell to apply modern column formatting

Clients have asked me about visually improving documents to highlight content that contain sensitive informationĀ (for example) and then applying this change to columns in lists in all their groups (roughly 100 of them).

There is detailed documentation at about how to create and apply the JSON formatting to a single column; but not so much about how to update existing columns with the API, so what and how should we get this done?

Continue reading