Questions tagged [sharepoint-online]

A cloud-based service, hosted by Microsoft, that provides SharePoint collaboration platform as an online service.

SharePoint Online is a collection of Web-based tools and technologies that help your organization store, share, and manage digital information. Built on Microsoft SharePoint Server 2013, this hosted service is ideal for working on projects, storing data and documents in a central location, and sharing information with others. The following Content features makes Enterprise Content Management (ECM) easy for everyone. It’s the combination of traditional content management, social capabilities, and powerful search.

3816 questions
7
votes
2 answers

Sharepoint Online - How set Document to open in Preview mode by default

I am working in SharePoint online and office 365. This is causing auto-save to save and change the modified date whenever a document is opened by someone with Edit privileges even if nothing is changed. I would like to set SharePoint to open…
Holmes IV
  • 1,673
  • 2
  • 23
  • 47
7
votes
2 answers

Get all SharePoint files and folders of a drive using Microsoft Graph API

My problem is: if I call https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root/children all I get are the top-level items of that drive. How can I achieve to get all the subfolders and files of the drive?
xilopaint
  • 699
  • 1
  • 7
  • 16
7
votes
3 answers

Microsoft Graph update SharePoint list item multi choice field

What is the proper JSON syntax to update a multi-choice list item field using the Microsoft Graph? Multi choice fields return a json array of strings like: GET: /v1.0/sites/{siteId}/lists/{listId}/items/{itemId} "CAG_x0020_Process_x0020_Status": [ …
7
votes
1 answer

SharePoint security inheritance underlying implementation

I have 2 parts to my question. If I have a Document library with 10K documents, and all documents set to inherit permissions from the library which itself has explicit ACL comprising 500 users (i.e. the library does not inherit security from the…
r_honey
  • 883
  • 4
  • 15
  • 31
7
votes
2 answers

SharePoint Online Merge Unsupported

I am trying to merge an item into an existing list in SharePoint Online, but receive the following error: "The type SP.ListItemEntityCollection does not support HTTP PATCH method." My configuration is as stated in Microsoft documentation.…
Blake Lassiter
  • 383
  • 2
  • 4
  • 18
7
votes
2 answers

SharePoint online: can a Windows Client application use OAuth for authentication?

We build a Windows client application for SharePoint online with SharePoint Client Object Model. We want to use OAuth to authentication for this Windows Client application, but we didn't find a way to do it; and the docs on MSDN is ambiguous. This…
Matt
  • 6,010
  • 25
  • 36
6
votes
2 answers

Transforming Microsoft Graph ListItem Output to a corresponding C# type

The work of transforming JSON data into a typed data model through seems to be made much more complex by the "help" the combination of SharePoint and MS Graph offer. :-) I have a SharePoint List in Microsoft 365 that I'm accessing through the Graph…
Rob Perkins
  • 3,088
  • 1
  • 30
  • 51
6
votes
4 answers

SharePoint Online access token from Python

Any help is much appreciated! I have tried so many libraries and ways of doing this, nothing seems to work. I'm inexperienced with REST APIs and accessing SharePoint using them. I have tried out various code samples that use Python requests,…
6
votes
1 answer

Microsoft graph : Updating a document with a Put request Java

Based on the MS graph documentation, I saw that i can update a driveItem (file) and put it in a specific sharepoint drive. The application is running as a daemon application (without user login). For this I use this entry point : PUT…
davidvera
  • 1,292
  • 2
  • 24
  • 55
6
votes
2 answers

MSAL AD token not valid with SharePoint Online CSOM

I am able to retrieve and use an access token via MSAL in a desktop .Net project. I can successfully retrieve tokens and they are valid in my Graph calls. However, trying to use the access token with SharePoint Online CSOM results in a 401:…
AWeber
  • 381
  • 1
  • 3
  • 14
6
votes
1 answer

Using Microsoft Graph API to get SharePoint Online team sites

I'm trying to get access to SharePoint team sites of an organization. I'm using Microsoft Graph API as it's the most complete API for Office 365. I understand how to get an access token and how to use it to make requests. I know it works because I…
Yan Lamothe
  • 65
  • 1
  • 5
6
votes
0 answers

Project Server Online CSOM - GeneralSecurityAccessDenied while reading TimePhase Assignments

This is my first SO question so please let me know if this question is not very clear or if I am missing anything. FYI SO prevented me from attaching links, so sorry for all the bad formatting. Overview I'm trying to read (and write) the "Actual…
6
votes
2 answers

How to redirect a URL in SharePoint Online?

I have a site setup in SharePoint online at: aaa.sharepoint.com/fr The trouble is that this is an internal acronym and new staff always go to the long version of this URL. Is there a way I can redirect aaa.sharepoint.com/fundraising to…
Michael A
  • 9,480
  • 22
  • 70
  • 114
6
votes
1 answer

AADSTS90093: Does not have access to consent in office365

I am using Office365 Rest api's to write into users onedrive for business. When i try to get the OAuth token by passing the Client ID, Client Secrete, Resource(https://****-my.sharepoint.com),RedirectUri(https://*******) I am getting the following…
Kirthi35
  • 185
  • 3
  • 16
5
votes
1 answer

How to obtain refresh token for sharepoint app-only model?

We've a customer requirement to authenticate to sharepoint online using sharepoint app-only model.Obtained access token by posting a request to Microsoft Azure ACS,"…