Source: Microsoft article See who a file is shared with in OneDrive or SharePoint
You can see who a OneDrive for work or school, SharePoint, or Microsoft Teams file or folder has been shared with at any time.