web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

How do I create a new permission set on Dynamics 365 business central ?

(0) ShareShare
ReportReport
Posted on by

How do I create a new permission set on Dynamics 365 business central ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Create an XML file that contains permissions for the objects in your extensions. The format is as following:

    <PermissionSets>
    <PermissionSet RoleID="MYROLE" RoleName="My Role">
    <Permission>
    <ObjectType>TableData</ObjectType>
    <ObjectID>50100</ObjectID>
    <ReadPermission>Yes</ReadPermission>
    <InsertPermission>Yes</InsertPermission>
    <ModifyPermission>Yes</ModifyPermission>
    <DeletePermission>Yes</DeletePermission>
    <ExecutePermission>Yes</ExecutePermission>
    <SecurityFilter />
    </Permission>
    <Permission>
    <ObjectType>TableData</ObjectType>
    <ObjectID>50101</ObjectID>
    <ReadPermission>Yes</ReadPermission>
    <InsertPermission>Yes</InsertPermission>
    <ModifyPermission>Yes</ModifyPermission>
    <DeletePermission>Yes</DeletePermission>
    <ExecutePermission>Yes</ExecutePermission>
    <SecurityFilter />
    </Permission>
    </PermissionSet>
    </PermissionSets>

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Kevin,

    After you create the permissions set as Demiliani showed you, save it as XML then copy it into your extension folder. The next compile will identify the permissions set file and include it in your extension package. The installation of the extension will then add the permission set to your Dynamics 365 BC.

    Another alternate, if you have a lot of objects to include in your permissions set file, I suggest you trying from this link:  https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-export-permission-sets

    ,

    Please verify my answer if you find my answer helpful. Doing so you'll show other community members that there was found a solution and you credit my help.

    .

  • Indira88 Profile Picture
    1,037 on at

    Hi,

    My query is related to this, can a single permission Set include different fields and modify execute option be managed from the UI.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans