Error - 401 Unauthorized when calling Office 365 ECP Reportingwebservice

Pham Ngoc Trung 106 Reputation points
2023-04-18T17:50:12.64+00:00

Dear All, I am building a code to get Office 365 Message Trace. Before I using code from this source https://github.com/microsoft/o365rwsclient After a few changes this code works fine. But in April 1st, this code begin return 0 data. After some troubleshooting, I find out this code return 401 Unauthorized. In this code, I using basic authentication with my account. My account has Global Reading in my Tenant. Therefore I don't know if Microsoft retired Office 365 ECP ReportingWebService Rest API or because my account doesn't have enough permissions. Does anyone have any information or experience this problem?

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Jeiver Ernesto Ramirez Narvaez 0 Reputation points
    2024-01-30T20:35:11.44+00:00

    I have the same issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.