Skip to content

Configure Storage for Exports (SaaS)

In Azure Portal, navigate to the Storage accounts - Microsoft Azure and click “Create”.

In Azure Portal, navigate to the Storage accounts - Microsoft Azure and click "Create"

Choose a Resource Group in which the new Storage Account will be created. We recommend creating a new Resource Group for easier management and isolation.

You may select any subscription, but the Storage Account must be created within the same Azure tenant (directory) as the subscriptions and billing accounts that you intend to monitor.

You may select any subscription, but the Storage Account must be created within the same Azure tenant (directory) as the subscriptions and…

Name the Storage Account in accordance with your existing organisational tagging standards and naming conventions.

Name the Storage Account in accordance with your existing organisational tagging standards and naming conventions

Select the closest Region for you.

Select the closest Region for you

Choose LRS for storage redundancy, then click “Advanced”.

Choose LRS for storage redundancy, then click "Advanced"

Make sure Hierarchical Namespace is unticked. then click “Review” and “Create”.

Make sure Hierarchical Namespace is unticked. then click "Review" and "Create"

You will receive a notification for when the Storage Account has been successfully deployed. Click “Go to resource” in preparation for the next section.

You will receive a notification for when the Storage Account has been successfully deployed

Navigate to Subscriptions - Microsoft Azure and select the same Subscription the Storage Account will be located in.

Navigate to Subscriptions - Microsoft Azure and select the same Subscription the Storage Account will be located in

Click “Resource providers”.

Click "Resource providers"

Filter by and select “Microsoft.CostManagementExports” and then click “Register”.

Filter by and select "Microsoft.CostManagementExports" and then click "Register"

You will receive a notification for successfully registering the Resource Provider.

You will receive a notification for successfully registering the Resource Provider

Navigate to the Storage Account Resource we just created.

Navigate to the Storage Account Resource we just created

Navigate to Access Control (IAM) and click “Add > Add role assignment”.

Navigate to Access Control (IAM) and click "Add > Add role assignment"

Under the Role tab, select “Storage Account Contributor” as the Role.

Under the Role tab, select "Storage Account Contributor" as the Role

Switch to the Members tab, and click “Select members”.

Switch to the Members tab, and click "Select members"

Search and select your CloudMonitor Service Principal name.

Search and select your CloudMonitor Service Principal name

Switch to the Review + assign tab and “Review + assign”.

Switch to the Review + assign tab and "Review + assign"

You will receive a notification for successfully assigning the “Storage Account Contributor” role.

You will receive a notification for successfully assigning the "Storage Account Contributor" role

Navigate to the Storage Account and Click “Configuration”

Navigate to the Storage Account and Click "Configuration"

Expand the drop down of “Permitted Scope for Copy Operation” and Click “From any storage account”

Expand the drop down of "Permitted Scope for Copy Operation" and Click "From any storage account"

Click “Save”.

Click "Save"

On the same Storage Account Resource, click “Shared access signature”.

On the same Storage Account Resource, click "Shared access signature"

To ensure secure and minimal access configure the SAS with the following settings:

  1. Under Allowed Services, check ‘Blob’ to restrict access to Blob storage only.
  2. For Allowed Resource Types, select ‘Service’, ‘Container’ and ‘Object’ to permit operations at the service, container and blob level.
  3. Choose Allowed Permissions ‘Read’, ‘Write’, ‘Delete’, ‘List’, and ‘Create’ to exclusively manage blob content within the container.
  4. Do not enable any other services or permissions not specified here.

Apply these settings to provide CloudMonitor with the necessary permissions to manage blobs without overextending access rights.

Apply these settings to provide CloudMonitor with the necessary permissions to manage blobs without overextending access rights

When setting the SAS expiration, it’s advised to choose a date two years from today to ensure continued access without frequent renewal.

When setting the SAS expiration, it's advised to choose a date two years from today to ensure continued access without frequent renewal

Click “Generate SAS and connection string”

Click "Generate SAS and connection string"

  1. Find the Blob Service SAS URL located at the bottom of the page. Copy this URL and store it securely.
  2. Also, copy the URL of this webpage. It contains the Storage Account Resource ID.

Save this information in a safe place since that information will be required in the next step.

Save this information in a safe place since that information will be required in the next step