withServicePrincipalOwners

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

Signature

methodwithServicePrincipalOwnersbuilder
Appends a service principal owner supplied as a literal directory object GUID or a parameter.
withServicePrincipalOwners(ownerObjectId: string | ParameterResource): EntraIdApplicationResource
ownerObjectIdstring | ParameterResourceThe directory object ID of a user or service principal.
EntraIdApplicationResource

Applies to

This method applies to the following types: