Azure AD Group Writeback Ignores 'Group writeback state' Setting. Writes Back as Distribution 'groupType' regardless of 'OnPremisesGroupType'
Group writeback is configured in the environment and groups are writing back as expected, however, the local 'groupType' attribute is writing back as a Distribution Group regardless of the group writeback state configured in Azure options of 'Security/Mail enabled security/Distribution'. When I run "(Get-MgBetaGroup -groupid $groupID).WritebackConfiguration" this returns the expected attributes showing configured correctly: IsEnabled:True OnPremisesGroupType:UniversalSecurityGroup This is happening for all groups existing and newly created. As per learn.microsoft for 'update-mgbetagroup' this can happen 'If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property isn't explicitly configured: Microsoft 365 groups are written back as universalDistributionGroup by defaultSecurity groups are written back as universalSecurityGroup by default' ...however, the property is explicitly configured as 'universalSecurityGroup'