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 / Dataverse access via W...
Power Apps
Suggested Answer

Dataverse access via Web Service API

(1) ShareShare
ReportReport
Posted on by 2

I am working on a project and we use D365 Field Service for our Support system, but part of our solution is a Mobile App built in Flutter that uses Azure C# Web Services APIs to connect to Azure SQL. I have been searching if there is a way to access Dataverse via a web API, and so far have had no luck. The samples I have found such as these:

https://learn.microsoft.com/en-us/training/modules/dataverse-web-api/

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/quick-start-blazor-server-app

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/get-started-dynamics-365-web-api-csharp

all require the User to authenticate via a Popup, which won't work in this case as they need the Authentication to happen in the C# Web Service, transparent to the User.

So the flow would be: User Clicks "View Cases" in the Mobile AppMobile App calls C# web service on Azure, which Authenticates the User, and retrieves all the cases assigned to that UserWeb Service returns the Cases to the Mobile App and they are displayed.

This is very easy to do with Azure SQL via secure SQL connections but I am hitting a wall trying to access the Cases in Dataverse. 

Can anyone help?

Thanks!

John.

  • Suggested answer
    MichaelFP Profile Picture
    2,008 Moderator on at
    Hello!
     
    To authenticate for that scenario of web api, I would recommend to use Non-Interactive users or Application users, for both cases you will  be able to generate a token authentication using OAuth flow without need a pop-up and MFA.
     
     
     
    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as answer ✔️. This is help the community.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard