none
Trying to get Exchange Logs RRS feed

  • Question

  • I have an app created in Azure AD and added the API permissions for the Office 365 Management APIs. We have Sharepoint and Exchange in o365. When I run the command below I only see a subscription for Sharepoint and not Exchange. Auditing is enabled in Exchange so is there something I'm missing??


    Invoke-WebRequest -Headers $headerParams -Uri "https://manage.office.com/api/v1.0/$tenantGUID/activity/feed/subscriptions/list"

    Results from this command

    StatusCode        : 200
    StatusDescription : OK
    Content           : [{"contentType":"Audit.General","status":"enabled","webhook":null},{"contentType":"Audit.SharePoint","status":"enabled","webhook":null}]
    RawContent        : HTTP/1.1 200 OK
                        Pragma: no-cache
                        Content-Length: 136
                        Cache-Control: no-cache
                        Content-Type: application/json; charset=utf-8
                        Expires: -1
                        Server: Microsoft-IIS/10.0,Microsoft-IIS/10.0
                        X-AspNet-Ver...
    Forms             : {}
    Headers           : {[Pragma, no-cache], [Content-Length, 136], [Cache-Control, no-cache], [Content-Type, application/json; charset=utf-8]...}
    Images            : {}
    InputFields       : {}
    Links             : {}
    ParsedHtml        : mshtml.HTMLDocumentClass
    RawContentLength  : 136






    Doug S

    Saturday, June 1, 2019 12:28 AM