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