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 / Block unauthenticated ...
Power Pages
Unanswered

Block unauthenticated calls to /_odata/$metadata

(0) ShareShare
ReportReport
Posted on by 1
I am looking for a way to block unauthenticated portal users from making calls to the /_odata/$metadata endpoint.  We use OData calls for Authenticated users and because this is enabled in the portal metadata calls can still be made against the metadata by users not logged in.
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    pls try the following:
    • Go to Power Pages / Power Apps Portals Management in your environment.
    • Under Table Permissions, configure permissions for tables accessible through OData by setting them to allow only specific security roles (e.g., Authenticated Users).
    • Ensure no permissions are granted to Anonymous Users or any roles associated with unauthenticated access.
  • Suggested answer
    rulesrchanged1 Profile Picture
    on at
    You cannot block this endpoint to be used by only authenticated users. Although this will not mean that anonymous users can see any data of the table. 
    Also old odata lists are actually deprecated and would be removed in future, so i will suggest rather moving to webapi which provides better functionality as well as control.

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