UnauthorizedAccessException
What causes it and how to fix it:
- The crawl log DOES exist in SharePoint Online — it just isn't where you look for itReachable only through CSOM DocumentCrawlLog via /_vti_bin/client.svc/ProcessQuery, gated by a separate Crawl Log Permissions grant that no admin role implies; returns ~52 columns incl. per-pass crawl timestamps, errors, NoIndex and delete stateCause and fix →