Adding identity and authentication to Azure Mobile Apps
In the previous chapter, we set up a new, live backend using an Azure Mobile App Service. The service contains a single table named Entry
, which houses all log entries for our TripLog app. Currently, the Entry
table is available anonymously. In this section, we will change the permissions on the Entry
table to require each request to contain an access token associated with an authenticated user.
Setting up permissions
In order to enforce authentication to access our backend service, we will need to make a simple configuration change to the Entry
table:
- Select your TripLog App Service in the Azure portal.
- Click on
Easy Tables
in theMOBILE
section in the left-side pane and then select theEntry
table, as shown in the following screenshot:

- Click on
Change Permissions
. - Change each of the table permissions to
Authenticated access only
. Then, click on theSave
button at the top of the pane, as shown in the following screenshot:

Now, any attempt...