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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Rest API - Security Role with least permissions

(1) ShareShare
ReportReport
Posted on by
I'm currently working on integrating a .NET routine that uploads data to D365. However, I've encountered a challenge regarding the authentication process due to security role configurations. My goal is to assign the least privileged security role necessary to allow the routine to authenticate successfully without compromising on security or functionality. I'm using an Azure AD enterprise app.
 
Could anyone provide insights or recommendations on which security role(s) in Dynamics 365 should be assigned to the app? Ideally, I am looking for the minimal set of privileges/permissions needed to perform data upload operations effectively.
 
If there are specific permissions within a role that are critical for the authentication and data upload processes, I would appreciate it if you could highlight them.
 
Thanks,
Sean
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,390 Super User 2025 Season 2 on at
    Rest API - Security Role with least permissions
  • Guido Preite Profile Picture
    54,086 Moderator on at
    Rest API - Security Role with least permissions
    which exact Dynamics 365 you are referring to?
  • SO-17070842-0 Profile Picture
    on at
    Rest API - Security Role with least permissions
    @Guido, it's Dynamics 365 Sales.
     
    I have one app registration that a Python app uses to connect, it has a limited access security role and connects ok.
    I have another app registration that a .Net routine uses to connect but it requires system administrator/customiser security role to connect which I don't understand.

    Regards,
    Sean

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 105

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 81 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans