After a tenant rename, redirect sites have been created for every existing sites prior to the tenant rename. However these are causing issues with a third party backup solution which is unable to filter out those redirect sites.
Running the cmdlet Remove-SPOSite -Identity https://[oldDomainName].com/sites/housestuff throws the error
Remove-SPOSite : The site url [oldDomainName].com does not reference a domain in this tenant.
Accessing https://[oldDomainName].com/sites/housestuff from the browser redirects to the new domain https://[newDomainName].com/sites/housestuff correctly.
Any help or advice will be appreciated.