Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithInstance

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) WithInstance(instance string) EntraIdApplicationResource

Signature

methodWithInstancebuilder
Configures the Entra ID instance URL. Defaults to https://login.microsoftonline.com/.
WithInstance(instance string) EntraIdApplicationResource
instancestringThe Entra ID instance URL, such as https://login.microsoftonline.us/ for Azure Government or https://contoso.ciamlogin.com/ for an external tenant.
EntraIdApplicationResource

The resource builder for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: