EntraIdApplicationResource.WithOwners

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
type EntraIdApplicationResource interface {
// ... omitted for brevity
WithOwners(ownerObjectId any) EntraIdApplicationResource
}

Signature

methodWithOwnersbuilder
Appends an owner to both the application registration and service principal.
WithOwners(ownerObjectId any) EntraIdApplicationResource
ownerObjectIdanyThe directory object GUID of a user or service principal, as a literal or parameter.
EntraIdApplicationResource

The registration builder.

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

Defined on

This method is defined on the following type: