On SharePoint Online, I'm trying to query the SiteData.aspx web service to get all the content in a SharePoint site:
Endpoint: https://mytenant.sharepoint.com/sites/MySite/_vti_bin/SiteData.asmx
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
<soapenv:Header/>
<soapenv:Body>
<soap:GetContent>
<soap:objectType>Site</soap:objectType>
<soap:retrieveChildItems>true</soap:retrieveChildItems>
<soap:securityOnly>true</soap:securityOnly>
</soap:GetContent>
</soapenv:Body>
</soapenv:Envelope>
I have rtfa and fedauth cookies present on the request, yet every time I get a response of: 403: Forbidden
My admins say I have been given the following permissions to this site:
- View Items
- Open Items
- View Versions
- View Application Pages
- Site Permissions
- View Web Analytics Data
- Browse Directories
- View Pages
- Enumerate Permissions
- Browse User Information
- Use Remote Interfaces
- Open
- Edit Personal User Information
Why am I still getting 403 errors here? Is there some other permission I need to be granted?