Hello,
Latest dynamics 365 version allows us to create virtual entity to interact with external systems which is very well explained here - https://blogs.technet.microsoft.com/lystavlen/2017/09/08/virtual-entities/
but I am wondering about how can we authenticate data source? any one has tried it?
Regards,
Ashish
*This post is locked for comments
Hello
I have been using the static API Key method for the last X number of years - is there a solution to authenticate the odata source using the MS identity platform in azure app service, are we still stuck on this issue where the model driven application cannot provide the necessary authentication to the app service (in which odata source his hosted).
depends on the security of your oData server, in most scenario you can't do it and it's useless ! e.g. If you try to connect to another dynamic 365 instance's odata feed , ten you need to generate a "Bear Token" from ADFS.
The only way that it can work is when you have an oData server which has hardcoded (static) ApiKey.
in that case when you creating your Data PRovider , just scroll down and put a http header and put your ApiKey there.
in my opinion, microsoft should add some extra facilities such as:
* defining username & password
* a way of use secret key and connection to something like identity server
* a way if transferring the secuity of the user in run time when your using 2 different dynamic 365 as source and destination.
Hi Ashish,
Were you able to authenticate?
Thanks,
Abu Sidhique
It is not possible to authenticate , But you can authorise . Check the article - community.dynamics.com/.../implementing-authorization-in-odata-v4-source-api-using-query-string-parameters-for-d365-virtual-entities for implementing authorization
Hi, in case you need to authenticated u have to create a custom Data Provider. Have a look to the article:
Hi Ashish,
Were you able to authenticate the data source? I am trying similar stuff where I need to integrate two MS Dynamics instances.
Thanks in advance!
There is a place to configure your oData source and credentials if am not wrong..
Inside Dynamics 365, go to Settings à Administration click on Virtual Entity Data Sources.
For more info, pls refer the link below.
[View:https://community.dynamics.com/crm/b/nishantranaweblog/archive/2017/10/13/configuring-virtual-entity-in-dynamics-365]
Hi Ashish
there are parameters there, and I'm guessing you should be able to pass those to the data source through the query string.. but, other than that, I'm not sure there is any other way to implement authentication.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156