Thank you for raising your query in the TechNet forums. With respect to it, I recommend you to enter the following link where you can find a possible solution to your problem.
https://support.microsoft.com/en-us/help/3079872/troubleshoot-ad-fs-issues-in-azure-active-directory-and-office-365
Thanks for using the TechNet forums.
Pedro Alfaro
____
Please remember to "Mark as an answer" the answers that have solved your problem, it is a common way of recognizing those who have helped, and it makes it easier for other visitors to find the solution later.
Microsoft offers this service for free, in order to help users and expand the knowledge database related to Microsoft products and technologies.
This content is provided "as is" and does not imply any responsibility on the part of Microsoft.