Add the Enrollment Reader role to the Microsoft Azure service principal
Assign the Enrollment Reader role to the Azure service principal for your Enterprise Agreement (EA) account to retrieve billing, purchase, and pricing data. You can assign this role using a Microsoft API.
Before you begin
Role required: Enterprise administrator
About this task
Enrollment reader roles can view subscription charges related data at the enrollment, department, and account scopes. They can also view the Azure prepayment balance linked with the enrollment. Enrollment reader role is required only for EA accounts.
Procedure
What to do next
Schedule and manage the jobs that download Azure billing data