Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Available APIs to get ...
Finance forum
Suggested answer

Available APIs to get system users data ?

Posted on by 4
Hi Experts !
We have a Dynamics 365 Finance & Operations tenant. We have imported some of our users and service principals from Azure Active Directory.
We are looking for APIs to get all the user information from Finance & Operations. Did not find this official documentation useful: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-management-api

We have 2 questions:
  1. What are all the APIs available that give system user data ?
  2. We would also like to distinguish between human Identities and Machine Identities (Service Principals, service accounts etc).
         Is there any attribute in user data APIs that will help us to distinguish between human and machine users ?
  • Layan Jwei Profile Picture
    Layan Jwei 7,175 Super User 2024 Season 2 on at
    Available APIs to get system users data ?
    Hi Community member,
     
    Maybe you are looking for this?
     
    When you call the api, you'll see all fields it returns.
     
    Please don't forget to verify the answers that helped.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Available APIs to get system users data ?
    Hi Layan,
    Thank you for your response. I will try calling the URL/data/SystemUsers.

    Can you please share the official documentation for this API ? Need to see what all SystemUser attributes the API has.
     
    Regards.
  • Suggested answer
    Layan Jwei Profile Picture
    Layan Jwei 7,175 Super User 2024 Season 2 on at
    Available APIs to get system users data ?
    Hi Community member,

    Did you try to call the "SystemUserEntity":  URL/data/SystemUsers

    Regarding the other question, I don't think it's possible (not sure). I can see that there is a field called AccountType, but i don't think it's what you need

     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,818 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans