I've seen this issue for iOS but not often MacOS.
I cannot log onto iCloud, iTunes, iBooks, or any services using the Apple ID Server.
This issue is ONLY on my main account on my MBP. I can log onto my account with other devices, even with other user accounts on my MBP. It is not net work dependent, it fails on any network.
Where I've seen this issue discused a confict with Kaspersky virus software. I don't run Kaspersky.
I suspect a corrupt com.apple.ids.service.com.apple.***. . . plist file and have deleted the ones associated with iCloud accounts but no success.
I'm close to doing a clean install, but would like to avoid that hassle if I can.
I think I been through every forum and KB on the subject and haven't found a solution.
Any ideas?