Hi @Tomass Pētersons , I find the below article provided the commands which will be able to bypass the domain validation.
How To Validate Ownership of a Large Number of Mail Domains Using Powershell
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.