Today, we will discuss about How to Retrieve All Groups Using REST API in SharePoint 2013 Root Site. In this example we are using the following method in the NAPA Tool. On your Developer web site, open the “Napa” office 365 Development Tools so select Add New Project. Now Select the App for SharePoint template, name the project produce web site so select the create button. And then replace APP.js with the subsequent source code. After that, publish Your App.



These are important steps to be done before creating the app.
Specify the permissions that your app needs as within the following.
Choose the Properties button at the bottom of the page.
Within the Properties window, select Permissions.
Within the Content category, set the Write permissions for the Tenant scope.
Within the Social category, set the read permissions for the User Profiles scope.
Close the Properties window.


Now, write the following code:

Finally, publish the App and click the Trust it Button shown on the below picture:


Here is the output:

Group Retrieved Successfully.


SharePoint 2013 Hosting Recommendation’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options.

hostforlife banner