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

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 1 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard