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 / 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.

I have the same question (0)
  • Suggested answer
    MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 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

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