Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

APIs for User Management in Dynamics 365 Finance & Operations

(1) ShareShare
ReportReport
Posted on by

Dear Team,

We have a Dynamics 365 Finance & Operations tenant and are seeking guidance on APIs related to user management. Specifically, we need to:

  1. Retrieve all user information from Finance & Operations.
  2. Create a user, assign roles, and remove roles programmatically.

We reviewed the official documentation here, but it did not fully address our requirements.

Could you please provide:

  • A list of APIs available for fetching system user data.
  • Official documentation for APIs that support creating users and managing roles (adding/removing).

Your assistance in this matter would be greatly appreciated.

Best regards,
Sachin Vishwakarma

Screenshot 2025-0...
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 2,222 Super User 2024 Season 2 on at
    APIs for User Management in Dynamics 365 Finance & Operations
     
    The out of the box way is via Data Entities, and the list of entities Sukrut shared on André's website are the list I use myself when managing users.
     
    The APIs to interact with those data entities are OData, Package API, and Recurring integrations. Each work differently and are suited to different scenarios (e.g. synchronous vs asynchronous), so review them here: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/integration-overview
     
    If your requirements are complex or nuanced and need custom APIs, you can do this too. You can create & deploy custom data entities which can be interacted with using the same API options above, and if needed can create custom services, where the logic is handled entirely by X++ and the payload is passed as a parameter.
     
    Take a look at this postman project, specifically the calls to retrieve users and create a user, to help you get started. If uses OData:
     
     
    Anthony
     
     
     
     
  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,660 Moderator on at
    APIs for User Management in Dynamics 365 Finance & Operations
    If you want to get roles assigned to users there is a custom service called "SysUserManagement". 
     
    You can also take a look/ search data entities in application exploerer which are starting with SystemSecurity and use those in your automation scenarios. 
     
    for example, you can use  SystemSecurityRoleEntity to get information about user roles assigned to specific user.
     or use SystemUserEntity to get information about user.
     
    Also take a look at this article from Ander where he talked about user and their security settings and list of entities available with in F&O which you can use to do your automation.
     
     

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,551 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans