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 / Azure function to crea...
Power Apps
Unanswered

Azure function to create rows in dataverse (Using power apps)

(0) ShareShare
ReportReport
Posted on by 18

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. 

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,714 Super User 2026 Season 1 on at

    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

    Blog : https://microsoftcrmtechie.blogspot.com

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    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.

  • AlGom Profile Picture
    18 on at

    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

  • MattB-MSFT Profile Picture
    Microsoft Employee on at

    You can walk though this video, created by an MVP.  Its a bit dated. but still generally accurate. 

    Connecting To Dataverse From Azure Functions Using Azure Key Vault - February 2021 Washington, DC Us - YouTube

     

    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 :). 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard