Skip to main content

Azure permissions

CloudYali reads Microsoft Azure as a service principal you create, with a client secret. It needs read roles only: one on the storage account that holds the Cost Management export, and one on each subscription for resources and recommendations.

Service principal roles​

RoleScopeEnablesChecked when you connect
Storage Blob Data ReaderThe storage account the export writes toReading the export files: all Azure costYes
ReaderEach subscription CloudYali should coverResource Inventory through Azure Resource Graph, and Azure Advisor cost recommendations in Cost SavingsNo
Monitoring ReaderThe same subscriptions; optionalCloudYali's own rightsizing rules, which read Azure Monitor metrics. Without it, those rules are skippedNo

CloudYali reads only Advisor's cost recommendations, not its security, reliability or performance ones.

Roles the console names by agreement type​

The Connect Azure form names a role for each agreement type:

Agreement typeRole the form namesWhere
Pay-as-you-goCost Management ReaderThe subscription
Microsoft Customer AgreementBilling Account ReaderThe billing account
Enterprise AgreementCost Management Reader or Enrollment ReaderThe enrollment
CloudYali reads cost from the export files, so the service principal does not need these roles to
show cost. The person who creates the export needs access to Cost Management for that scope.

Agreement prerequisites​

AgreementSettingWhere
Microsoft Customer AgreementAzure charges set to YesCost Management + Billing → Billing account properties
Enterprise AgreementAccount Owner (AO) view charges turned onBy your Enterprise Admin

Where you see it in CloudYali​

The Connected tab of Integrations shows each subscription with its agreement type. To connect one, see Connect Azure.