Hi @adil ,
Per my knowledge, we can filter SharePoint items by logged in user, but we can't get the information based on the username in Sharepoint.
Also, due to permissions issues as well as parameter issues, we were not able to accomplish this through the graph api or powershell.
Your understanding and patience will be highly appreciated! Hope you have a good day and keep safe!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.