Jun 01 2022
01:06 AM
- last edited on
Feb 07 2023
08:05 PM
by
TechCommunityAP
Jun 01 2022
01:06 AM
- last edited on
Feb 07 2023
08:05 PM
by
TechCommunityAP
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.
Jun 01 2022 01:19 AM
Aug 09 2022 05:11 AM