# AzureBlobLeaseProviderOptions.ConfigureBlobServiceClient(Uri, AzureSasCredential)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Options/AzureBlobLeaseProviderOptions.cs#L90-L91)

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

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

### Parameters

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