235 questions
-4
votes
1
answer
61
views
Access SharePoint REST API (/_api/web) from a C# backend — get token programmatically (no login popup)
Problem:
I need to call the SharePoint REST endpoint https://{tenant}.sharepoint.com/_api/web
programmatically from a C# backend service without any Microsoft login popup.
I already have these values:
...
0
votes
0
answers
40
views
How to show list and field displayName in a view using SharePoint REST API?
I am trying to copy an existing SharePoint List using SharePoint REST API.
I was able to achieve what I wanted to do, but the display names for the fields and the list itself is not displayed within ...
0
votes
0
answers
26
views
Unable to add item to the list on SharePoint Subscription Edition
I have a simple list called test2 and I am trying to add a row using the code. My code is as below:
using Newtonsoft.Json;
using System.Net;
using System.Net.Http.Headers;
using System.Security;
using ...
0
votes
0
answers
30
views
Sharepoint REST API paginated 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
0
answers
59
views
Call SharePoint Rest API with ADFS SSO
I am struggling to call SharePoint Rest API from a site which uses ADFS SSO Authentication. I have tried multiple solutions like this.
But I'm still stuck. Now I have built up a .NET Code to call the ...
0
votes
0
answers
25
views
SharePoint REST API filter on date does not work without time
I am facing a strange issue in the production site where I am using below API to filter on date column
_api/web/lists/getbytitle('List Name')/Items?$filter=MeetingDate eq '2022-09-15'&$top=1
...
0
votes
1
answer
157
views
GET document library metadata with Python (other languages welcome too)
I'm working on a back-up system where, at some frequency, the metadata columns in a document library in my SharePoint is backed up into an Azure SQL Database. I have registered an app in Azure with ...
-1
votes
1
answer
98
views
SharePoint Rest api custom site home page
I am trying to custom SharePoint Home page by adding the Quick Links web page, how to achieve it by SharePoint Rest Api.
The Quick link will refer the the folder under Documents.
I know the Quick Link ...
0
votes
1
answer
103
views
GetItems from a SharePoint list will convert the DateOnly field to the site time zone?
I have a SharePoint list with a column of type DateTime (DateOnly) field named StartDate1, and our site collection has UTC+2 time zone.
Now when i directly use SharePoint REST API "/_api/web/...
-1
votes
1
answer
272
views
2 requests to SharePoint Rest APi (Get & Post) inside a Batch request inside Power Automate. Get the result of the Get and send it inside the Post
Currently i am doing those 2 actions inside my Flow:-
Get the Info of a group mainly the PrincipleID using the group name
Pass the PrincipleID of the group in another POST request to Assign a ...
0
votes
1
answer
568
views
Pass multiple PrincipleIDs to the roleassignments/addroleassignment endpoint inside SharePoint Online REST API
I have a cloud flow, which get a semi-colon separated string containing Office 365 security groups names. Then I build an array after splitting the string.
After that for each group name I get the ...
1
vote
0
answers
112
views
SharePoint Item to pdf using SharePoint REST API
Objective is that. I am tring to read the Item of a list using Rest API and want to save that item details to pdf which should be similar to the item details UI when the item is opened in Modal or ...
2
votes
1
answer
401
views
Get Documents from a List using Graph API
With the SharePoint REST API, there was the /files endpoint that did a recursive search and gave you all the files from a List. Is there anything like that with the Graph API? I've been looking and ...
0
votes
1
answer
112
views
How can I get the Section headers (title/displayName) from Sharepoint pages using Graph Api?
When I use the endpoint as shown below the information about Section headers seems to be missing.
YAML
GET /sites/{site-id}/pages/{page-id}/microsoft.graph.sitePage/webparts
For eg. These ...
1
vote
0
answers
185
views
Sharepoint RestAPI Error: A 'PrimitiveValue' node or 'StartObject' node was expected
I am currently trying to update a Sharepoint Lists item image column using Sharepoint RestAPI.
The image is already saved to a list item as a file attachment, so I just need the thumbnail to show on ...
1
vote
1
answer
2k
views
Use Python to call SharePoint API get 401 response while I have the token
I have registered my App in Azure with API permission as below:
Here is my python code.
import requests
from msal import ConfidentialClientApplication
client_id = "xxxxxxxxxxxxxxxxxxxxx"
...
1
vote
1
answer
915
views
Sharepoint access public folder via REST API without authentication
Is it possible to access a folder, which I made publicly accessible via link, from the SharePoint REST API (without beeing authenticated)?
Currently when I try to access:
https://<tenant>....
0
votes
1
answer
252
views
Sharepoint Rest API office365 library - 403 Client Error - Permissions Sites.Selected
I am a global o365 administrator and a users asked me to get access to SharePoint via Pyhton script and he shared me the code from below questions:
HTTPError: 403 Client Error: Forbidden for url via ...
0
votes
1
answer
983
views
looking for SharePoint REST API end point to get list view items
we are trying to get SP list view items, means whatever the fields that are enabled in that specific view, those fields(columns) and items.
so what SP REST API end point is helpful
ex:...
to get SP ...
0
votes
1
answer
367
views
SharePoint Server Getting WorkflowInstanceID with REST API
Company is using SharePoint Server 2013 and i'm trying to write a service for another application which people can track workflow status.
What i try is getting Workflow Instance ID with;
/_api/web/...
0
votes
1
answer
2k
views
Get the preview URL in SharePoint Document library via REST API
I am making a custom web part that connects to the Documents list on SharePoint via Fetch. This is the call that I use for retrieving information:
/_api/web/lists/getByTitle('Documents')/items?$select=...
0
votes
1
answer
1k
views
Get-SPOTenant and Get-SPOTenantSyncClientRestriction using Connect-PnPOnline
I was trying to connect to SharePoint online via Connect-SPOService where I do not have a username/password and have only clientId and clientSecret. While surfing online I get https://sharepoint....
0
votes
1
answer
2k
views
official documentation about the SharePoint REST API end point for creating sharing links [closed]
Inside any SharePoint Online sites, we have the following four sharing options: -
Now I am building a custom REST API (one using Power Automate, the other using .NET Core)>> which should ...
1
vote
1
answer
425
views
SharePoint: How to get a term set by column-id in C#?
I try to get all terms in a set that is being used in a SharePoint list column which is a managed metadata column.
The Microsoft Graph API does not give any information about the term set in the ...
0
votes
1
answer
176
views
jQuery Datatable Sharepoint list filter data by clicking on icons/badges
I have this code:
<div class="container">
<div class="card-deck">
<div class="card t1" >
<div class="card-header" id=&...