web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

API-access to projects and project numbers

(0) ShareShare
ReportReport
Posted on by 314

Hi,

I got a request from a user who wants API-access, so the question is, how do I grant him this access?

The user says that he needs a user account that can pull projects and project numbers.

Is it a security role that gives him access to this functionality?

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,962 Most Valuable Professional on at
    RE: API-access to projects and project numbers

    If you give users permissions for a public data entity, they can call the OData service.

    For example, Projects V2 (ProjProjectV2Entity) is public and read permissions are granted by View projects entity (ProjectEntityView) privilege. This privilege is already assigned to quite a few roles, such as Project assistent or Sales clerk.

  • Gaute K Profile Picture
    314 on at
    RE: API-access to projects and project numbers

    I am not a developer myself, so I have limited knowledge in this domain.

    I checked the user's security role, and it includes the "View project entity" privilege.

    What do you mean by "they can call the OData service". How do they do that? Do we need to grant the user any access?

  • Martin Dráb Profile Picture
    236,962 Most Valuable Professional on at
    RE: API-access to projects and project numbers

    I would assume that they know how to use the API if they ran into a lack of permissions. If so, you either don't have to care or you can ask them to show it to you.

    Note that users normally don't access web APIs directly (although you can query OData services directly in a browser), but rather through Excel, Power Automate and such things.

    If they have no idea how to use it, permissions is quite useless to them. Then you should involve someone competent to discuss their requirements with them and suggest a suitable solution.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 703 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 542

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans