How to enable the Power Pages Web API for a table
The Power Pages Web API (/_api/...) doesn’t work with any table until you enable it yourself. You need two things, the site settings and the table permissions.
In Site Settings, add these two entries:
| Name | Value |
|---|---|
Webapi/account/enabled | true |
Webapi/account/fields | address1_city,description |
Replace account with your table’s logical name. fields is a comma separated list of the columns that can be read and written. You can use * to include all of them, but I’d rather keep it to the ones I actually use.
Then, under Table Permissions, create a permission for the table with the privileges you need (read, create, write) and the right access type, whether that’s global, contact or account. Assign it to the web role of the users who will call the API.
If it still doesn’t respond after all that, it’s probably the cache not having picked up the changes yet. As an administrator you can force a refresh from /_services/about.