8 references to ServicePrincipalOwners
Aspire.Hosting.Azure.EntraId (5)
EntraIdApplicationResource.cs (3)
432foreach (var parameter in values.Concat(resource.ApplicationOwners).Concat(resource.ServicePrincipalOwners).OfType<ParameterResource>()) 562if (resource.ServicePrincipalOwners.Count > 0) 564servicePrincipal.Owners = CreateOwnerList(infrastructure, resource.ServicePrincipalOwners, "servicePrincipalOwner");
EntraIdResourceExtensions.cs (2)
1607AddOwners(builder.Resource.ServicePrincipalOwners, ownerObjectIds, nameof(ownerObjectIds)); 1625builder.Resource.ServicePrincipalOwners.AddRange(ownerObjectIds.Select(p => (object)p.Resource));
Aspire.Hosting.Azure.EntraId.Tests (3)
EntraIdPolyglotTests.cs (2)
260Assert.Equal(entra.Resource.ApplicationOwners, entra.Resource.ServicePrincipalOwners); 491Assert.Empty(entra.Resource.ServicePrincipalOwners);
EntraIdProvisioningTests.cs (1)
154Assert.Equal(entra.Resource.ApplicationOwners, entra.Resource.ServicePrincipalOwners);