Graph API Beta - Analyzed Email Remediate
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.