Hi @Rising Flight ,
Your question involves Microsoft Entra ID. I have added the relevant tag for you, hoping that more people can see it. As a SharePoint engineer, I can give you a workaround for your reference:
First, use power shell Exporting all Users with project licenses to CSV, then find the inactive account through How To: Manage inactive user accounts, and finally cross-summarize the two results to get the results you want. For your reference:
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.