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

Notifications

Announcements

No record found.

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 316

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
    237,707 Most Valuable Professional on at

    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
    316 on at

    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
    237,707 Most Valuable Professional on at

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 687 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 403 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans