Managing Entra/Azure users (immutableID) with Microsoft Graph
When dealing with federated user identities, you've very likely encountered situations in which a user's ImmutableID needs to be altered.
A very nice benefit of working with accounts via Microsoft Graph, is you can do so via Powershell (7) for macOS ! (Most things you'll need are available).
For that, I strongly recommend downloading via the direct MS link here,
https://mnk.li/powershell-for-macOS
A simple (starting-point) script example is here,
https://github.com/illudium/powershell-admin-helper-scripts/blob/main/msgraph_changeImmutableID.ps