PowerShell: how to know if email message has never been read

Ale Madama 291 Reputation points
2023-02-16T16:24:57.5966667+00:00

I'm struggling to try to know if an email message has ever been read...

I have to use PowerShell

Someone can give me some help?

thanks!

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ale Madama 291 Reputation points
    2023-02-16T17:57:08.2066667+00:00

    sorted!

    I have created an Azure App Registration setup with the following API permissions:

    Directory.Read.All
    
    Mail.ReadBasic.All
    

    and then called the function:

    Get-MgMailReadStatus
    

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.