Pages

Tuesday, June 3, 2025

Please use CAP for your service principals

I am guily of it too, most M365 admins after they switched employers do keep their PowerShell scripts for typical re-use. For instance, a script to expand an Exchange Distribution List (that can contain hundreds of child DLs) is handy for all organizations. Unfortunately some of them may contain credentials of service principals.

https://winsa2.blogspot.com/p/cap-for-security-principals.html

No comments: