TestAzureOrganizationDiscoveryResult

TestAzureOrganizationDiscoveryResult

TestAzureOrganizationDiscoveryResult

Result of testing Azure organization discovery.

alreadyConnected Boolean True when the tenant is already connected to Guardrails. The wizard
uses this to short-circuit the import flow with a clear message instead
of failing at the create step with a duplicate AKA error.
error String Error message if the test failed.
existingResourceId String The Guardrails resource ID of the existing tenant, if alreadyConnected is true.
managementGroups [AzureDiscoveredManagementGroup!]! List of discovered management groups with parent hierarchy.
subscriptions [AzureDiscoveredSubscription!]! List of discovered subscriptions with parent management group info.
success Boolean! Whether the discovery test succeeded.
tenantId String The Azure AD tenant ID.
testedAt String! Timestamp when the test was performed.