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