In order to get the billing data for Azure in OpsRamp portal, you need to enable the Rate Card API to calculate an estimate for your Azure spend. This will help you to monitor the spending over a period of time from the OpsRamp portal.
Step 1: Enable API
To enable the Rate Card API:
- Log in to the Azure portal.
- From the left-hand side navigation menu, click Subscriptions.
- Select the subscription that you want to enable the RateCard API.
- From the left-hand side navigation menu, click Resource providers.
- Search for Microsoft.CostManagement in the list of resource providers. If the status of the provider is Not Registered, you need to register the provider.
- Select the provider and click the Register button to register.
- Once the provider is registered, click Access control (IAM) from the left-hand side navigation menu.
- Click Add button to add a new role assignment.
- Select Reader as the role and Azure AD user, group, or service principal as the assignee.
- Enter the details of the user or service principal to grant access.
- Click Save. The role assignment is saved successfully.
Step 2: Get Offer ID
Once the Rate Card API is enabled, you need to find the Azure billing Offer ID in the Azure portal so that the Offer ID can be used to configure in the OpsRamp portal.
To find the Azure billing Offer ID:
- Log in to the Azure portal.
- Navigate to the Subscriptions page.
- Click Overview from the left-hand side menu.
- On the Overview page, you can find the offer name under Plan as shown below:

Note: You can find the offer ID based on the offer name in this below link: - Microsoft Azure Offer Details.
For example, the Offer ID for Azure Plan is MS-AZR-0017G. The MS-AZR indicates the name which is common for all Offer IDs. The ID 0017G varies based on your requirements.
OpsRamp Configuration
After you get the Offer ID from Azure portal, you need to set the offer ID in OpsRamp.
To set the Offer ID:
- Log in to the OpsRamp portal.
- Click All Clients. From the drop-down list, select a client.
- Go to Setup > Integrations and Apps > Integrations.
- Click on Azure integration and go to the discovery profile.
- Select the Collect Cost Analytics checkbox under Perform Actions.

- Enter the Azure billing Offer ID generated in the Azure portal.
- Click Update.The configuration is successfully created.