asExistingApplication

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
interface EntraIdApplicationResource {
// ... omitted for brevity
asExistingApplication(
tenantId: string | ParameterResource,
clientId: string | ParameterResource): EntraIdApplicationResource;
}

Signature

methodasExistingApplicationbuilder
References an existing registration without undoing the Azure provisioning setup enabled when this resource was added.
asExistingApplication(
tenantId: string | ParameterResource,
clientId: string | ParameterResource): EntraIdApplicationResource
tenantIdstring | ParameterResourceThe registration's home tenant GUID or domain, as a literal or parameter.
clientIdstring | ParameterResourceThe registration's application client GUID, as a literal or parameter.
EntraIdApplicationResource

Applies to

This method applies to the following types: