Closed neztach closed 2 years ago
Isn't newest Azure AD Connect doing that now? https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/use-cloud-groups-in-on-premises-active-directory-with-group/ba-p/3118023
New group writeback features
when running something like Show-WinADGroupMemberOf it works terrifically, but my request is, if the Group Name being returned is an AAD Group can it be written in to translate the 365 Group Writeback name to the DisplayName as it iterates through? (365 Group Writeback doesn't put human readable value in the Name attribute, but it does put it in the DisplayName attribute.)
I've written a proof of concept that allows me to do it by hand (even if inefficient) Reference for GUID translation here https://tech.nicolonsky.ch/validating-a-guid-with-powershell/
The thinking for my example was:
I'm sure you'll have a more efficient method, but this is my submission to improve your awesome script.
From the resource I referenced he wrote a Function to assist: