web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

How to create a record from portals to CRM

(0) ShareShare
ReportReport
Posted on by 195

Hi,

Want to create a record from portals to CRM on custom button click. I tried using portal webapi's it is working but it is still in preview I cannot use it in production.Is there any other way to create a record from "portals"?

Is it possible using clientid, tenantid, clientsecret? If it is possible please help me with it.

Regards,

Susritha

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Susritha,

    Create a new form or add a tab in an existing form which will contain all fields required. Create a new entity form for entity that you want use the above mentioned form/tab. Use this entity form on the web page. This should allow you to add records in CRM.

    You can refer following link:

    https://softchief.com/2020/03/03/create-record-using-entity-form-in-dynamics-365-portal/

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Fubar Profile Picture
    2,761 on at

    You can do it via extra setup and coding using oauth implicit grant flow (but the webapi is much more simple)

    docs.microsoft.com/.../oauth-implicit-grant-flow

    at the bottom of the page there are some links to where some sample code has been provided

    docs.microsoft.com/.../oauth-implicit-grant-flow

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at

    We highly recommend users to migrate to PowerUsers community for new Portal questions:

    powerusers.microsoft.com/.../PowerAppsPortals

    ------------

    Hi, please take a look at the web API operations

    docs.microsoft.com/.../web-api-perform-operations

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans