Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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? 

  • lizzha Profile Picture
    Microsoft Employee on at
    Re: Calling API to create record in Dataverse table, outside of the Portal

    Yes I understand that.

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

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Calling API to create record in Dataverse table, outside of the Portal

    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
    Re: Calling API to create record in Dataverse table, outside of the Portal

    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.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Calling API to create record in Dataverse table, outside of the Portal

    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
    Re: Calling API to create record in Dataverse table, outside of the Portal

    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,342 Most Valuable Professional on at
    Re: Calling API to create record in Dataverse table, outside of the Portal

    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

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35