Office365 Message Tracking API Oauth2.0 support

Copper Contributor

Hi,

 

We want to use Oauth2.0 (using ClientId, TenantId, SecretId) authentication for Office365 message tracking API (https://reports.office365.com/ecp/ReportingWebService/Reporting.svc/MessageTrace) but getting 401 unauthorized exception stating invalid credentials.

 

Additionally, the same API is accessible with basic authentication (using username/password).

Note: Office365 management activity API is accessible with Oauth2.0 using the same credentials.

 

Please let us know if the message tracking API can be accessible with Oauth2.0 and what is the correct approach to do so.

Any sample code with the suggestions will be highly appreciated.

2 Replies
Do we have any further updates about it?