# getScopeUri

- Module: [Aspire.Hosting.Azure.EntraId](/reference/api/typescript/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Gets an expression for the full URI of one of this registration's scopes, such as api://{clientId}/access_as_user.

## Definition

```typescript
interface EntraIdApplicationResource {
  // ... omitted for brevity
  getScopeUri(scopeName: string): ReferenceExpression
}
```

## Parameters

- `scopeName` (`string`)

## Returns

`ReferenceExpression`

## Applies to

- [EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md)
