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 Pages / Calling API to create ...
Power Pages
Unanswered

Calling API to create record in Dataverse table, outside of the Portal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a PowerApps portal, where users can create some records. The users would like to call some API outside of the portal, so that they can create records without opening the website and click on it.

Is it doable? 

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi, yes you can use Dataverse / D365 API and perform pretty much any action there: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/overview

     

  • lizzha Profile Picture
    Microsoft Employee on at

    Thanks Oliver,

     

    I read the documents, it seems the user to use Dataverse API should be the user that can log into the https://make.powerapps.com site. That's different as the PowerApps Portal users.

    Can PowerApps Portal users call the API directly?

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi, I am a bit confused, your original question was: "The users would like to call some API outside of the portal, so that they can create records without opening the website and click on it"

     

    if they are outside the Portals, you can look at Dataverse API, the Power Apps Portals API can only be used within the Portals

  • lizzha Profile Picture
    Microsoft Employee on at

    Hi Oliver,

     

    Sorry for the confusion. Can Portal users call the Dataverse API? i.e. call the Dataverse API with the credential to login the PowerApps Portal.

     

    I read that calling the Dataverse API requires the credential to login https://make.powerapps.com. But I don't want to grant portal users access to https://make.powerapps.com.

     

    The original request is that users want an automated way to create a record in Dataverse, without opening the portal and click on the website. I also need the user role and entity permissions take effect.

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @lizzha , 

     

    JFYI. Without authentication / anonymous access it is not possible to call the API.  

    To call the API

    • The valid user account for a Dataverse instance
      • Your username
      • Your password

    Also, FYI: Local login is going to be deprecated. 

     

    Hope it helps. 

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

    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.

  • lizzha Profile Picture
    Microsoft Employee on at

    Yes I understand that.

    Portal users can authenticate using AAD. Looks like they cannot call Dataverse API or Portal API directly.

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 Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard