We would run into this issue while trying to connect to Dynamics 365 Version 9.0 from a client application.
It is because Customer Engagement Platform (version 9.0) only supports TLS 1.2.
More details here
How we can fix it à
We need to add the following line of code to our existing code
Helpful post
Hope it helps..