There is a problem searching in "pnp"

Mustafa Zeyad 20 Reputation points
2024-03-16T18:10:33.48+00:00

Screenshot 2024-02-24 113630

Screenshot 2024-02-24 113921

There is a problem searching in "pnp". I have videos in mp4 format. When I search for it, it does not appear in the search results، Can you help me.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,631 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,587 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,808 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,382 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,545 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 21,611 Reputation points Microsoft Vendor
    2024-03-18T09:40:40.8366667+00:00

    Hi @Mustafa Zeyad ,

    This should be because your query statement has an extra : after equals, please delete the colon and retry. Here are my test results and everything works fine.

    User's image

    User's image

    Hope this can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Yanli Jiang - MSFT 21,611 Reputation points Microsoft Vendor
    2024-03-20T07:45:32.5566667+00:00

    Hi @Mustafa Zeyad ,

    Ok, I got you.

    Based on your screenshots, please make the following modifications:

    1. In the Query template section, delete IsDocument:1, because MP4 format files are not document files, it will filter out MP4 format files. Change to enter query path:

    {searchTerms} Path:"https://tenant.sharepoint.com/sites/sitename"

    1. In the Refinement filters section, delete the colon after equals and enter it like this:

    FileType:equals("MP4")

    This is my test:

    03201

    User's image

    Hope this is help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.