I had the same problem and I struggled to fix it as well.
But after stumbling over something random I managed to fix it.
This is my solution:
Windows Defender Security Centre has a warning sign.
I clicked on it and then clicked on Device Performance and Health which brought a troubleshooter...