Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Out of the box API to support PermissionSet assignment to userGroup

Posted on by 75

Is there any out of the box API available to assign PermissionSet to a UserGroup?

Using below API, we can set permission directly on user

docs.microsoft.com/.../dynamics-microsoft-automation-userpermission-post

Looking for an equivalent for UserGroup.

  • PriteshM Profile Picture
    PriteshM 75 on at
    RE: Out of the box API to support PermissionSet assignment to userGroup

    Using below API, we can set permission directly on user

    docs.microsoft.com/.../dynamics-microsoft-automation-userpermission-post

    Looking for equivalent for UserGroup.

  • RE: Out of the box API to support PermissionSet assignment to userGroup

    Hi, if I get you right then you want to assign permissions via an API. Unfortunately this is not possible out of the box. You can see available APIs here:

    https://api.businesscentral.dynamics.com/v2.0/[TenantID]/Production/api/v1.0/$metadata 

    You can request new APIs over on Github:

    GitHub - microsoft/ALAppExtensions: Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.

    Or see if you can use PowerShell instead.

    Hope this helps.

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Out of the box API to support PermissionSet assignment to userGroup

    Hi,

    Can you please elaborate a bit more, what do you mean by Out of the box Api?

    Thanks

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans