6 references to WithServicePrincipalOwners
Aspire.Hosting.Azure.EntraId (4)
EntraIdResourceExtensions.cs (4)
1525
/// Application and service principal ownership are separate; use <see cref="
WithServicePrincipalOwners
(IResourceBuilder{EntraIdApplicationResource}, string[])"/>
1645
string literal => builder.
WithServicePrincipalOwners
(literal),
1659
/// <see cref="
WithServicePrincipalOwners
(IResourceBuilder{EntraIdApplicationResource}, string[])"/> with the same IDs.
1666
return builder.WithApplicationOwners(ownerObjectIds).
WithServicePrincipalOwners
(ownerObjectIds);
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdProvisioningTests.cs (2)
36
.
WithServicePrincipalOwners
("11112222-aaaa-3333-bbbb-4444cccc5555")
140
Assert.Throws<ArgumentException>(() => entra.
WithServicePrincipalOwners
(" "));