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 Pages / Portals Web API suppor...
Power Pages
Answered

Portals Web API support for Microsoft Dataverse custom actions

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • Hugo Bernier Profile Picture
    Microsoft Employee on at

    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?

     

  • iwaldman Profile Picture
    159 on at

    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

  • Verified answer
    iwaldman Profile Picture
    159 on at

    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.

  • CU11060920-0 Profile Picture
    2 on at

    Hi Irvin,

    Do you have any updates on this topic? Is Microsoft providing a way to invoke a custom action through a Power Pages Web API call and receive the response?

    Regards,
    Awais

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 46

#2
Valantis Profile Picture

Valantis 24

#2
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard