withOwners

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

Signature

methodwithOwnersbuilder
Appends an owner to both the application registration and service principal.
withOwners(ownerObjectId: string | ParameterResource): EntraIdApplicationResource
ownerObjectIdstring | ParameterResourceThe directory object GUID of a user or service principal, as a literal or parameter.
EntraIdApplicationResource

Applies to

This method applies to the following types: