Questions tagged [sharepoint-rest-api]
Using the Representational State Transfer (REST) interface provided by SharePoint
1,788 questions
0
votes
0
answers
19
views
Send file from Power Apps to Power Automate "it appears that we do notsupport this file format"
I have this formula to send multiple files from power apps to power automate:-
ClearCollect(
i,
0
);
ForAll(
AttachFiles.Attachments As d,
If(AddandRenameFile.Run(
ClientDropdown....
0
votes
0
answers
21
views
What type of object is this within Sharepoint?
I'm trying to figure out what type of object this is that seems to be a Sharepoint site: https://mycompany.sharepoint.com/sites/CompanyWiki
When I try to use the Graph API like the following to get ...
0
votes
0
answers
16
views
Recover filepath from dynamic sharing link with API
Suppose someone made a dynamic sharing link of a folder on Sharepoint using the GUI, and stored the URL in a string somewhere.
I now have a need to take this dynamic sharing link url and recover the ...
0
votes
1
answer
44
views
Cant post to add or update SharePoint list item at same site collection with getrequestdisget on modern site
I created a function to get RequestDigest: async function getRequestDigest() at modern site, then before the ajax code in createItem function, I called getRequestDigest() to set const digest= await ...
1
vote
1
answer
112
views
How can I add top and/or limit and/or skip to a graph rest api to get both list and items
So, we have the long-running question: how to get column display names and items in one call? (see here)
Seemed that the only answer back then is that you either needed to send two rest api calls or ...
0
votes
0
answers
24
views
How to get attachments from list item
I'm doing a flutter app that needs to retrieve a list of items and then their attachments if any.
I'm using this api to retrieve all the items:
https://graph.microsoft.com/v1.0/sites/$siteId/lists/$...
0
votes
0
answers
21
views
Sharepoint REST API Paginatyed Query in Power BI retuning 404 errors for rows where data exists in SharePoint list
I am running a query in Power BI on a large SharePoint list of over 10,000 rows. In preview everything works but when I attempt to load the table, I get 404 errors in my data for rows where I know the ...
1
vote
1
answer
82
views
SharePoint Online: Webhook Notification responds with incorrect URL
I have an application that takes in SharePoint webhook notifications. Currently, the format of the site URLs is: /sites/<hub-site>/<sub-site>. Each of these sub sites has 3 libraries. I ...
0
votes
0
answers
40
views
How do I get HTML from SharePoint site?
I am new to SharePoint / Power Automate but have been programming since 2019.
My job has tasked me with building a web scraper to get data from our companies internal SharePoint site (our home page is:...
1
vote
1
answer
50
views
SharePoint Online: No pagination token returned for REST point SiteGroups/GetById(<#>)/Users
I noticed that, when listing users in a SharePoint group with a small $top (say, 1), the server responds without a @odata.nextLink or a __next:
curl 'https://example.sharepoint.com/sites/...
0
votes
0
answers
54
views
SharePoint on Prem Rest API call from ADFS Authentication (SAML)
I have been struggling to call SharePoint Rest API from Postman. The site is using ADFS Authentication & registered on ADFS using URN.
By following multiple Articles, I first Registered an App in ...
0
votes
0
answers
82
views
SharePoint REST API - _api/Web/SiteGroups/GetById()/Users
I am trying to retrieve the users of a SharePoint group via the REST API.
First I use this URL https://tenant.sharepoint.com/sites/SiteXY/_api/web/sitegroups/ to get all the SharePoint groups of the ...
0
votes
0
answers
66
views
How to connect to REST API via standard python?
I had previously been developing an app that would connect to SharePoint and allow for basic REST operations to handle org compliance. This tool used a third party library to handle this, but I was ...
0
votes
1
answer
157
views
Updating Term Store Child Term through REST API
I have a few layers in my term store. Top down, I have Groups -> Sets -> Terms -> Children.
I'm able to retrieve all of my terms and the children with the Graph APIs. I need to update a child ...
3
votes
1
answer
172
views
How to apply a site design and wait for its completion?
I want to programmatically apply a site template using REST call (actually from a power automate flow).
I want to wait for its completion.
What I've observed is that the number of actions is limited ...