Recently, while trying to connect to Dynamics 365 data set through Linked Service
we got the below error
Seems like a product issue, so the workaround is
Opening Azure Data Factory in a new incognito or in-private mode.
Cancel and do not select the certificate, while testing the connection.
Ignoring the certificate fixed the issue for us.
Hope it helps..