Skip to content

[BUG]Get-PnPSearchCrawlLog throws access denied although accounts has enough permission #4380

@mikarin20

Description

@mikarin20

Notice

Reporting an Issue or Missing Feature

Please confirm what it is that your reporting

Running Get-PnPSearchCrawlLog but throwing error
Get-PnPSearchCrawlLog: Make sure you are granted access to the crawl log via the SharePoint search admin center at https://-admin.sharepoint.com/_layouts/15/searchadmin/crawllogreadpermission.aspx

my account has connection and permissions on crawllog but still facing issues to access crawl logs. What am i missing?

Expected behavior

Please describe what output you expect to see from the PnP PowerShell Cmdlets

see the logs from crawls

Actual behavior

Please describe what you see instead. Please provide samples of output or screenshots.

image

Steps to reproduce behavior

Please include complete script or code samples in-line or linked from gists
get-pnpsearchcrawllog

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)

2.12

Which operating system/environment are you running PnP PowerShell on?

  • [x ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions