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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How query crm database from another desktop application

(0) ShareShare
ReportReport
Posted on by 458

We have a desktop application, It is not a web-based application and we can not call OData/Rest on that.
But we need order data of the crm from that application.
I know the CRM have FilteredViews, and also views.
Can I query them and use their data?
Or create new View in the CRM Database?

If yes How can I give access to FilteredView or View so the that desktop application can access CRM Data.
Or any other solution?


*This post is locked for comments

I have the same question (0)
  • Verified answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    Modifying CRM SQL Database is not supported and I would not recommend creating any new views.

    You could use filtered views to get the data you want and filtered view applies CRM security model, meaning the app user AD account should be a CRM user.

    What the filtered view does is when someone access data using them, it uses the AD sam account name to get user id from the systemuser table and then checks if the user is allowed to access particular entity. As long as you give all the permissions necessary for that user in CRM, it should allow them to access the data

    Note: Your application connection to SQL should be using Windows Authentication and it should use the integrated security so that current users AD account can be detected by filtered views.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans