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 / Web API 403 error with...
Power Pages
Unanswered

Web API 403 error with account-type permissions

(0) ShareShare
ReportReport
Posted on by 91

Hi

 

I have successfully implemented a GET web API call on the accounts table, for which the user has global permissions.

 

However when making the same call to the contacts table, 403 is returned. The only difference is that the table permissions are account type, not global.

 

I just want to understand whether the table permission has to be global or if I need to add anything to the call when it's account type, such as a filter? Both account and contact tables have fields set to * in settings.

 

Thanks

 

Robert

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,361 Super User 2025 Season 2 on at

    It is not clear exactly what you have setup from your description, or what the API call is that you are making .

     

    In a nutshell...

    If the portal user just needs to access their own record, then a Table Permission on with Scope = Self.

     

    If the Portal User needs to access a record where there is a Lookup column populated with that Portal User (their contact record), then a Table Permission for the table that has the lookup with scope = Contact

     

    If the Portal User needs to access a record where there is a Lookup column populated with that Portal User's parent Account , then a Table Permission for the table that has the lookup with scope = Account.

     

    Beyond the above, you would use Scope = Parent (in the new interface child permissions), which gives access to child records based on the portal user already having access to the parent record.

     

    Edit: for things to be secure, Global scope should be used sparingly often just for Reading and appending configuration data such as a a table of categories or types that users need to see all values to be able to select an appropriate one from the list.

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
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard