7 references to WithServicePrincipalOwners
Aspire.Hosting.Azure.EntraId (4)
EntraIdResourceExtensions.cs (4)
1679/// Application and service principal ownership are separate; use <see cref="WithServicePrincipalOwners(IResourceBuilder{EntraIdApplicationResource}, string[])"/> 1806string literal => builder.WithServicePrincipalOwners(literal), 1821/// <see cref="WithServicePrincipalOwners(IResourceBuilder{EntraIdApplicationResource}, string[])"/> with the same IDs. 1828return builder.WithApplicationOwners(ownerObjectIds).WithServicePrincipalOwners(ownerObjectIds);
Aspire.Hosting.Azure.EntraId.Tests (3)
EntraIdProvisioningTests.cs (3)
178"service-principal-owner-literal" => entra.WithServicePrincipalOwners(ClientId), 267.WithServicePrincipalOwners("11112222-aaaa-3333-bbbb-4444cccc5555") 371Assert.Throws<ArgumentException>(() => entra.WithServicePrincipalOwners(" "));