Skip to main content

Notifications

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 20

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.

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 77,004 Super User 2025 Season 1 on at
    RE: How to add several Object IDs simultaneously in the permission sets?

    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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 995 Super User 2024 Season 1 on at
    RE: How to add several Object IDs simultaneously in the permission sets?

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans