Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Create case from power apps portal form

(0) ShareShare
ReportReport
Posted on by

Hi, 

I would like to create a case in customer service hub  after user send a custom form in power apps portal with his name and message describing his issue.

How do I create this record. Should insert the case via WebApi to the case entity?

This what mr. contoso wrote.... 

Name

Mr. Contoso Admistrator

 

Message

I  need help with my server….404 message

Thank you, 

Bill

  • peterhoyer Profile Picture
    peterhoyer 66 on at
    RE: Create case from power apps portal form

    Hi Clofly,

    I have the same question so I hope Bill will not mind me entering the conversation.

    Using the form you suggested, "Customer" is a mandatory and cannot be removed using form designer. The solution is not ideal as it does not allow to create a new contact but it will allow anyone to access quite sensitive data.

    Do you have any idea how to actually create a form suitable for anonymous access where the user will just enter name and e-mail? One workaround would be to generate an e-mail which then proceeds with the normal case creation queue but there should be a nicer way...

    Regards

    Peter

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Create case from power apps portal form

    Hi, Bill

    There is a Page Template "Customer Service - Create Case" in Custom Self-Service Portal.

    6685.c1.png

    So what you need to do is the following.

    1. First make sure that your case entity has a corresponding field to record the information you need to obtain from the user, which are name and message.

    For there’s an existing field ‘Description’, you can record the message with it.

    If the input name is always the log-in user, the field doesn’t need to be created due to it will be seen as a contact and shown as Customer in the form.

    Otherwise, you need to create a field to record the name which the user input.

    2. Create a Customer Self-Service Portal and edit it in the Power Apps.

    0410.c2.png

    3. Find the page of Create Case

    3124.c3.png

    4. Select the form of Create Case and edit it.

    c4.png

    5. Add the fields you’d like to use to collect information and remove the others.

    c5.png

    6. Save and publish

    7. Open the portal and log in. Go to the support page. Click the ‘Open a New Case’ It can also be created by clicking the ‘Create Case’ button in the bottom of the page.

    c6.png

    Then you will get a form only contains the fields which you want.

    c7.png

    After submitting, the case will be created in Customer Service Hub automatically.

    c8.png

    Hope this helps.

    Regards,

    Clofly

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans