How to return all 'drives' from all sharepoint sites in a Graph API query?
Hello, We've been trying to return all drives of all teams for the purpose of creating a report with each Sharepoint site's preservation hold library size. I'm able to pull a list of all groups using the below query: …
Sharepoint REST api get page contents and all likedbyinformation
I'd like to have one call that gets all page content AND details for the page's likes (count and the users who liked). This call returns LikedByInformation but shows no likes (when there are likes for the page) and doesn't include any details. Seems like…
Error while migrating encrypted packages from azure blob container to Sharepoint
I'm getting this error "Unexpected exception from decryption" while trying the method CreateMigrationJobEncrypted. The error is from log file. Files/packages are encrypted and successfully uploaded to blob containers with metadata…
Sharepoint Rest API(add file) request returning http 500 when using Transfer-Encoding chunked
Hi, I'm hitting my sharepoint online site, to add files to the 'Shared Documents' list. Trying from postman, I can get the access token (https://accounts.accesscontrol.windows.net/xxxxxxx-xxxx-xxxxx-xxxxx-xxxxxxxx/tokens/OAuth/2) and also add file…
Regarding Github SharePoint Online Sample
Hi there, I found out a article and sample for SharePoint Online (https://github.com/pnp/List-Formatting/tree/master/view-samples/document-library). It is a better sample for me. I went through the article and found out a question: Site…
What is the api to get the drive ID for an organization without specifying the username
I want to upload and download files to an organization one drive. What is the API for this. As of now, I find the API to get driveID of a user and not the driveID of the organization.
How to fetch files from a document library in one site collection to display in a web part in another site collection in SPO without Read permissions
I have a test project documents library in one site collection (projects) and I need to fetch and display these files in another site collection (HR) in SharePoint online , but the users from HR do not have permissions on test project documents and also…
Sharepoint Online Caml query does not return all expected results
Hi All, So I have an Office 365 SharePoint Provider-hosted App, which stores data in lists in the app web. One of the lists has an INDEXED field IsArchived. The number of items in the list is well above the 5k threshold limit. The problem is that…
Adding Text link over an Image
I have an image displayed as a rectangle and I need to place a text link over it. In other words, I want to use the image as background for a div tag then have a text link over top over it. I've tried various methods found. Do not have access to CSS…
![](https://techprofile.blob.core.windows.net/images/Mwr7X6JkV0qiBUwIc7UV8Q.png?8D94AD)
MS Graph API (SDK) download files from Sharepoint using item[itemID].Content or using download URL returns `BadRequest` for all requests/files on different drives
The app fetches a DriveItem, and from the download url it starts a (chunked) download. This has worked fine up until a few days ago. Getting a DriveItem still works, but then trying to download doesn't work anymore. For all requests, we get the same…
Fetching webpart contents using PNP powershell
I'm trying to migrate customized webpart data from onpremise to online in Content Editor webpart. I'm copying the contents of the webpart from onpremise and creating a new content editor in the Sharepoint online and updating the contents of onpremise…
![](https://techprofile.blob.core.windows.net/images/2gus2vlXikumGv-Qc2RA0A.png?8D86E8)
Search for Sharepoint API for file notification
Hello, I'm currently working on a Python application and I'm looking for an API function/point (RESTful) for Sharepoint 365. Which when called, notifies the user when a file has been added or changed. Or is there a library for python for this ? …
401 Unauthorized after creating client context using Access Token
Hi, I have a web application deployed to Azure and registered as App Registration with AAD authentication configured. I am getting current users info as "ClaimsPrincipal.Current" and access token as…
Sharepoint "Link to Document" file in SharePoint with Mailto
I'm using Sharepoint Server 2016. I'm trying to add a mailto link in my document library. I'm using "Link to document". In the url, I put name.aspx and when I change the properties, I modify the URL to mailto:something@Anonymous …
![](https://techprofile.blob.core.windows.net/images/GNl2ZxdZ_0Othv2YDlj7zg.png?8DA297)
DevTools failed to load source map
Dear, 48h ago, my Sharepoint online apps suddenly stopped working. I see this error in the browser console: DevTools failed to load source map: Could not load content for https://amcdn.msftauth.net/meInlineBackCompat.min.js.map: HTTP error: status…
Exporting Lists from SharePoint Online
Looking for a simple way to Exporting roughly 100 Lists from SharePoint Online to a file folder every day, we want this to be a simple script that our non tech team can manage. I have seen few CSOM samples, is this the way to go or are there some options…
things weird about SharePiont site "Access Denied"
Hello , We created a SharePoint site names "admin department", we setup user as "read only" (custom permission levels) group, but when the user get inviting and check the link, they get "Access Denied" , issue Type:…
getActivitiesByInterval Returns Empty Value Set For A Modified File
I am trying to use the getActivitiesByInterval method (docs: https://learn.microsoft.com/en-us/graph/api/itemactivitystat-getactivitybyinterval?view=graph-rest-1.0&tabs=http) on a set of pdf files in SharePoint to determine various access stats. This…
Sharepoint search rest api - get all pages first published in the last 6 months
Using Postman to test rest apis I'm getting all news posts from a few sites with this: https://xxx.sharepoint.com/_api/search/query?querytext='SPContentType:"Site Page" AND IsDocument:True AND FileExtension:aspx AND PromotedState:2 AND …
Kql filter on a field value works in Sharepoint search but not search rest api call
I need to get all news posts from multiple sites where a yes/no field = true. Here's my search rest api call where RefinableString05 is mapped to the yes/no field: /_api/search/query?querytext='Path:https://xxx.sharepoint.com/sites/site1 OR…