TestAzureOrganizationDiscoveryResult

TestAzureOrganizationDiscoveryResult

Result of testing Azure organization discovery.

alreadyConnectedBooleanTrue 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.
errorStringError message if the test failed.
existingResourceIdStringThe 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.
successBoolean!Whether the discovery test succeeded.
tenantIdStringThe Azure AD tenant ID.
testedAtString!Timestamp when the test was performed.