Forum Discussion
ShwetaDubey
Jun 01, 2022Copper Contributor
Office365 Message Tracking API Oauth2.0 support
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
Sort By
- Microsoft is still rolling out support for that, as per https://admin.microsoft.com/Adminportal/Home#/MessageCenter/:/messages/MC318316
- krishnar1690Copper ContributorDo we have any further updates about it?