CHAPTER 5
Usually, data collected from Application Insights resources can be analyzed by people with different skills to check a web application from various points of view, covering aspects from performance to marketing.
For this reason, in a large team, we could have more users accessing the dashboard and treat the same data in multiple ways. This means that every user could have different privileges on different parts of that data.
With the Access control (IAM) feature, we can assign distinct roles to different people, defining limited access to specific information.

Figure 15: The Access Control (IAM) Feature
When you create a new Application Insights resource, the Subscription admins user is defined by default, with the Owner role.
By clicking the Roles button at the top of the Access control (IAM) blade, as seen in Figure 15, we will see the built-in roles for Application Insights and its resources.
This list contains the following roles:
To add a user to the access list, you can use the Add button or the Roles button at the top of the Access control (IAM) blade. In both cases, a new blade on the right will open where you can choose the role to assign.
To be sure that the role fits user activities, you can use the Permissions button at the top of the Roles blade to see the full list of permissions assigned to a role as shown in Figure 16.

Figure 16: The Permissions List
By selecting a permission from that list, you can see in detail what actions that role can execute as in Figure 17.

Figure 17: Actions Allowed for a Single Role
In the next chapter, we will see how to define alert rules and warnings to notify users.