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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Model Driven Apps - On...
Power Apps
Unanswered

Model Driven Apps - On Premise Database

(0) ShareShare
ReportReport
Posted on by 2

Dear All,

Can we build the Model Driven app with connecting On-Premise Sql database server ?

If yes please guide me.

Thanks.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @hasanjpm ,

    Model-driven apps (as per this post and this reference guide) are DataVerse only, however you can certainly have a Canvas app via on-premises SQL.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    @hasanjpm 

    One way to connect to an on-premise SQL database from a model driven app is to develop a virtual entity. This is an object that appears like a Dataverse table but connects to an underlying SQL table. This requires some C# expertise and some knowledge on how to secure your database.

     

    https://www.itaintboring.com/dynamics-crm/virtual-entities-revisited-setting-up-a-virtual-entity/


    The 'low code' method as @WarrenBelz  suggests, is to build a canvas app which you would then embed into your model driven app.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard