https://lieben.nu/tools/SPNRoleMgr
Helps easily set/modify/remove permissions on Managed Identies, a feature totally lacking from the entra portal 🙂
https://lieben.nu/tools/SPNRoleMgr
Helps easily set/modify/remove permissions on Managed Identies, a feature totally lacking from the entra portal 🙂
Updated with a modern GUI, smart renaming/restructuring rules, delegated or app auth, fast and parallel scanning….
Handy when your excel references break over 200+ url lengths, or you have sync issues when going beyond 256 characters!



Download/install the PS module from PSGallery!
Here is something cool I made to use before going on trips to help select the place with the most ideal weather 🙂

You can find it at https://weatherradius.com for free!

Doing logon scripts is easy for some, less easy for others, and in general not great in certain types of environments.
And this led to some questions if I could also make a version of M365AutoLink that can run centrally. There was a hurdle to overcome: how do we know what libraries a user has access to?
M365Permissions already has the answer, so a quick copy paste from the code there and voila, we now have a centrally runnable version of M365AutoLink!
It can run either as managed identity, or cert-based service principal. I recommend running it as a runbook, and don’t run it on tenants with thousands of users or commercially….for commercial use click here 🙂
For full documentation and code: https://github.com/jflieben/M365AutoLink

Sharing links in Onedrive/Teams/Sharepoint can be of the View, Edit, Review or No Download type.
There is no official Graph API or PnP module call that can be done to modify a link, it has to be done manually in the GUI as per Microsoft.
That didn’t work for me, as I’m working on some migration scenario’s where all links have to keep working, but should not allow users to edit or download the files.
So I did some digging, turns out there is a ShareLink GetSharingInformation endpoint that can be called for any object.
And with good ‘ol Claude, a script was built and tested in half an hour that iterates over a given sharepoint site(s) or a specific file and adjusts the link. I’ve made it configurable and use certificate based auth, enjoy!
https://github.com/jflieben/assortedFunctionsV2/blob/main/Update-SharingLinks.ps1