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 / How should I create a ...
Power Apps
Answered

How should I create a record in Microsoft Dataverse through Web form

(0) ShareShare
ReportReport
Posted on by 108

My company has a Nuxt.js based landing page and a web form which a visitor to the landing page can submit an inquiry.  Once the visitor submits an inquiry, we want it to be stored in Microsoft Dataverse so that our sales team can take a look at it and act upon it from Power Platform.  This is similar to Salesforce's Web-to-Lead feature. 

 

Because the landing page is built on Nuxt.js, the web form needs to be a serverless form using Azure Function app. Once a form data is posted to the endpoint of Azure Function app(HTTP trigger), the data then should be stored in Microsoft Dataverse.  Is this feasible using Microsoft Dataverse Web API?  The reason I ask is, as far as I read the documentation, it is required to generate an access token through Azure Active Directory sign-in page and the token does not seem to be permanent (https://docs.microsoft.com/ja-jp/powerapps/developer/data-platform/webapi/setup-postman-environment).  In our use case scenario, the token should not expire. 

 

It would be greatly appreciated if anyone in the community who has encountered a similar case could share a solution/idea.

 

 

I have the same question (0)
  • Joel CustomerEffective Profile Picture
    3,224 on at

    Have you considered using Microsoft Forms for this? You can embed a form in a website using an embed code, and then use power automate to update or create the record in dataverse.

    You can also do this with code and the web api Create an entity record using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs

     

    If you just want a simple no authentication way to do it, microsoft forms + power automate can be a solution.

     

     

  • Fubar Profile Picture
    8,346 Super User 2025 Season 2 on at

    Landing Page type stuff is part of Dynamics 365 for Marketing (can embed a iframe or Script in your page) or as suggested by jlindstrom Forms Pro (now called Dynamics 365 "Customer Voice") can also push data to Dataverse/CDS but there are additional licencing costs involved If you are writing your own code when you talk to the CDS/Dataverse it will always require authentication, and you do not want to expose the credentials externally, so you would create your own web service / azure app etc that you can hide the credentials behind.

  • Verified answer
    Marcel Lathouwers Profile Picture
    237 on at

    Did you think about a powerplatform portal form? It is web based and data entering in the form directly lands in Dataverse, without any extra coding. You could iframe this portal page within your website. 

    If you don't put authentication on the portal page it will be available to your website wihout authentication. Of course you should hide it from web crawlers to avoid faudulace input.

    The OOB page 'contact us' creates a lead in dataverse. A good starting point.

     

    If you need to capture the data in your web application first, before sending it to dataverse, you could also create a cloud flow as webservice and sent your request to it without authentication. 

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard