7 references to AsExistingApplication
Aspire.Hosting.Azure.EntraId.Tests (7)
EntraIdProvisioningTests.cs (1)
1164: entra.AsExistingApplication(TenantId, ClientId);
EntraIdResourceBuilderTests.cs (5)
170Assert.Throws<ArgumentNullException>(() => EntraIdResourceExtensions.AsExistingApplication(null!, TenantId, ClientId)); 172Assert.Throws<ArgumentNullException>(() => entra.AsExistingApplication((string)null!, ClientId)); 173Assert.Throws<ArgumentNullException>(() => entra.AsExistingApplication(TenantId, (string)null!)); 176Assert.Throws<ArgumentException>(() => entra.AsExistingApplication("my-tenant", ClientId)); 177Assert.Throws<ArgumentException>(() => entra.AsExistingApplication(TenantId, "my-client"));
LocalDeveloperCertificateTests.cs (1)
264Assert.Throws<InvalidOperationException>(() => created.AsExistingApplication(tenant, client));