web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is it possible to authenticate odata source for virtual entity?

(0) ShareShare
ReportReport
Posted on by 515

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

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    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.

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    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]

  • Community Member Profile Picture
    on at

    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!

  • Micchael Profile Picture
    390 on at

    Hi, in case you need to authenticated u have to create a custom Data Provider. Have a look to the article:

    docs.microsoft.com/.../custom-ve-data-providers

    https://community.dynamics.com/crm/b/jasonlattimersblog/archive/2017/12/18/creating-a-custom-virtual-entity-data-provider 

  • Suggested answer
    Srujan K Profile Picture
    317 on at

    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

  • Community Member Profile Picture
    on at

    Hi Ashish,

    Were you able to authenticate?

    Thanks,

    Abu Sidhique

  • Suggested answer
    Farzad Profile Picture
    15 on at

    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.

  • ZiaUddin Profile Picture
    15 on at

    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). 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans