4 references to WithExternalApiAdminConsentForExport
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdPolyglotTests.cs (3)
443.WithExternalApiAdminConsentForExport(EntraIdWellKnownApi.MicrosoftGraph, 556Assert.Throws<ArgumentOutOfRangeException>(() => web.WithExternalApiAdminConsentForExport(EntraIdWellKnownApi.MicrosoftGraph, [undefinedType])); 559Assert.Throws<InvalidOperationException>(() => web.WithExternalApiAdminConsentForExport(EntraIdWellKnownApi.MicrosoftGraph, [permission]));
EntraIdProvisioningTests.cs (1)
201"consent-external-export" => entra.WithExternalApiAdminConsentForExport(EntraIdWellKnownApi.MicrosoftGraph, [new() { Name = "User.Read" }]),