Hi, I am in need to develop an application for a client. The app should interface with Dynamics 365 (online) and update some records. I already have experience in deploying web apps in azure and update records using the web api with Application User authentication.
The app will react to the creation of some type of record in crm and generate a unique url that anonymous users can access by navigating to it. There will be a UI that will allow such users to input data and update the record in Dynamics. The key part here is that users are anonymous (meaning that they should not be required to authenticate).
The first problem here is that, we don't want to deploy the application in the customer tenant but rather keep it in our tenant. I have achieved the above scenario in the past by deploying the application directly on the customer tenant but this is problematic from a maintenance perspective. Also it makes the application non-distributable, so if another customer will want the same, it will be a brand new app do create for them. I know this can be achieved with multi-tenant applications, but there is the problem of anonymity (see below).
The second problem is that multi-tenant application will require users to sign in using their credentials. The customer requires anonymous access to the data via a trusted user account, is this possible using multi-tenant applications?
I have read though this thread and it achieves everything I want except for the anonymous part. https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/212493/ms-dynamics-crm-web-api-using-azure-ad-multi-tenant-app?pifragment-108753=2#responses
Please let me know if you need more information regarding the requirements and if anything is unclear.
Thank you,
Christian