Graph API Beta - Analyzed Email Remediate

Matthew Helmbrecht 0 Reputation points
2024-04-16T15:52:39.79+00:00

Receive the following error when attempting to POST to https://graph.microsoft.com/beta/security/collaboration/analyzedEmails/Remediate

"WWW-Authenticate": "Bearer error=\"invalid_token\", error_description=\"S2S17001: SAL was able to validate the protocol, but validation failed as none of the inbound policies were satisfied. Validation failures: 'd0b0e89f-0197-499f-894f-e787c44d6aee: InvalidAudience.\"",

I am able to successfully Get https://graph.microsoft.com/beta/security/collaboration/analyzedEmails using the same bearer token.

Bearer token payload has:

"aud": "https://graph.microsoft.com",

Role: "SecurityAnalyzedMessage.ReadWrite.All"

Ideas? Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,614 questions
{count} votes