# AzureSandboxGroupResource.WithNoManagedIdentity

- Module: [Aspire.Hosting.Azure.Sandboxes](/reference/api/go/aspire.hosting.azure.sandboxes.md)
- Defined on: [AzureSandboxGroupResource](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `method`

Clears the managed identities explicitly configured for sandbox workloads.

## Remarks

Workload identities requested by individual compute resources are added to the sandbox group during
deployment preparation. Image pulls require a separate user-assigned identity. Aspire creates one by
default for new groups; callers can select one with `WithAcrPullIdentity` and must do so for existing groups.

## Definition

```go
type AzureSandboxGroupResource interface {
    // ... omitted for brevity
    WithNoManagedIdentity() AzureSandboxGroupResource
}
```

## Signature

```go
WithNoManagedIdentity() AzureSandboxGroupResource
```

## Returns

[`AzureSandboxGroupResource`](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [AzureSandboxGroupResource](/reference/api/go/aspire.hosting.azure.sandboxes/azuresandboxgroupresource.md) -- `handle`
