Skip to content

[BUG]- Add-PnPOrgAssetsLibrary - Documentation wrong - IsCopilotSearchable is mandatory to set parameter for Office Templates #4852

Open
@paxvas2023

Description

@paxvas2023

Reporting an Issue or Missing Feature

Error in documentation

Expected and actual behavior

When executing ""Add-PnPOrgAssetsLibrary -LibraryUrl "URL" -OrgAssetType OfficeTemplateLibrary"" the setting is not save and results in an error "Add-PnPOrgAssetsLibrary: This library cannot be searched by Copilot."

When adding -IsCopilotSearchable $False it works, so the documentation must be changed that this parameter is mandatory at least for the OfficeTemplateLibrary.

Steps to reproduce behavior

""Add-PnPOrgAssetsLibrary -LibraryUrl "URL" -OrgAssetType OfficeTemplateLibrary""

""Add-PnPOrgAssetsLibrary -LibraryUrl "URL" -OrgAssetType OfficeTemplateLibrary -IsCopilotSearchable $False""

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

Manifest 2.99.189 nightly PnP.PowerShell

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

  • Windows

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