Hi All,
Usually while working on Dynamics 365/CRM WebAPI with external applications I register the application in the active directory of particular office365 to get client secret, I've been repeating this process for every organization I work with.
For example, if an application has to be registered for three organizations, then I have to register that application in the active directory of each organization to get the client secret then I will replicate the application and so the applications can run independently to connect with respective organization using the respective client secret.
I have following queries:
- I have 'n' number of organizations where the application has to be registered to run them, but it is really time consuming to register each of them manually to get the client secret.
- Instead of having different instances of same application to connect with various organizations I would like to know whether any solution available generically to connect with various organizations from an application using WebAPI (with/without AD app registration)?
Ideally I'm looking for a replacement of OrganizationService which I used generically by passing the credentials. But in WbAPI we need to register the app which is not a generic way and I would like ti know a generic way of accomplish it.
*This post is locked for comments