
Hi @Sayed Attea ,
I'm glad to hear you solve the problem, if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others." I would make a brief summary of this thread:
Current status:
The issue was "modern authentication' by default is not enabled in InfoPath. The issue has been solved by using the solutions found on the following links: https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/authentication-issues-in-sharepoint-designer-2013
https://www.infopathdev.com/forums/t/38608.aspx
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!