Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics 365 Portal OData Feed Security Issue

Posted on by Microsoft Employee

Hi, 

I set up the entity list for contact and enable the odata feed. That I can use the odata feed link to get the contact list data directly. However, it seems any one can get the data by the odata feed, anyone can give me the idea to control only the authentication user can use the odata feed to get the authenticated records?

*This post is locked for comments

  • WaseemM Profile Picture
    WaseemM 10 on at
    RE: Dynamics 365 Portal OData Feed Security Issue

    Is this working? can you post a step by stem guide as i'm not able to make it work, maybe i'm doing something wrong.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Dynamics 365 Portal OData Feed Security Issue

    In Dynamics 365 Portal, Enable Entity Permission on Entity List (made for enabling OData). And associate Authenticated User web role to that respective entity's entity permission.

    By doing this only authenticated user would be able to access the CRM data using Odata.

    Cheers

    Arpit

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Dynamics 365 Portal OData Feed Security Issue

    Hi,

    Currently there is no mechanism in Microsoft Portal to enable OData Feeds for only Authenticated Users. It's anonymous.

    The best way to provide security to OData Feeds is Liquid Template.

    You can write Liquid Code/Fetch XML to retrieve the data from CRM and return the JSON in response. Now you can use that JSON on multiple webpages in order to retrieve the CRM data in secured manner.

    Check this article:

    colinvermander.com/.../dynamics-365-portals-use-liquid-to-return-json-or-xml

    If found useful, please mark the answer as verified.

    Cheers

    Arpit

    arpitmscrmhunt.blogspot.com

  • Tyler Page Profile Picture
    Tyler Page 80 on at
    RE: Dynamics 365 Portal OData Feed Security Issue

    Hi Chin,

    Did you ever find a solution to this? I am having the same issue.

    -Tyler

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Dynamics 365 Portal OData Feed Security Issue

    Hi,

    Please check below link,

    community.dynamics.com/.../configuring-odata-feed-for-entity-list-in-portal-in-dynamics-365

    Best Regards,

    Shahbaaz

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans