Hi all,
is it possible to add, delete rows in dataverse using Azure functions? . The idea of this is to create a function in azure (timer trigger) to use as a custom conector with power apps that save a specific row every 5 mins for example.
You can walk though this video, created by an MVP. Its a bit dated. but still generally accurate.
Few key changes... The Client being used to connect to Dataverse in the video is called CdsServiceClient, that client is now called "Dataverse ServiceClient" and can be found here, its ok if you search for CdsServiceClient, it will guide you to the Dataverse ServiceClient.
Also I would encourage you to use the strong type code generators to aid in development and communications with Dataverse. This tool ( CrmServiceUtil ) will allow you to generate Model classes for your tables and custom API's when communicating with Dataverse. its not required, it just makes things easier :).
i've done the guide that you provide me but i i'm so new working with azure functions... You know some guide or video that "explain" how to work with dataverse table information. I mean some practice that, for example , create data in a dataverse table colum or edit existing data... Thanks for response :9
Hi @AlGom,
If you are using a timer trigger, it doesn't really make sense as a custom connector in Power Apps as you wouldn't be triggering it on-demand or based on some event.
In terms of using an Azure function in general though, yes you can use the Dataverse Service Client to programmatically modify data in Dataverse.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
Hi @AlGom
Yes it is Possible.
You can use below link for Creating Application User with Client ID and Client Secret
https://the365bit.com/2022/01/19/accessing-the-dataverse-from-an-azure-function/
then Publish the same in azure and make a Time Tigger
Ping me if you have any issues 🙂
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
mmbr1606
22
Super User 2025 Season 1
stampcoin
17
ankit_singhal
11
Super User 2025 Season 1