New command to generate or update AL permission set

Important

This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Sep 1, 2022 Oct 1, 2022

Business value

Permission sets are at the core of controlling access to AL objects. When adding new objects, however, it can be easy to forget to update the permissions. To help with this, it's now possible with a new AL command to generate or update a permission file for the active project.

Feature details

Now there's a command to generate a permission set as an AL object: al.generatePermissionSetForExtensionObjects.

When invoking the command, the developer can choose to create a new permission file or select an existing file to update.

The previous functionality of creating a permission set XML file is moved into the command al.generatePermissionSetForExtensionObjectsAsXml.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Thank you for your idea

Thank you for submitting this idea. We listened to your idea, along with comments and votes, to help us decide what to add to our product roadmap.

See also

Permission Set Object (docs)