When the account is cancelled in Billing, its domains remains in Operations in Disabled status. This makes Domains tab unrepresentative, since it might contain a lot of such orphaned domains.
How to determine all such domains?
determine_orphaned_domains.py script allows to identify such domains. It should be executed from OA Management Node.
[root@osscore ~]# python determine_orphaned_domains.py
It prepares a CSV file in a directory of execution, which contains account ID, domain name and reason of adding the domain to the list. Example of the output:
account_id,domain_name,reason 1000001,test-domain1.com,Account is cancelled 1000011,test-domain.net,Account has no subscriptions 1000127,sharepoint01.domain.tld,Account has no live subscription