Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AsExistingApplication

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) AsExistingApplication(
tenantId any,
clientId any,
) EntraIdApplicationResource

Signature

methodAsExistingApplicationbuilder
References an existing registration without undoing the Azure provisioning setup enabled when this resource was added.
AsExistingApplication(
tenantId any,
clientId any,
) EntraIdApplicationResource
tenantIdanyThe registration's home tenant GUID or domain, as a literal or parameter.
clientIdanyThe registration's application client GUID, as a literal or parameter.
EntraIdApplicationResource

The registration builder.

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

Applies to

This method applies to the following types: