Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Rest API - Security Role with least permissions

Posted on by 6
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
  • SO-17070842-0 Profile Picture
    SO-17070842-0 6 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
  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    Rest API - Security Role with least permissions
    which exact Dynamics 365 you are referring to?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,553 Super User 2024 Season 2 on at

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans