0

I have a requirement to hide or not show "Stock Images" and "Web Search" etc when selecting an image to a web part. Is it possible to do that using PowerShell or some command?

I would like to use organization assets library and have a dedicated site for it to store all images etc.

But we don't want users to use the out of the box "Stock Images" and "Web Search".

Any tips would be appreciated.

1
  • Did you try below solution, is it working for you? Feb 5 at 14:55

1 Answer 1

1

Try using below SharePoint Online PowerShell command to hide web search images:

Set-SPOTenant -FilePickerExternalImageSearchEnabled $false

Documentation: Set-SPOTenant

Follow below articles for setting up organization assets libraries in SharePoint:

  1. Create an Organization Assets Library in SharePoint Online
  2. Register SharePoint Document Library as an Organization Assets Library using PowerShell
4
  • Thanks Ganesh. I have provisioned the Org Assets library but stillwaiting forit to show. In regards to disabling the web search images. Will that also disable both the web search images and the stock images? About the Onedrive and Sites can this also be removed?
    – naijacoder
    Feb 6 at 6:25
  • You may need to wait for some time to see the Org Assets library as well as to disable the web search images. I don't think you will be able to remove OneDrive and Sites option - I will have to check if there is any possibility. Feb 6 at 6:36
  • Thanks for the update. Hopefully it will come through
    – naijacoder
    Feb 6 at 8:29
  • Yes, let me know how it goes. Feb 6 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.