Microsoft 365 Tenant Migration Assessment error

Getting exactly the same Exchange Online errors and causing the assessment to fail, even though all of the authentication and authorisation is successful. More people getting the same in this post:

(Microsoft 365 Tenant Migration Assessment [Template] - #9 by MetisAdmin)