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

Announcements

News and Announcements icon
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 28

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
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

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

  • Verified answer
    YUN ZHU Profile Picture
    102,927 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 566 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 347 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans