I have a document library web part on a web page. Each item in the document library has unique permission so the login user can see the item only after he has been given permission.
Target audience has been applied on the web part. The login user is in the Target Audience SharePoint Group, which is mapped to user's Azure group.
However, several users report they see Web Part Access Denied error when they login . I did some investigation and found the error goes away when an item is granted to the login user. Even the item is deleted later, the login user no longer see the access denied error.
It appears when the error appears when permission has never been granted to a document library item to the login user before. This causes confusion for many new users. Wondering if it is a Microsoft issue or anything can be done to remove the error?