CRM 2016 on-premises
"Record Is Unavailable
The requested record was not found or you do not have sufficient permissions to view it. "
This exception happens in a special scenario:
Let's say Case entity has a 1:N relationships to a custom entity, Information. In the Case form, there is a quick view showing Information list. (Case is a custom entity as well)
Here is when the exception happens:
Open a Case record, click on an Information record from the list, the record will open in the same window, delete the Information record, the from closes automatically and goes back to Case record. Now any try to close this record using inner Close button (X) will fail with this exception "Record Is Unavailable, The requested record was not found or you do not have sufficient permissions to view it. "
However, if instead of opening the record in the same window, open it in a new window, there is no issue. Information record deletes successfully, the window closes automatically and can close the Case record using X button.
The facts are:
The exception happens even with full privileges as System Admin.
It's not specific to a single entity, all entities with the same relationship get this exception in this scenario.
I checked trace logs, the only thing I can find is "missing prvReadIncident privilege", that doesn't make sense, as system Admin I have read privilege over all entities.
It seems to be a Microsoft Dynamics CRM bug.
Much appreciate any thought
*This post is locked for comments