Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Answered

Portals Web API support for Microsoft Dataverse custom actions

Like (0) ShareShare
ReportReport
Posted on 29 Aug 2022 20:30:48 by 159

Hi forum,

 

I cannot seem to find any information regarding this feature other than the link below. Anyone have additional information? 

https://powerusers.microsoft.com/t5/Power-Apps-Portals/Portals-Web-API-support-for-Microsoft-Dataverse-custom-actions/m-p/1500272#M11471

 

Regards,

Irvin

Categories:
  • Verified answer
    iwaldman Profile Picture
    159 on 04 Sep 2022 at 20:19:41
    Re: Portals Web API support for Microsoft Dataverse custom actions

    I've subsequently learned that this feature was deprioritized with no plan for delivery. This is unfortunate as it eliminates the need for a companion app. I will continue to monitor with fingers crossed.

  • iwaldman Profile Picture
    159 on 30 Aug 2022 at 15:02:25
    Re: Portals Web API support for Microsoft Dataverse custom actions

    Hi @hugobernier , 

     

    Thank you for your response.

     

    My use case is calling custom actions using Portals Web API.

     

    I can make the call from Portals and it does succeed with a 200 OK. However, I get an empty response.

     

     

     

    appAjax('Calling Custom Action...', {
     type: "POST",
     url: "/_api/contacts(" + recordObj.id + ")/Microsoft.Dynamics.CRM.bulldogs_PortalCustomAction",
     contentType: "application/json",
     data: JSON.stringify({"InputArg": "Hello"}),
     success: function(res) {
     console.log(res)
     }
     });

     

     

     

    This behavior is documented in this blog post Call custom action using WebApi in PowerApps portals/ dynamics 365 portals  which seems to indicate that this feature while functional is not really Preview or GA nor can I find it in Microsoft documentation.  

     

    Also, I had to bind it to an entity when I prefer to use an unbound action.

     

    Kind regards,

    Irvin 

     

     

     

     

     

     

     

    image.png

  • Hugo Bernier Profile Picture
    on 30 Aug 2022 at 14:02:32
    Re: Portals Web API support for Microsoft Dataverse custom actions

    Hi @iwaldman ,

     

    Assuming that you're inquiring specifically about the custom APIs, you can call them by following these instructions:

    https://docs.microsoft.com/power-apps/developer/data-platform/custom-api#invoking-custom-apis

     

    Make sure that you configured the proper API settings on your site first, by following these instructions:

    https://docs.microsoft.com/power-apps/maker/portals/web-api-overview

     

    I hope this helps?

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - Customize & Extend

#1
Ajlan Profile Picture

Ajlan 4

#2
Fubar Profile Picture

Fubar 2 Super User 2025 Season 1

#2
CBDEV Profile Picture

CBDEV 2

Overall leaderboard

Featured topics