Restrict permission to the SharePoint store

Hi!

I don't want my users to add any apps from the SharePoint store. I can stop them from installing, but they can still see the link to the SharePoint store, browse around and see the message "Sorry, apps are turned off. If you know who runs the server, tell them to enable apps." This is absolutely not what I want, there must be a way to restrict access to the SharePoint store?

Regards,
Helena

June 10th, 2013 1:23pm

Hi Helena,

If you want to hide the "SharePoint Store" link on Your Apps page, you can add JavaScript code in the AddAnApp.aspx page ( add the code under the tag with id="idStorefrontManagementLeftNavBar" like below image) to hide this link, this page file is located in folder C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS.

<script language="javascript">
_spBodyOnLoadFunctionNames.push('HideStoreLink');
function HideStoreLink(){
var lis=document.getElementById('idStorefrontManagementLeftNavBar').getElementsByTagName('li');
lis[7].style.visibility = 'hidden';
}
</script>

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 14th, 2013 8:54am

but how to restrict it in a search?
July 11th, 2013 3:38pm

Javascript is the duct tape of SharePoint. You can actually turn off access to the SharePoint Store through the use of the following PowerShell script:

Set-SPAppStoreConfiguration -Enable $false

When a user clicks on the SharePoint Store link they will see the following message:

Additional info on the Set-SPAppStoreConfiguration cmdlet. More on App Management Service cmdlets.

 
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2013 9:26pm

Hi Darrell,

Can you do this without using scripts, perhaps through a management area. I am not technical and if so can it be set from the main site or is it required to be on each site collection. I am using SharePoint Online only.

Thanks

Dom

May 20th, 2015 3:24pm

Hi Dom,

This is a solution your farm administrator would need to do for you using Powershell. This one command applies to every site in the farm.

---

Darrell

Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 3:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics