The documentation for LastPass Enterprise clearly states as the first FAQ item:
"Do groups in Okta sync to the LastPass admin dashboard?
"No. While you can assign LastPass provisioning to specific groups in the Okta dashboard, groups themselves are not synced from Okta to LastPass."
However, when I first sync a user from Okta, their group memberships are all removed.
How is LastPass meant to be behave with group memberships? Do you expect use of something like the AD Agent (which, incidentally, doesn't resemble the documentation in the install screens and doesn't appear to accept config changes because the service isn't run on install)?