Edit

Share via


Deploy the Azure Storage Discovery service

To deploy the Azure Storage Discovery service, you need to create a Discovery workspace resource in one of your resource groups. With this resource, you define which storage resources you want to cover across your Microsoft Entra tenant and how you want to segment reporting for them. The workspace offers prebuilt reports in the Azure portal that you can use to retrieve the insights you need about your storage resources.

Follow the steps in this article to create an Azure Storage Discovery workspace resource.

Create a storage discovery workspace

You can create a storage discovery workspace using the Azure portal, Azure PowerShell, or the Azure CLI.

Create an Azure Storage Discovery Workspace resource in the Azure portal by selecting Create as shown in the following image.

Screenshot of the Create workspace page.

Choose the Subscription and Resource group in which to create the discovery workspace. The following table describes each element.

Element Description
Name The name of the Discovery workspace resource.
Description Optional. Description of the Discovery workspace resource.
Region Azure region where the Discovery resource is created.1
Pricing plan Storage Discovery pricing plan.2

1 For information on regions covered, see Storage Discovery workspace regions. 2 For information on Storage Discovery pricing plan, see Understand Storage Discovery Pricing.

Define workspaceRoots

A workspaceRoot specifies the top-level Azure resource identifiers where Storage Discovery initiates its scan for storage accounts. These identifiers are typically subscriptions or resource groups, and serve as the root of the discovery process. WorkspaceRoots define the overall scope and boundaries of your Azure estate for analysis.

Select the subscriptions and/or resource groups you want to include in the workspace.

Note

  • Ensure that the user or service principal deploying the workspace is granted at least Reader access to each specified root.
  • Up to 100 resources - subscriptions and/or resource groups can be included in one workspace.
  • The default limit of 100 resources per workspace can be increased. Reach out Azure Support. Provide the tenantID, SubscriptionID where you would want this limit to be increased.

Screenshot of the workspaceRoots.

After you add your subscriptions or resource groups to your workspace, the service runs an access check to verify that the user has Microsoft.Storage/storageAccounts/read on the added resources. The following image provides an example of an access check failure with the associated status message.

Screenshot of the access check on workspaceRoots.

If you don't have Microsoft.Storage/storageAccounts/read on any of the resources added, remove the resource from the workSpaceRoots to proceed with the creation of workspace or resolve the access issue and try again.

Create a Scope

Scopes are logical groupings of storage accounts within the defined workspaceRoots. Scopes allow you to filter and organize data using tags and resource types, enabling targeted insights. For example, you can create scopes for individual departments, environments, or compliance zones.

Screenshot of a scope.

Important

A default Scope is added automatically, which includes all storage accounts within subscriptions or resource groups added in the workspaceRoots.

You can optionally add tags to this workspace resource. Then select Review and Create. If the access validation is still running, you can't create the workspace resource yet. Wait for this check to finish, correct any issues, then confirm by selecting Create.

Screenshot of access checks running.

Note

Discovery resource creation fails if the access checks on any subscription or resource group isn't successful.

After the access checks complete successfully, the resource can be deployed as shown in the following sample image.

Screenshot of the deployment complete.

Note

It can take up to 24 hours after scope creation for metrics to begin appearing in reports.