I've been trying to connect to the Office 365 Management Activity API following the steps in this MSDN article.
I don't know what am I doing wrong but all the calls return the 401 Unauthorized code. I tried to find some code samples or more detailed walkthrough of the use of Management Activity API, but with no success.
Does anyone know where to find some code I can refer to? I already tried on OfficeDev PnP, but found nothing.
Thank you in advance!