Mar 11 2021 06:19 AM
My Global Admin and my role as SharePoint admin get this error below when trying create Org Asset Library. The documentation says both roles should be able to create this library. I'm not if there is some kind of policy or security feature we have enable that might be blocking this?
Running below script:
Add-SPOOrgAssetsLibrary -LibraryUrl https://mySP.sharepoint.com/sites/Marketing/Assets -ThumbnailUrl https://mySP.sharepoint.com/sites/Marketing/Assets/logo.png -OrgAssetType ImageDocumentLibrary
Error:
Add-SPOOrgAssetsLibrary : Access denied. You do not have permission to perform this action or access this resource.
At line:1 char:1
+ Add-SPOOrgAssetsLibrary
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-SPOOrgAssetsLibrary], ServerUnauthorizedAccessException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerUnauthorizedAccessException,Microsoft.Online.SharePoi
nt.PowerShell.AddSPOOrgAssetsLibrary
May 14 2021 05:42 AM
Jul 15 2021 08:15 PM - edited Jul 15 2021 08:16 PM
I also have the same issue.
Will post the answer here if I discover the root cause. Please do the same if you find it first.
Stephen
Jul 18 2021 05:44 PM - edited Mar 06 2022 03:43 AM
@wkwolff and @tommalt - I was able to get past that error message using the following two steps.
Hope this helps someone.
Dec 11 2023 04:11 AM
@Stephen Minhinnick Hi. This is an older discussion by now but I have the same problem.
Before looking this up I had already done what you mentioned except I'm unable to reach the settings where one can "grant Read permission to "Everyone except external users" to the document library." There are the "very classic looking" old library settings that do have a separated group called as "Everyone except external users" but that group, just like every other group there, has no parameters/attributets/etc to edit besides delete or "add a file" (for some reason).
Dec 12 2023 01:15 AM
Here is a step-by-step guide on how to add "everyone" to the correct permissions group. Forgive me if these instructions are too simple, but I am putting them up for anyone.
>>> You first have to be an Owner of the particular SharePoint Site to do this.
I hope this helps. Let me know if I have misunderstood your issue.
Apr 18 2024 04:17 AM
@Stephen Minhinnick If I try to add "Everyone except external users" to the visitors group it is not found in the pick-list (see below)- I tried enabling this claim using the "Set-PnPTenant -ShowEveryoneExceptExternalUsersClaim $True" command (since it was set to False), but it's still not letting me do it. Is there a way around this?