Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithApplicationOwners

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) WithApplicationOwners(ownerObjectId any) EntraIdApplicationResource

Signature

methodWithApplicationOwnersbuilder
Appends an application owner supplied as a literal directory object GUID or a parameter.
WithApplicationOwners(ownerObjectId any) EntraIdApplicationResource
ownerObjectIdanyThe directory object ID of a user or service principal.
EntraIdApplicationResource

The registration builder.

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

Applies to

This method applies to the following types: