Skip to content

Instantly share code, notes, and snippets.

@pmatthews05
Last active January 7, 2020 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmatthews05/b9a0e4d44bf415ed4489e311d58605e9 to your computer and use it in GitHub Desktop.
Save pmatthews05/b9a0e4d44bf415ed4489e311d58605e9 to your computer and use it in GitHub Desktop.
.\Remove-AuditLogs.ps1 -ClientId:<ClientID>
-ClientSecret:<AppSecret>
-TenantDomain:<Tenant>.onmicrosoft.com
-TenantGUID:<Directory ID>
-WebHookUrl:https://<Environment>-auditwebhook.azurewebsites.net/API/AuditWebHook
-ContentType:Audit.SharePoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment