Please keep in mind that this is a reference for the information that is useful to me, but there is much more available on the google.
Resource Link: MSFT O365 Management API
Microsoft Updates information all of the time so this link could be depricated.
Create a Registered App in Azure AD. Walkthrough found here
$ClientID = "Client ID"
$ClientSecret = "Client Secret"
$TenantGUID = "Tenant Guid"
$tenantdomain = "Tenant Domain"
$loginURL = "https://login.microsoftonline.com"
$resource = "https://graph.windows.net" # Azure AD Graph API resource URI This will change
$body = @{grant_type="client_credentials";resource=$resource;client_id=$ClientID;client_secret=$ClientSecret}
$oauth = Invoke-RestMethod -Method Post -Uri $loginURL/$tenantdomain/oauth2/token?api-version=1.0 -Body $body
$headerParams = @{'Authorization'="$($oauth.token_type) $($oauth.access_token)"}
$url = "https://manage.office.com/api/v1.0/$tenantGUID/activity/feed/subscriptions/list"
$myReport = (Invoke-WebRequest -UseBasicParsing -Headers $headerParams -Uri $url)
($myReport.Content | ConvertFrom-Json).value
https://manage.office.com/api/v1.0/$tenantGUID
(Example of complete URL: https://manage.office.com/api/v1.0/$tenantGUID/activity/feed/subscriptions/content?contentType=Audit.SharePoint
)
/activity/feed/subscriptions/list
/ServiceComms/Services
/ServiceComms/CurrentStatus
/ServiceComms/HistoricalStatus
/ServiceComms/Messages
Sharepoint Audit Logs: /activity/feed/subscriptions/content?contentType=Audit.SharePoint
(available content types can be found above under "display office activity feeds")
Audit.AzureActiveDirectory
Audit.Exchange
Audit.SharePoint
Audit.General
DLP.All
/activity/feed/resources/dlpSensitiveTypes
/activity/feed/subscriptions/notifications?contentType=Audit.SharePoint
/activity/feed/audit/20180321155043789031580$20180321155043789031580$audit_sharepoint$Audit_SharePoint