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

Announcements

News and Announcements icon
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,803 Super User 2026 Season 1 on at
  • Guido Preite Profile Picture
    54,086 Moderator on at
    which exact Dynamics 365 you are referring to?
  • SO-17070842-0 Profile Picture
    on at
    @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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 148

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 86 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 85 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans