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

Announcements

News and Announcements icon
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
    156,125 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
    37,271 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard