My team recently encountered an error in Dynamics 365, and I thought it would be interesting to share the solution. Thanks to Microsoft support for providing an explanation.
We had created a custom security role with restricted privileges that could not create knowledge articles, and a user assigned to this security role would get an error trying to link a knowledge article to a case.