Forum Discussion

Taron1645's avatar
Taron1645
Copper Contributor
Feb 28, 2019

Sharepoint API - REST

Hello,

 

           I am trying to access sharepoint REST api using OAuth. I am getting 401 unauthorized exception when I try to call the url

 

https://<<tenant>>.sharepoint.com/sites/pub1/_api/Web/SiteGroups/GetById(<<groupid>>)/users

 

Does this need "full control" permissions? Attached are the permissions setup in azure portal.

 

 

 

 

    • Taron1645's avatar
      Taron1645
      Copper Contributor

      Hi Frederico,

       

                    Thanks for the response. Where can I see the group settings? For the AD application I am testing against, I see one user and role assigned is Default Access. Attached screenshot.

Share

Resources