Consent access for AD groups is saved correctly

Changes to consent access for Azure AD security groups are now saved reliably, so the selected permission remains active after updating the group.