Notifications
Announcements
Hello,
Is there any way to have a Power Pages app working with the data (read and write) in some DB directly (e.g., Azure SQL db), w/o replicating in Dataverse? Seems there is no such functionality.
Hi @orangealias
It is possible to interact with SQL cloud database via Virtual Tables. Official link below
https://docs.microsoft.com/en-us/power-apps/developer/data-platform/virtual-entities/get-started-ve
FYI. Dataverse is more than SQL database which include amazing features such as File attachments, images, etc..
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
Hi @ragavanrajan ,
Thank you, I agree, in many cases we may use virtual tables in Dataverse to work with DB.
But it looks like we cannot connect to the DB directly from Pages, without Dataverse, which is pity.
Regards,
A.
You can connect to a SQL Server database using plugins and C#. Also, if you can connect to your SQL data using Odata, you can use WebAPI.https://docs.microsoft.com/en-us/power-apps/developer/data-platform/tools/devtools-create-plugin
hi @orangealias
You can manipulate data via Portals API: Overview of portals Web API - Power Apps | Microsoft Docs
Is there any reason as to why you want to do it via SQL?
Whilst the data source is currently DataVerse (or Virtual Tables), if you have some data that you need to access from the Portal and doing so via Ajax would be appropriate then you could look at use OAuth 2.0 implicit grant flow (client-side calls to external APIs and secure them using OAuth implicit grant flow) https://docs.microsoft.com/en-us/power-apps/maker/portals/oauth-implicit-grant-flow there is a link towards the bottom of the page to some sample code on Github.
Note: they have announced are going to deprecate GET (think it was for obtaining a token) and so you will need to use POST.
Thank you all, we will stick to the external Api calls from our portal to the cloud db.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Fubar 74 Super User 2025 Season 2
Jerry-IN 55
sannavajjala87 31