Dataverse access via Web Service API

John Smith 0 Reputation points
2024-12-14T13:25:47.71+00:00

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.

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rakesh Gurram 15,700 Reputation points Microsoft External Staff Moderator
    2024-12-15T06:17:07.07+00:00

    Hi John Smith,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    This topic is not currently supported within the Q&A forums. We recommend starting a new discussion in the Power Apps - Microsoft Dataverse, where moderators and community members are available to provide guidance and assistance.

    If the information is helpful, please Accept Answer & Upvote so that it would be helpful to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.