# AzureQueueOptions.ConfigureQueueServiceClient(Uri, AzureSasCredential)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamOptions.cs#L105-L108)

```csharp
[System.Obsolete(Set the QueueServiceClient property directly.)]
public void ConfigureQueueServiceClient(Uri serviceUri, AzureSasCredential azureSasCredential)
```

Configures the [AzureQueueOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/) using an authenticated service URI and a `Azure.AzureSasCredential`.

### Parameters

- `serviceUri` (`Uri`)
- `azureSasCredential` (`AzureSasCredential`)
