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
30
votes
5 answers

SharePoint Rest API how to get Access Token?

Just starting to work with SharePoint and Microsoft authentication and trying to get a SharePoint List into a JavaScript App. From Microsoft documentation, I need to use the following: GET https://{site_url}/_api/web/lists/GetByTitle('List…
L H
  • 1,145
  • 3
  • 12
  • 25
27
votes
3 answers

How to read SharePoint Online (Office365) Excel files in Python with Work or School Account?

I am a university student and I have registered as an Office 365 Education user via my university Email address. I usually log into https://www.office.com with my Email account: alice@abc.edu. The path to my profile is like:…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
16
votes
2 answers

Is there a complete list of sharepoint online rest api from official docs?

As title said, Is there a complete list of sharepoint online rest api from official docs? I've done some research. However from the MS docs I can only find Complete basic operations using SharePoint REST endpoints and Get to know the SharePoint REST…
NaaHCat
  • 450
  • 2
  • 4
  • 10
14
votes
1 answer

Web.GetFileByServerRelativeUrl throws "Value does not fall within expected range"

I have a SP Online site where I store Documents, I have no issues adding/retrieving documents but in the delete flow I get an error during retrieval of a File object. public static void DeleteDocument() { using (ClientContext ctx =…
morteng
  • 1,133
  • 2
  • 9
  • 22
12
votes
3 answers

microsoft graph API using filter on get sharepoint items

i am trying to filter my Sharepoint Items results query with the Microsoft Graph API as explained here so i am trying this https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items so i tried adding ?&filter=od eq 1, or copying from…
bresleveloper
  • 5,940
  • 3
  • 33
  • 47
12
votes
5 answers

SharePointOnlineCredentials Missing or not found

I have added Sharepoint reference in my project. Even after adding reference, it is showing: SharePointOnlineCredentials Missing or not found. Can anyone suggest a solution?
D.Daniel
  • 121
  • 1
  • 1
  • 3
11
votes
1 answer

TypeScript unable to load / use table2excel

I'm using this plugin in my TypeScript webpart for SharePoint Online I've included jquery and table2excel in the script and everything not related to table2excel is working fine. import * as $ from 'jquery'; require('table2excel'); I have installed…
user7255640
11
votes
2 answers

Deleting empty Document Libraries in O365

I have an existing system that we are cleaning up with thousands of document libraries and moving the contents into Azure instead. I'm looking for a programmatic way to iterate over the lists to find ones that are empty and delete them. Does anyone…
Jim Wooley
  • 10,169
  • 1
  • 25
  • 43
11
votes
1 answer

Create or Update SharePoint ListItem with hyperlink field

I am unable to create or update a SharePoint Online listitem that contains a hyperlink field using Microsoft Graph. I can create or update items to the same list if I remove the hyperlink field from the body of the API call. For update, I am sending…
andrew g
  • 164
  • 2
  • 8
11
votes
5 answers

How can I get the siteId of the current site with Microsoft Graph API?

From the documentation, I can't find any ways to get the siteId of the site where I put the webpart in. For example, My current site is: https://{hostname}/sites/main1 <-- NOT root site, but I want to get this siteId and I test my webpart here:…
PCHC
  • 177
  • 1
  • 2
  • 9
10
votes
3 answers

Get Title of SharePoint Site from Console App

I have a console app written in C#. I need to get some of the information from a SharePoint site. This instance of SharePoint is part of Office 365 (i.e. SharePoint Online). My challenge is, I can't use the helper library. I have to use the…
user687554
  • 10,663
  • 25
  • 77
  • 138
9
votes
1 answer

How do i make a manually added value in a choice column persist

I have a Sharepoint list with a "Choice" with "Can add values manually" checked. How do i make a manually added value in a choice column persist so that is available when adding and editing other records?
Leo
  • 5,013
  • 1
  • 28
  • 65
9
votes
2 answers

(401) Unauthorized exception while downloading file from SharePoint

I have generated an access token using OAuth mechanism for SharePoint Online server. I am using this token to create ClientContext using CSOM. While I am able to access all the sites, libraries, and folders seamlessly, I get error The remote…
Saket Kumar
  • 4,363
  • 4
  • 32
  • 55
7
votes
4 answers

PowerShell Install Module command not failing but not installing module

I am trying to install the PnP online commands for SharePoint onto my PowerShell however the following command doesn't seem to work; Install-Module -name SharePointPnPPowerShellOnline -scope CurrentUser The command seems to run through fine with no…
Ross.Muszynski
  • 101
  • 1
  • 6
7
votes
1 answer

How to lookup all sites with the Microsoft Graph API

I am looking for a Graph API call which can return to me all of the sites in Sharepoint Online. Looking at Enumerating Sites: https://learn.microsoft.com/en-us/graph/api/site-list?view=graph-rest-beta&tabs=http GET…
fei0x
  • 4,259
  • 4
  • 17
  • 37
1
2 3
99 100