Skip to content

Configure Storage for Exports (CSP)

This scribe is only for CSP customers which install Cloudmonitor in different tenants.

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"

Select a Resource Group in which to create the new Storage Account. We recommend setting up a new Resource Group.

If you are a NonCSP Customer, the chosen Subscription MUST be in the same Subscription as the CloudMonitor Engine.

If you are a CSP Customer, your Customer may choose any Subscription, the new Storage Account MUST be created in their tenancy.

If you are a CSP Customer, your Customer may choose any Subscription, the new Storage Account MUST be created in their tenancy

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

To avoid paying egress fees select the same region that contains the CloudMonitor engine.

To avoid paying egress fees select the same region that contains the CloudMonitor engine

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.
  3. Finally, send the copied information to our team via live chat and confirm that you have completed this Helpdesk Article.

Find the Blob Service SAS URL located at the bottom of the page. Copy this URL and store it securely. 2