Forum Discussion

jchou's avatar
jchou
Copper Contributor
Sep 01, 2020
Solved

Issue with using Office 365 Management Activity API

 

I got my access token from

 

  1. https://login.windows.net/{tenantid}/oauth2/token

 

and it responded with

 

  1. {
  2. "token_type": "Bearer",
  3. "expires_in": "3599",
  4. "ext_expires_in": "3599",
  5. "expires_on": "1598887816",
  6. "not_before": "1598883916",
  7. "resource": "https://manage.office.com",
  8. access_token : "";
  9. }

 

I am trying to follow this guide
https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference
but I keep getting a 404 error with

 

  1. https://manage.office.com/api/v1.0/{tenantid}/subscriptions/start?contentType=Audit.SharePoint&PublisherIdentifier=46b472a7-c68e-4adf-8ade-3db4949751ff

 

Not sure what have I not configued correctly?

Resources