Hi @devssoinfo
Thank you for reaching Microsoft Q&A!
Based on the error code this issue occurs when multiple top-level domains are federated to the same AD FS instance for tenants.
Please follow the below article and thread and see if you can fix the issue.
You can't sign in to Microsoft 365 from multiple federated domains
https://learn.microsoft.com/en-us/answers/questions/521871/azure-adfs-mfa
Hope this helps. Do let us know if you any further queries by responding in the comments section.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.