Monday, May 19, 2014

How to disable SharePoint 2013 App store?

After our SharePoint 2013 environment has been configured for Access Apps user requested, by default the SharePoint Store is also open for all farm administrators and anyone with Site Owner/Full Control access to a SharePoint site. However, our SharePoint team is afraid that SharePoint Store Apps could become another Fab 40 issue in the future upgrade which means that vendor may not support them to work with new SharePoint versions. Before having a governance plan in place, we plan to disable users adding any SharePoint Store App and remove any SharePoint Store App that have been added already.

From Microsoft technet articles and blogs , it seems that there is no way of keeping site owners from of browsing the SharePoint Store. The only thing we could do is to configure the SharePoint so that they must request an app from the store and only specified administrators can approve these requests. We also identified several different ways to remove SharePoint Store App that have been added to SharePoint farm. As a result, any instances of the app that have already been added to sites by users will remain, but the app will no longer be available for users to add to additional sites. Here are the details steps.

1. The first step to disable users adding any SharePoint Store App to SharePoint is to create a new app catalog site for each webapp.

Because an App Catalog is scoped to a web application, all apps that you want to make available for a web application have to be in the App Catalog site collection for that web application. you have to create different app catalog site inside each webapp to manage the Apps for that particular webapp. I would strongly recommended to create separate content DB for app catalog sites for manageability. In order to create inside specific content DB, you would need to user Powershell commands instead of CA. Here is one example to create two app catalog sites for webapp  https://sharepointdev13.qualcomm.com/ and https://projectsdev13.qualcomm.com/.

# Create a new content DB inside on database avalability group
New-SPContentDatabase WSS_Content_AppCatalog -DatabaseServer spsqldev2 -WebApplication https://sharepointdev13.qualcomm.com/
New-SPContentDatabase PROJECTS_Content_AppCatalog -DatabaseServer spsqldev2 -WebApplication https://projectsdev13.qualcomm.com/

# Retrieve app catalog site template
$template = Get-SPWebTemplate “APPCATALOG#0”

# Create app catalog site in the new content DB using app catalog site template
New-SPSite -Url “https://sharepointdev13.qualcomm.com/sites/AppCatalog” -OwnerAlias “na\spdev1” -Name "Qualcomm SharePoint App Catalog" -Template $template –ContentDatabase WSS_Content_AppCatalog
New-SPSite -Url “https://projectsdev13.qualcomm.com/sites/AppCatalog” -OwnerAlias “na\spdev1” -Name "Qualcomm Projects App Catalog" -Template $template –ContentDatabase PROJECTS_Content_AppCatalog

# Update catalog configuration so it can be seen from CA
Update-SPAppCatalogConfiguration -site https://sharepointdev13.qualcomm.com/sites/AppCatalog”
Update-SPAppCatalogConfiguration -site https://projectsdev13.qualcomm.com/sites/AppCatalog”

2. The second step to configure SharePoint store to disallow user directly adding SharePoint store apps.  
This setting is at the web application scope. If users cannot purchase apps, they can still browse the SharePoint Store, and request an app. Farm administrators and the App Catalog site owner can view and respond to app requests.
  • Verify that the user account that is performing this procedure is a member of the Farm Administrators group. 
  • In Central Administration, on the Apps page, in the SharePoint and Office Store section, click Configure Store Settings. 
  • On the SharePoint Store Settings page, verify that the selected web application is the web application that you want to configure.
  • If you want to switch to a different web application, click the down arrow next to the web application URL to change to a different web application.
  • To allow or prevent purchases, select an option for Should end users be able to get apps from the SharePoint Store? Select No to prevent purchases but allow users to request apps.
  • To allow or prevent apps for Office from the Office Store to be started when a user opens a document in the browser, select an option for Should apps for Office from the store be able to start when documents are opened in the browser? Select No to prevent apps for Office from the Office Store from starting.
  • Click OK.  

3. The third step is to remove all the SharePoint App from the catalog so users will not able to add them as indicated from Microsoft technet.
Removal does not uninstall or remove the app from sites to which it has been added. It merely removes the app from the App Catalog, and users cannot add the app to other sites. Here are steps if you want to remove from the farm scope. 
  • In Central Administration, on the Apps page, click the Manage App Licenses 
  • For each SharePoint App Store app, select remove
  • The app is removed
If you only want to remove from certain Webapps instead of the whole farm, you could follow the following steps.
  • On the App Catalog site, click the Apps for SharePoint list.
  • On the Apps for SharePoint page, select the app that you want to remove.
  • In the ribbon, on the Files tab, click Delete Document to remove the app.
  • In the dialog box, click OK to confirm that you want to send the item to the site Recycle Bin.

Please note there is a way to remove app instance using Powershell the following powershell commands. Here is one example to remove one App named "Project Management" form one webapp.



$installedapps = Get-SPAppInstance  -web https://sharepointdev13.qualcomm.com

$yourInstalledapp = $installedapps | where {$_.Title -eq ‘Project Management’}
Uninstall-SPAppInstance -Identity $yourInstalledapp 




There is potential issue you might have is the error when the app is not installed using the same account you run the powershell command. This might be a bug since this account can remove apps from SharePoint UI directly.


Uninstall-SPAppInstance : The System Account cannot perform this action.

At line:1 char:1
+ Uninstall-SPAppInstance -Identity $yourInstalledapp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...pInstanceCmdlet:UninstallSPAppInstanceCmdlet) [Uninstall-SPAppInstance], InvalidOperat
   ionException
    + FullyQualifiedErrorId : Microsoft.SharePoint.Administration.SPAppCmdlets.UninstallSPAppInstanceCmdlet 


Now, you should have disabled the SharePoint Store to all end users. You should build the App management governance plan before you open to end users again.





 

113 comments:

  1. Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post! Thanks for writing it.What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity
    Sharepoint Training in Chennai

    ReplyDelete
  2. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Oracle training in annanagar

    ReplyDelete
  3. A universal message I suppose, not giving up is the formula for success I think. Some things take longer than others to accomplish, so people must understand that they should have their eyes on the goal, and that should keep them motivated to see it out til the end.
    digital marketing training in annanagar

    digital marketing training in marathahalli

    ReplyDelete
  4. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    full stack developer training in annanagar

    full stack developer training in tambaram

    full stack developer training in velachery

    ReplyDelete
  5. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Devops Training in Chennai

    Devops Training in Bangalore

    Devops Training in pune

    ReplyDelete
  6. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
    python training institute in chennai
    python training in Bangalore
    python training in pune

    ReplyDelete
  7. This is a terrific article, and that I would really like additional info if you have got any. I’m fascinated with this subject and your post has been one among the simplest I actually have read.
    python training in Bangalore
    python training in pune
    python online training

    ReplyDelete
  8. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post I would like to read this
    python training in tambaram
    python training in annanagar
    python training in OMR

    ReplyDelete
  9. I really like your blog. You make it interesting to read and entertaining at the same time. I cant wait to read more from you.
    python training in tambaram
    python training in annanagar
    python training in OMR

    ReplyDelete
  10. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command
    Blueprism training in Pune

    Blueprism online training

    Blue Prism Training in Pune

    ReplyDelete
  11. We are a group of volunteers and starting a new initiative in a community. Your blog provided us valuable information to work on.You have done a marvellous job!

    Data science training in tambaram | Data Science training in anna nagar
    Data Science training in chennai | Data science training in Bangalore
    Data Science training in marathahalli | Data Science training in btm

    ReplyDelete
  12. Thank you for an additional great post. Exactly where else could anybody get that kind of facts in this kind of a ideal way of writing? I have a presentation next week, and I’m around the appear for this kind of data.

    Data Science course in rajaji nagar | Data Science with Python course in chenni
    Data Science course in electronic city | Data Science course in USA
    Data science course in pune | Data science course in kalyan nagar

    ReplyDelete
  13. Very good brief and this post helped me alot. Say thank you I searching for your facts. Thanks for sharing with us!

    java training in omr | oracle training in chennai

    java training in annanagar | java training in chennai

    ReplyDelete
  14. I likable the posts and offbeat format you've got here! I’d wish many thanks for sharing your expertise and also the time it took to post!!
    angularjs Training in bangalore

    angularjs Training in bangalore

    angularjs Training in btm

    angularjs Training in electronic-city

    angularjs online Training

    ReplyDelete
  15. Really great post, I simply unearthed your site and needed to say that I have truly appreciated perusing your blog entries. I want to say thanks for great sharing.
    Microsoft Azure online training
    Selenium online training
    Java online training
    Java Script online training
    Share Point online training

    ReplyDelete
  16. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post I would like to read this.
    Devops Training in Chennai | Devops Training Institute in Chennai

    ReplyDelete
  17. I love the blog. Great post. It is very true, people must learn how to learn before they can learn. lol i know it sounds funny but its very true. . .

    Microsoft Azure online training
    Selenium online training
    Java online training
    Java Script online training
    Share Point online training


    ReplyDelete
  18. In the world of applications and modernization where everything is in your hand and is based on popularity of anything is based on the data science.

    Checkout Data Science Training in Pune

    and explore the new ways of analyzing the trends.

    ReplyDelete
  19. Very informative blog, Thanks for sharing the information.

    Please attend Data Science Certification in Pune

    ReplyDelete
  20. Thanks for the blog,This is very Informative Blog.For attending or for Detailed blog!

    data science course in pune

    ReplyDelete

  21. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.

    Data Science Training


    ReplyDelete

  22. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
    Machine learning Course

    ReplyDelete
  23. Great. It is good to constantly coming up with creative ideas. Provides much needed knowledge. goal oriented blog posts and always tried to find creative ways to meet goals.

    Thanks
    Online affiliates



    ReplyDelete
  24. Just saying thanks will not just be sufficient, for the fantastic lucidity in your writing. I will instantly grab your articles to get deeper into the topic. And as the same way ExcelR also helps organisations by providing data science courses based on practical knowledge and theoretical concepts. It offers the best value in training services combined with the support of our creative staff to provide meaningful solution that suits your learning needs.

    Business Analytics Course in pune

    ReplyDelete
  25. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.Digital Marketing course in vizag

    ReplyDelete
  26. I curious more interest in some of them hope you will give more information on this topics in your next articles.For more info vist website
    https://360digitmg.com/course/data-analytics-using-python-r
    https://360digitmg.com/course/certification-program-in-data-science

    https://360digitmg.com/course/data-visualization-using-tableau

    ReplyDelete
  27. It's late finding this act. At least, it's a thing to be familiar with that there are such events exist. I agree with your Blog and I will be back to inspect it more in the future so please keep up your act.
    data science course
    data science course in malaysia
    data science certification
    data science course malaysia

    ReplyDelete
  28. You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog.
    data science course
    data science course in malaysia
    data science certification
    data science course malaysia

    ReplyDelete
  29. This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up.
    https://sites.google.com/360digitmg.com/briefnotes-dataanalyticscourse/home

    ReplyDelete
  30. Interesting stuff. World's first memory dump analysis tool to find out amount of memory wasted by the application due to inefficient programming. Tool’s inbuilt AI intelligence recommends solution to fix the identified inefficiency.
    Oracle Training | Online Course | Certification in chennai | Oracle Training | Online Course | Certification in bangalore | Oracle Training | Online Course | Certification in hyderabad | Oracle Training | Online Course | Certification in pune | Oracle Training | Online Course | Certification in coimbatore

    ReplyDelete
  31. Going to graduate school was a positive decision for me. I enjoyed the coursework, the presentations, the fellow students, and the professors. And since my company reimbursed 100% of the tuition, the only cost that I had to pay on my own was for books and supplies. Otherwise, I received a free master’s degree. All that I had to invest was my time.
    data science course in malaysia

    ReplyDelete
  32. Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share.
    data science course in malaysia

    ReplyDelete
  33. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!.data science course in delhi

    ReplyDelete
  34. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a onedata science course in delhi

    ReplyDelete
  35. This is really too useful and have more ideas and keep sharing many techniques.. oracle training in chennai

    ReplyDelete
  36. There's a debt of gratitude for sharing the details, keep doing awesome ... I was genuinely pleased to explore your website. great asset...360DigiTMG data science malaysia

    ReplyDelete
  37. The blog and data are excellent and also informativehttps://360digitmg.com/course/certification-program-in-data-science

    ReplyDelete
  38. Your job is excellent and I thank you and wait for some more insightful postshttps://360digitmg.com/course/certification-program-in-data-science

    ReplyDelete
  39. Quite the fastidious selection of materials here at this location, so that everybody can enjoy a lot.https://360digitmg.com/course/certification-program-in-data-science

    ReplyDelete
  40. Yeah, fine, I wondered of course how to treat acne. Google found your blog, learned a lot, now I'm a little sure. I bookmark your tab and add rss to it as well. Please keep us updated.artificial intelligence course in delhi

    ReplyDelete
  41. This is a great post I saw thanks to sharing. I really want to hope that you will continue to share great posts in the future.
    https://360digitmg.com/india/data-science-using-python-and-r-programming-noida

    ReplyDelete
  42. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    Simple Linear Regression

    Correlation vs Covariance

    bag of words

    time series analysis

    ReplyDelete
  43. I read that Post and got it fine and informative. Please share more like that...
    certification of data science

    ReplyDelete
  44. You totally coordinate our desire and the assortment of our data.
    business analytics course aurangabad

    ReplyDelete
  45. Standard visits recorded here are the simplest strategy to value your vitality, which is the reason why I am heading off to the site regularly, looking for new, fascinating information. Many, bless your heart!
    data science training in noida

    ReplyDelete
  46. I loved to read blogs and your blog is one of the best blog.PM MODI YOJNA

    ReplyDelete
  47. thanks a lot for sharing, this really helped in my workClick here

    ReplyDelete
  48. I loved to read blogs and your blog is one of the best blog.Vidhwa Pension Yojana Form

    ReplyDelete
  49. I want to say thanks to you. I have bookmarked your site for future updates.
    business analytics course

    ReplyDelete
  50. This post is very simple to read and appreciate without leaving any details out. Great work!
    data scientist course

    ReplyDelete
  51. This post is very simple to read and appreciate without leaving any details out. Great work!
    data scientist course

    ReplyDelete
  52. Fascinating post. I Have Been considering about this issue, so thankful for posting. Totally cool post.It 's very generally very Useful post.Thanks
    artificial intelligence course aurangabad

    ReplyDelete
  53. Fascinating post. I Have Been considering about this issue, so thankful for posting. Totally cool post.It 's very generally very Useful post.Thanks
    artificial intelligence course aurangabad

    ReplyDelete
  54. Such a very useful article. Very interesting to read this article. I would like to thank you for the efforts you had made for writing this awesome article.Cyber Security in Visakhapatnam. Cyber Security near me

    ReplyDelete
  55. Emails Benefit? Well, it sounds weird but Benefit is a French brand of plastic known for its use in artificial nails. The Benefit brand originated in France and is popular all over the world, as artificial
    Buy google voice accounts nails have now become more affordable. So, if you have any doubts about artificial nails then it's probably best that you check out Benefit. Whether you want cheap Benefit nails to spruce up your personal style or you want to buy a full set of 8 beautiful artificial nails for yourself then you are sure to find a range of brilliant nail colors, designs, and styles online right here that will have your feet looking stunning.

    Buy youtube accounts

    ReplyDelete
  56. So, you have made it through the many obstacles of everyday life and are now aBuy facebook accounts truly happy baby boomer. What are some things that you do in order to keep the same feeling and make it through these tough times? In this article I am going to list five things that I do every day that helps me to stay really happy:Buy gmail accounts

    ReplyDelete
  57. Autonomous Level 1 employee support delivered in seconds is the promise of Rezolve.ai. Leveraging the power of advanced AI, sophisticated process automation, intelligent algorithms and hundreds of prebuilt IT Helpdesk skills – Rezolve.ai platform is redefining and reimagining how employees get serviced.

    AI service Desk

    ReplyDelete
  58. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data scientist training in malaysia

    ReplyDelete
  59. This comment has been removed by the author.

    ReplyDelete
  60. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    data scientist certification malaysia

    ReplyDelete
  61. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
    artificial intelligence training aurangabad

    ReplyDelete
  62. virtual event Unfamiliar formats, evolving technologies, new health and safety measures, content curation and ongoing attendee engagement — this is the new world of event planning. how does zoom work, thank you for participating letters and future endeavors

    ReplyDelete
  63. Hi Thanks for Sharing this Valuable Information with us: this is very useful for me. Keep it Up.
    data science training in chennai

    ReplyDelete
  64. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing. data science course in mysore

    ReplyDelete
  65. Very Informative blog thank you for sharing. Keep sharing.

    Best software training institute in Chennai. Make your career development the best by learning software courses.

    best rpa training in chennai
    best devops training in chennai
    cloud computing courses in chennai

    ReplyDelete
  66. Your very own commitment to getting the message throughout came
    to be rather powerful and have consistently enabled employees just
    like me to arrive at their desired goals.
    software testing courses in chennai
    javascript training in Chennai

    ReplyDelete
  67. I appreciate your efforts in this blog. Informative and impressive content. Keep sharing more blogs with us.
    Data Science Course in Hyderabad

    ReplyDelete
  68. Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. data scientist course in kanpur

    ReplyDelete
  69. It is perfect chance to make a couple of game plans for the future and the opportunity has arrived to be sprightly. I've scrutinized this post and if I may I have the option to need to suggest you some interesting things or recommendations. Perhaps you could create next articles insinuating this article. I have to examine more things about it!

    ReplyDelete
  70. Pleasant data, important and incredible structure, as offer great stuff with smart thoughts and ideas, loads of extraordinary data and motivation, the two of which I need, because of offer such an accommodating data here.

    ReplyDelete
  71. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

    ReplyDelete
  72. Hi Thanks for Sharing this Valuable Information with us: this is very useful for me. Keep it Up.
    data scientist course in aurangabad

    ReplyDelete
  73. I truly like your style of blogging. I added it to my preferred's blog webpage list and will return soon…
    data analytics course in hyderabad

    ReplyDelete
  74. I am impressed by the information that you have on this blog. It shows how well you understand this subject. data science course in mysore

    ReplyDelete
  75. Through this post, I realize that your great information in playing with all the pieces was exceptionally useful. I advise this is the primary spot where I discover issues I've been scanning for. You have a smart yet alluring method of composing. 360digitmg bangalore

    ReplyDelete

  76. It would help if you thought that the data scientists are the highest-paid employees in a company.
    data science course in kochi

    ReplyDelete
  77. Nice article. Thank you for sharing. Buy Google Reviews will help you to boosting your business. If you want to increase your business then this the right place. Please visit our website:
    Buy Google Reviews

    ReplyDelete
  78. Thank you for sharing. We would like to introduce our service that is Buy Google Reviews. For more info please visit our website : Buy Google Reviews

    ReplyDelete
  79. very good article . I really enjoyed reading your article. A great new information to the public. thank you for the information
    Fildena 100mg is the most potent generic pills for treating male erection issues, often known as Erectile Dysfunctions (ED).
    tablets are a perfect match for many men. we also provide many services to our customers and buy online at low price on
    Buygenmeds with fast shipping.

    ReplyDelete
  80. Thanks for allowing me to talk about a Data Science course . For the Best career in Data science, I recommend Skillslash is recognized as the Best Data Science institute in Hyderabad . We cover all the essential topics in data science like R, Python, Machine Learning, Deep Learning, Tableau, etc.

    ReplyDelete
  81. This information really amazing thanks for share this article thank you..
    HR Coil manufacturers in India

    ReplyDelete
  82. "Discover the ultimate tech companion - AM Computers LLC, your go-to destination for seamlessBuying Laptop experiences!"

    ReplyDelete
  83. "Upgrade your digital world with AM Computers LLC—Buy Laptop Online UAE today!"

    ReplyDelete
  84. "Discover the perfect harmony of flavor and satisfaction with A2Z Tobacco's Ohm Tobacco – Ignite your senses and embark on a captivating smoking journey today!"

    ReplyDelete
  85. "Indulge in the irresistible sweetness of Runtz Wraps, available exclusively at A2Z Tobacco. Treat yourself to a flavorful twist and elevate your smoking experience."

    ReplyDelete

  86. "Taylor Made Solutions: Trust the experts, be the watchful eye with our premier CCTV Installers Exeter for unmatched surveillance and peace of mind."

    ReplyDelete
  87. "Unleash the captivating power of Krave Kratom, available in bulk only at Kratom Point Wholesale – your destination for unrivaled botanical excellence!"

    ReplyDelete
  88. "Create a captivating atmosphere with Applied Physics USA's Dry Ice Fog Machine – Elevate your events with pure enchantment!"

    ReplyDelete
  89. "Experience innovation at its core with Applied Physics USA – Dive into the future with Centra Water solutions today!"

    ReplyDelete
  90. "Empower your drive with 1st Radar Detectors – Stay ahead, stay secure. Explore unmatched protection with our cutting-edge Radar Jammer technology."

    ReplyDelete

  91. "Forge a dynamic career in the realm of digital influence with 1st Position Ranking – Explore exciting Social Media Marketing Jobsthat propel your journey to the forefront of innovation and impact."

    ReplyDelete
  92. "Unlock the potential of Off Plan Investmentwith My Off Plan Investment - your gateway to smart wealth growth."

    ReplyDelete
  93. "Elevate your well-being with Karatom Point'sbotanic tonic - experience the purity of nature's embrace!" 🌿✨

    ReplyDelete
  94. Embark on your journey to social media success with 1st Position Ranking – seize the hottest Social Media Marketing Jobs and elevate your career today!"

    ReplyDelete

  95. "Find your peace of mind effortlessly with Karatom Point: the ultimate destination for those seeking where to buy feel free tonic"

    ReplyDelete