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

Azure.Identity.VisualStudioCodeCredentialOptions

Options for configuring the VisualStudioCodeCredential.
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 string TenantId { get; set; }

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