# Control access to Business Central using security groups
Security groups make it easier for administrators to manage user permissions. For example, for Business Central online, they're reusable across Dynamics 365 applications, such as SharePoint Online, CRM Online, and Business Central. Administrators add permissions to their Business Central security groups, and when they add users to the group the permissions apply to all members. For example, an administrator can create a Business Central security group that gives salespeople the ability to create and post sales orders. Or, let purchasers do the same for purchase orders.
> NOTE
> This article describes how to grant certain permissions to users based on their membership of a security group. Learn how to control whether users can access an environment based on their membership of a security group in Manage Access to Environments<dev-itpro/administration/tenant-admin-center-manage-access>.
## Create security groups in Microsoft Entra or Windows Active Directory
You can use security groups for the online and on-premises versions of Business Central. Depending on your deployment and authentication method, create groups in one of the following ways:
### #tab/online
Create Microsoft Entra groups in Microsoft Entra admin center. See Create, edit, or delete a security group in the Microsoft 365 admin center<https://learn.microsoft.com/microsoft-365/admin/email/create-edit-or-delete-a-security-group>.
### On-premises<#tab/onprem>
With Microsoft Entra ID authentication:
 Upgrade to Business Central versions 25.11, 26.5, 27.4 or later
 Configure Business Central Server by setting EnableEntraGroupsOnPrem to true in CustomSettings.config file. See Configure Business Central Server<dev-itpro/administration/configure-server-instance>.
 Create Microsoft Entra groups in Microsoft Entra admin center. See Create, edit, or delete a security group in the Microsoft 365 admin center<https://learn.microsoft.com/microsoft-365/admin/email/create-edit-or-delete-a-security-group>.
With Windows authentication:
 Create Windows Active Directory groups. See Create a Group Account in Windows Active Directory<https://learn.microsoft.com/windows/security/operating-system-security/network-security/windows-firewall/create-a-group-account-in-active-directory>.
 Configure Business Central Server by setting EnableEntraGroupsOnPrem to false in CustomSettings.config file. false is the default value. See Configure Business Central Server<dev-itpro/administration/configure-server-instance>.
> NOTE
> If you've set up a special type of user with a Windows Group license type in a version of Business Central on-prem earlier than 2023 release wave 1, when you upgrade Business Central converts the user to a security group. The new security group has the same name as the Windows group name. The security group provides a better overview of the group members and their effective permissions.
## Add security groups in Business Central
Once you've created your Microsoft Entra or Windows Active Directory groups, link them to security groups in Business Central.
1. Select Search (Alt+Q) in the upper-right corner, enter Security Groups, and then select the related link.
1. Select New to create a group.
1. Create the link to your group, as follows:
  For Business Central online, select the group in the Microsoft Entra security group name field.
  For Business Central on-premises, select the group in the Windows group name field.
> NOTE
> The users show in the Members card on the FactBox pane or the Security Group Members page only if they're added as users in Business Central. To learn more about adding users, go to To add users or update user information and license assignments in Business Central<ui-how-users-permissions#adduser>.
## Assign permissions to a security group
1. On the Security Groups page, select the group, and then select the Permissions action.
1. Assign permissions in the following ways:
  To assign permission sets individually, in the Permission Set field, select the permissions to assign.
  To assign multiple permission sets, select the Add multiple action, and then select the sets to assign.
1. If you want the permission sets to apply only to a specific company, set the Company column to that company. If you want the permission set to apply to all companies, leave the Company column blank. ui-define-granular-permissions#control-access-to-specific-companies.
## Related information
Create Users According to Licenses<ui-how-users-permissions>
Set Up Business Central Access in Teams with Microsoft 365 Licenses<admin-access-with-m365-license-setup>
Learn about groups and access rights in Microsoft Entra ID<https://learn.microsoft.com/azure/active-directory/fundamentals/concept-learn-about-groups>
Microsoft Entra security groups<https://learn.microsoft.com/windows-server/identity/ad-ds/manage/understand-security-groups>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/ui-security-groups, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/ui-security-groups/
