Assigning Roles for collecting Cost data from the Export Job
Azure data collection must be enabled if you want Cloud Cost Management (CCM) to provide Bill Analysis reports. Specific Roles must be assigned as described below to ensure that CCM can collect the Cost data.
Login to the Microsoft Azure Portal
Go to your Subscription
Go to Access Control (IAM)
Link the Role with the Application (which is mapped to the ApplicationID). Click on Add > Add role assignments
Search using name, here we need to assign two Roles
Monitoring Reader
Reader and Data Access : This role is required to read the Cost and usage report generated from the Export Job.
Select the Role and click next to add Members to the role
Click on Select members to add Application to the Role
Once complete, Click Review + Assign to complete the process
To verify that the Role has been assigned correctly, check under Role assignment of a Subscription to confirm if the Role is assigned.