diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/ImportUsersModal.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/ImportUsersModal.svelte
index bb03f166b3..432fb7abb7 100644
--- a/packages/builder/src/pages/builder/portal/users/users/_components/ImportUsersModal.svelte
+++ b/packages/builder/src/pages/builder/portal/users/users/_components/ImportUsersModal.svelte
@@ -34,6 +34,8 @@
label: `${option.label} - ${option.subtitle}`,
}))
+ $: internalGroups = $groups?.filter(g => !g?.scimInfo?.isSync)
+
const validEmails = userEmails => {
if ($admin.cloud && userEmails.length > MAX_USERS_UPLOAD_LIMIT) {
notifications.error(
@@ -106,12 +108,12 @@
{/if}
- {#if $licensing.groupsEnabled}
+ {#if $licensing.groupsEnabled && internalGroups?.length}
option.name}
getOptionValue={option => option._id}
/>