public async Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = new CancellationToken())
        {
            var query = GraphQuery.ForResourceType("microsoft.logic/workflows")
                        .Project("subscriptionId", "resourceGroup", "type", "name", "id")
                        .LimitTo(1)
                        .Build();

            if (_resourceDeclarationMonitor.CurrentValue.AzureLandscape?.Subscriptions == null ||
                _resourceDeclarationMonitor.CurrentValue.AzureLandscape?.Subscriptions?.Any() == false)
            {
                return(HealthCheckResult.Unhealthy("No Azure subscriptions are configured"));
            }

            var healthProbeResults = await ProbeSubscriptionsAsync(query);

            var healtCheckMetadata = GenerateMetadata(healthProbeResults);

            if (healthProbeResults.Any(probeKeyValuePair => probeKeyValuePair.IsSuccessful == false))
            {
                return(HealthCheckResult.Unhealthy("One or more subscriptions are unhealthy.", data: healtCheckMetadata));
            }

            return(HealthCheckResult.Healthy("Successfully queried all subscriptions", data: healtCheckMetadata));
        }