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, ...
Unanswered

odata action permissions required by the finance and operations user

(0) ShareShare
ReportReport
Posted on by 10

I have created a data entity and exposed an OData action. The method is meant to generate base64 string for the sales invoice. So the user would be assigned a specific role in F&O (not sys admin). I explicitly granted permission to the odata action method in the data entity.

 When I tested running this entity action from Postman, I got the following error

/User is not authorized to invoke method createSalesInvoiceBase64 on view CustTransEntity.  Request denied./,
 

If I give sys admin to the user, the entity works perfectly fine. But other than sys admin it just won't work. I have even tried giving the user as many roles as possible except for sys admin and still nothing. Am I missing something here? I went through the MS documentation but all it says provide dedicated user with appropriate permissions.

Can anyone help?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,407 Super User 2025 Season 2 on at
    odata action permissions required by the finance and operations user
    Hi pam9712,

    What permissions are granted to the data entity itself on this privilege? 
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    odata action permissions required by the finance and operations user
    See the data entities can be accessed only with admin access. You can try a work around like to assign the privileges of this data entity to user.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,882

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 525 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans