Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

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

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 73,696 Super User 2024 Season 2 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 32,748 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans