LPS-46117 use doAsGroupId instead of scopeGroupId