最近在SharePoint2016环境上搭建App Catalog site,在添加App到App Catalog site上时显示下面错误 "Sorry, apps are turned off. If you know who runs the server, tell them to enable apps."
经过排查,对于此问题,需要check下面4点解决:
1. 到Central Admin-> Apps-> SharePoint and Office Store-> Configure Store Settings,在显示的页面中确保 "Should end users be able to get apps from the SharePoint Store" 下面选择的是Yes
2. 检查Subscription service application,确保是创建好的,如果没有可以参考此地址创建: https://blog.csdn.net/WarmSunshine7/article/details/88047640
3. 到Central Admin-> Application Management-> Service Applications-> Configure service web applications下,查看使用的web application,确保这个web application关联“App Management Service”
4. 到Central Admin-> Apps-> Configure App URLs,检查确保App Domain和App Prefix是已经配置好的。
希望可以帮助到大家,感谢阅读。