Update ADFS certificate after Microsoft deprecation of Azure AD and MSOnline PowerShell (Connect-MsolService) and retirement is on July 1, 2025.
Solution:
1. (AAD Server) Microsoft Entra Connect Sync --> (Need to use the cert.pfx file)
2. Welcome --> Configure --> Manage federation --> Manage certificates --> Update SSL certificate
3. restart ADFS Service
Remark: You still need to go to ADFS proxy to use Powershell to update the SSL cert on the proxy server after the above step to upload the public cert to Azure.