<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.VisualStudioCredentialOptions

Options for configuring the VisualStudioCredential.
public IList<string> AdditionallyAllowedTenants { get; }

Specifies tenants in addition to the specified TenantId for which the credential may acquire tokens. Add the wildcard value "*" to allow the credential to acquire tokens for any tenant the logged in account can access. If no value is specified for TenantId, this option will have no effect, and the credential will acquire tokens for any requested tenant.

public TimeSpan? ProcessTimeout { get; set; }

The VisualStudio process timeout.

public string TenantId { get; set; }

The tenant ID the credential will be authenticated to by default. If not specified, the credential will authenticate to any requested tenant, and will default to the tenant the user originally authenticated to via the Visual Studio Azure Service Account dialog.