Hi @WASI KHAN
Thank you for your sharing, 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.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
Issue Symptom:
I have implemented Azure SSO in SharePoint2013 On-Prem site. its successfully implemented and I can login with my Azure AD but I am unable to see the setting button even as an admin of the site. even its not working with system account. I would really appreciate for help.
Current status:
WASIKHAN has managed to resolved this issue. He tried to configured the Azure SSO in SharePoint 2013 on windows 2008. He was unable to communicate to Azure through 2008 windows server and it was showing some certificate errors. then he decided to test from his machine which is windows 10 and also tested in windows 2019 server and it worked.
these are the PowerShell cmds to check azure communication from the server level or any machine on which you want to implement Azure SSO.
Invoke-WebRequest -Uri "https://login.windows.net" -UseBasicParsing
Invoke-WebRequest -Uri "https://login.microsoftonline.com" -UseBasicParsing
Invoke-WebRequest -Uri "https://graph.microsoft.com" -UseBasicParsing
https://azurecp.yvand.net/docs/help/troubleshooting/
after all these troubleshooting, he implements in SharePoint 2019 with windows server 2019 and it is working fine.
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!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.