Hello @Riadh Zehani , the AADSTS50131 error while connecting Microsoft 365 Defender to Sentinel is caused by classic conditional access policies created by the Intune integration. Re-attempt the connection this time from an Azure AD registered device.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.