User Management

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 11 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: User Management in Microsoft Dynamics 365 Business Central

Introduction: The Foundation of Secure Operations

In the modern enterprise environment, the integrity of your data is your most valuable asset. Microsoft Dynamics 365 Business Central is a powerful platform that serves as the central nervous system for your financial, operational, and supply chain data. However, a system is only as secure as the people who have access to it. User Management is not merely an administrative task of adding names to a list; it is the fundamental process of defining who can see, modify, and delete your business-critical information.

When you fail to implement a structured user management strategy, you expose your organization to significant risks, ranging from accidental data deletion by an untrained staff member to internal fraud or unauthorized access to sensitive payroll and margin data. Conversely, a well-structured approach to permissions ensures that every employee has exactly the access they need to perform their job, and nothing more. This concept, known as the "Principle of Least Privilege," is the gold standard in cybersecurity and internal auditing.

Throughout this lesson, we will explore the mechanics of how Business Central handles users, the difference between authentication and authorization, and the practical steps to manage permissions effectively. By the end of this guide, you will have the knowledge required to build a secure, efficient, and compliant environment for your organization.


Not read yet

Understanding the Relationship Between Microsoft 365 and Business Central

Before diving into the Business Central interface, it is crucial to understand that Business Central does not manage user identities in isolation. It relies on Microsoft Entra ID (formerly Azure Active Directory) to handle authentication. This means that a user’s identity—their email address, password, and multi-factor authentication (MFA) settings—is managed at the Microsoft 365 tenant level.

When you hire a new employee, you do not create their account inside Business Central first. Instead, you create their identity in the Microsoft 365 admin center. Once the identity exists, you assign them a Business Central license. Only after the license is assigned and the user is synchronized into the Business Central environment can you begin the process of defining their specific permissions within the application.

Callout: Authentication vs. Authorization It is helpful to distinguish between these two concepts. Authentication is the process of verifying who a user is (e.g., logging in with a password and MFA). Authorization is the process of determining what that user is allowed to do once they are inside the system (e.g., can they post a sales invoice or only view it?). Business Central focuses almost entirely on the authorization layer, assuming that the authentication layer has already been handled by Microsoft 365.


Not read yet

Adding Users: The Step-by-Step Process

Adding a user to Business Central is a two-stage process. First, ensure the user has the appropriate license in your Microsoft 365 admin portal. Without the license, the user will be unable to access the environment, regardless of the permissions you grant them.

Step 1: Updating the User List

Once the license is assigned, you need to trigger a synchronization between Microsoft 365 and Business Central. In most modern deployments, this happens automatically, but you can force a refresh if necessary.

  1. Open Business Central and search for the "Users" page using the search icon.
  2. In the action bar, click on "Process" and then select "Update users from Microsoft 365."
  3. This action pulls the latest user data from your organization's directory into the Business Central database.

Step 2: Assigning Permission Sets

Once the user appears in the list, they will have no access to any functional areas. You must now assign them "Permission Sets." A permission set is a collection of access rights to specific objects, such as tables, reports, and codeunits.

  1. Click on the user's name to open their User Card.
  2. Navigate to the "User Permission Sets" FastTab.
  3. Use the "Add" button to select from the list of available permission sets.
  4. If you have created custom sets, ensure they are selected here.
  5. Close the page to save the changes. The user will now have access to the areas defined by those sets.

Note: Always verify that the "License Type" for the user is set correctly. Typically, this is "Full User" for standard staff or "Team Member" for those with limited, read-only, or specific approval-based requirements.


Not read yet

Designing an Effective Permission Strategy

A common mistake administrators make is assigning "Super" permissions to every new user to "get them up and running quickly." This is a dangerous habit that creates massive security vulnerabilities and complicates compliance audits. Instead, you should design your permission structure based on job roles rather than individual employees.

The Role-Based Access Control (RBAC) Model

Instead of assigning permissions to "John Doe," create permission sets based on the function "Accounts Payable Clerk." If John leaves the company and a new person is hired, you simply assign the "Accounts Payable Clerk" permission set to the new user.

Recommended Permission Sets Strategy:

  • Base Permissions: Every user needs a set of base permissions to simply log in and navigate the interface. These are usually provided by Microsoft in the "D365 BASIC" permission set.
  • Functional Permissions: These are specific to the department, such as "D365 SALES DOC, EDIT" or "D365 PURCH DOC, EDIT."
  • Custom Permissions: Use these for company-specific processes, such as a custom workflow for approving expense reports that standard Microsoft sets do not cover.

Using Security Groups

Microsoft has introduced "Security Groups" in Business Central to simplify management. Instead of assigning permission sets to individual users, you can create a security group in the Microsoft 365 admin center, add users to that group, and then map the security group to a permission set in Business Central. This significantly reduces the overhead of managing permissions for large organizations.

Approach Pros Cons
Individual Assignment Granular control for unique roles. High maintenance; prone to human error.
Permission Sets Standardized, easy to audit. Can become complex if sets are too broad.
Security Groups Scalable; managed at the tenant level. Requires coordination with IT/Admin.

Not read yet

Advanced Permission Management: Custom Permission Sets

Sometimes, the standard permission sets provided by Microsoft do not fit your exact requirements. For example, you might want a user to be able to create sales orders but not delete them. Or, perhaps you have a custom table created by a developer that requires specific access.

Creating a Custom Permission Set

  1. Search for "Permission Sets" in the search bar.
  2. Click "New" to create a new set.
  3. Give it a descriptive name (e.g., "SALES-ORDER-ENTRY-NO-DELETE").
  4. Open the "Permissions" window for the new set.
  5. Add lines for each object type (Table Data, Table, Report, Codeunit, etc.).
  6. Set the "Read," "Insert," "Modify," and "Delete" permissions to "Yes" or "No" as required.

Warning: Be extremely careful when granting "Delete" permissions. In many cases, it is better to allow a user to "cancel" or "reverse" a transaction rather than allowing them to physically delete the record from the database. Deleting records can break data integrity and cause significant issues during financial reconciliation.

Practical Example: Restricting Data Access

Imagine you have a junior clerk who needs to enter sales orders but should not be allowed to see the "Cost" field on the item card. You can use a combination of "Table Data" permissions and "Field Level Security" extensions to achieve this. While standard Business Central permissions are mostly table-based, you can use the "Permission Set" to restrict access to the "Item" table entirely and provide access only to specific fields via a specialized extension or a view.


Not read yet

Security Best Practices and Common Pitfalls

Managing users is an ongoing process of monitoring and adjustment. Here are some industry standards to help you maintain a clean and secure system.

1. Perform Quarterly Access Reviews

Even if you start with a perfect permission structure, "permission creep" is a real phenomenon. Over time, employees take on new responsibilities, and you might grant them extra permissions. If they switch roles, you might forget to remove the old ones. Conduct a quarterly review where you export the user list and their assigned permissions to Excel, then have department managers sign off on whether their team still needs that level of access.

2. The "Super" User Trap

Limit the number of users with the "SUPER" permission set to the absolute minimum. In a company of 50 people, there should rarely be more than two users with "SUPER" access—usually the primary administrator and a backup. Having too many "SUPER" users makes it impossible to trace who changed a critical system setting if something goes wrong.

3. Use Change Log for Sensitive Tables

Permissions only define who can do what; they do not necessarily tell you what they did. For sensitive tables like "General Ledger Entry," "Vendor Bank Account," or "User Setup," turn on the "Change Log." This allows you to track every insertion, modification, and deletion.

How to setup the Change Log:

  1. Search for "Change Log Setup."
  2. Enable the "Change Log Activated" toggle.
  3. Click on "Tables" to select the tables you want to monitor.
  4. Choose whether to log "Insertion," "Modification," or "Deletion" for each table.

Tip: Do not enable the Change Log for every single table in the system. It can generate a massive amount of data, which will degrade system performance and consume your database storage capacity. Focus only on tables that carry high financial or security risk.

4. Handling Terminated Employees

When an employee leaves the company, the process should be immediate.

  • Disable the user in the Microsoft 365 admin center.
  • Once disabled in Microsoft 365, the user will automatically lose access to Business Central.
  • However, you should still go into the Business Central "Users" page and set their status to "Disabled" to ensure that any automated processes or scheduled tasks associated with that user are flagged or reassigned.

Not read yet

Troubleshooting User Access Issues

Inevitably, you will encounter scenarios where a user cannot access a page or perform an action. Instead of blindly adding permissions, follow a systematic troubleshooting approach.

The "Permission Error" Workflow

When a user complains that they cannot perform a task, ask them to provide a screenshot of the error message. Business Central usually provides a specific error message stating "You do not have the following permissions: TableData Table 123: Read."

  1. Identify the Object: Look at the error message to see the specific Table or Object ID that is causing the block.
  2. Check the Current Permissions: Open the user's card and review their assigned permission sets.
  3. Trace the Permission: Use the "Permission Set" page to search for the object ID. See which of the user's assigned sets contains that object.
  4. Determine the Intent: Is the user supposed to have access? If yes, modify the existing permission set or create a new one. If no, explain to the user why the access is restricted.

Callout: The "Record" vs. "Table" Distinction A common point of confusion is the difference between table-level and record-level security. Standard Business Central permission sets are table-level. If you give a user access to the "Customer" table, they can see all customers. If you need to restrict a salesperson so they can only see customers in their specific region, you need to use "Security Filters." Security filters allow you to limit access based on the contents of a field (e.g., Salesperson Code = JOHN).


Not read yet

Advanced Topic: Security Filters

Security filters are an incredibly powerful tool for organizations that require data segregation. For example, if you have two distinct divisions—North America and Europe—and you do not want the North American sales team to see the European customer data, security filters are your solution.

Implementing a Security Filter:

  1. Open the "Users" page and select the user.
  2. Navigate to the "User Permission Sets" FastTab.
  3. Select the permission set that grants access to the "Customer" table.
  4. Click on the "Filter" column (or the ellipsis button).
  5. Enter the filter expression, such as Region = 'NORTH-AMERICA'.
  6. Save the changes.

Now, whenever that user attempts to open the Customer list, Business Central will automatically apply that filter to the query. They will physically be unable to see any records that do not match the criteria. This is a much cleaner way to handle data privacy than attempting to build complex custom code.


Not read yet

Code Snippets for Developers

While most user management is handled through the UI, developers often need to interact with permissions via AL (Application Language). If you are building a custom extension, you might need to ensure that your extension plays nicely with the security model.

Checking Permissions in Code

If you are writing a custom process, you can check if a user has permission to perform an action before executing the code. This prevents the system from throwing an ugly error message and allows you to provide a clean, user-friendly notification.

// Example: Checking if a user has permission to delete a custom table record
procedure CheckDeletePermission()
var
    MyCustomTable: Record "My Custom Table";
begin
    if not MyCustomTable.WritePermission then
        Error('You do not have permission to delete records from this table.');
    
    // Proceed with deletion logic
end;

Creating Permission Sets via AL

You can define permission sets directly in your extension code. This ensures that when your app is installed, the necessary permissions are automatically created and ready for assignment.

permissionset 50100 "My Extension Permissions"
{
    Assignable = true;
    Caption = 'My Extension Permissions';

    Permissions =
        tabledata "My Custom Table" = RIMD,
        table "My Custom Table" = X;
}

In this snippet, "RIMD" stands for Read, Insert, Modify, Delete. "X" stands for Execute.


Not read yet

Common Mistakes to Avoid

Even with the best intentions, administrators often fall into traps that compromise system security. Let’s review the most frequent ones.

  • Sharing Credentials: Never, under any circumstances, allow two employees to share a single user account. This destroys your audit trail. If an unauthorized transaction occurs, you will have no way of knowing which of the two employees performed it.
  • Ignoring "Read" Permissions: Many admins only focus on "Modify" and "Delete" permissions. However, "Read" permissions are just as important. If a user can read your entire General Ledger, they can see sensitive payroll data, bank account numbers, and profit margins. Always audit who has "Read" access to financial tables.
  • Forgetting to Test: Before deploying a new permission set to a group of users, create a "Test User" account in your sandbox environment. Assign the new permissions to that test user, log in as them, and try to perform the tasks they are expected to do—and try to perform tasks they shouldn't be able to do.
  • Over-reliance on "Super": The "Super" set is a catch-all. It bypasses almost every security check in the system. Use it only for initial setup or extreme emergency recovery, and remove it immediately afterward.

Not read yet

Summary and Key Takeaways

User management in Business Central is the cornerstone of a secure and compliant business system. By moving away from ad-hoc permission assignments and toward a structured, role-based approach, you can protect your data while empowering your employees to work efficiently.

Key Takeaways:

  1. Identity is External: Remember that Business Central relies on Microsoft 365 for authentication. Secure the Microsoft 365 account, and you secure the entry point to Business Central.
  2. Principle of Least Privilege: Always grant the minimum set of permissions required for an employee to do their job. It is easier to add permissions later than it is to identify and remove unnecessary ones after a security breach.
  3. Role-Based Access (RBAC): Build your permission sets based on job functions rather than individual users. This makes scaling your business and onboarding new employees much faster.
  4. Audit and Review: Permissions are not a "set it and forget it" task. Schedule regular reviews to ensure that access remains aligned with current job responsibilities.
  5. Use Security Filters for Privacy: When you need to restrict data access within a single table (e.g., by department or region), use security filters instead of custom code.
  6. Log Sensitive Actions: Use the Change Log to maintain an audit trail for critical financial and administrative tables, but be mindful of performance and storage impacts.
  7. Test Before You Deploy: Always validate your permission sets in a non-production environment to ensure they function exactly as intended without introducing unintended access gaps.

By following these principles, you will build a robust environment where your team can collaborate effectively, and your financial and operational data remains protected from unauthorized access. Remember that security is not a destination, but an ongoing process of vigilance and continuous improvement. As your business grows and your processes evolve, your user management strategy should evolve right alongside it.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.