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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to add several Object IDs simultaneously in the permission sets?

(0) ShareShare
ReportReport
Posted on by 26

Hello,

I'm trying to create new permission set that will include Execute permissions on all Objects type "Page", except for  only 10 pages.

As I checked there is no possibility to select multiple object ID's simultaneously and insert in the permission sets. And there are more than 3K Object ID's that I need to insert.

Can you please help me to find the easy way of doing it? It's too much work to do it manually.

P.S. I could not import permissions as I guess it requires the knowledge of xml that I do not have.

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    You can try this AL command in Visual code: al.generatePermissionSetForExtensionObjects

  • Verified answer
    YUN ZHU Profile Picture
    95,432 Super User 2025 Season 2 on at

    Hi, If you need to generate permissions for your customized extension, please refer to Igne's suggestion and execute the following command in VS Code.

    pastedimage1643588660271v1.png

    If you want to add your Permission Set for standard Object. You can use the import and export features. Maintenance requires some knowledge of xml.

    pastedimage1643588801211v2.png

    Note: Permissions defined as data will be Removed with Business Central 2022 release wave 1.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/deprecated-features-platform#permissions

    Hope this will help.

    Thanks.

    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,064

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,568 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans