onedrive

Upload file to SharePoint drive using Microsoft Graph

本秂侑毒 提交于 2019-11-27 15:51:38
We are trying to implement integration between a web application and SharePoint Online using Microsoft Graph rest API. Specifically, we need to upload a file to a specific SharePoint site's document library (drive), different than current user default drive. We get the access token through Azure AD with access to all files. We can upload files into any drive using /v1.0/me/drive/... but not when we use another drive. For example: var response = client.PutAsync(graphResourceUrl + "/beta/sharepoint/sites/" + siteCollSiteId + "/lists/" + listId + "/drive/root/children/" + fileName + ":/content",

Does Microsoft SkyDrive have an API? [closed]

纵然是瞬间 提交于 2019-11-27 12:03:14
So with the recent news that Microsoft Skydrive is going to get bumped to 25GB of storage per account, does anyone know if SkyDrive has an API? (And if so, where are the docs?) Dare Obasanjo SkyDrive (renamed 'OneDrive') has an official API. Details can be found by going to The OneDrive Developer center . You can also find code samples for working with the OneDrive API, along with source code for the SDKs, on GitHub 来源: https://stackoverflow.com/questions/307696/does-microsoft-skydrive-have-an-api

HRESULT: 0xC00CE556 - Loading string to XML

回眸只為那壹抹淺笑 提交于 2019-11-27 08:30:30
问题 I'm trying to load a string that contains XML that is downloaded from SkyDrive. XmlDocument myXML = new XmlDocument(); myXML.LoadXml(importXMLDocument); When I call the above code I get the following error: Exception from HRESULT: 0xC00CE556 This is the XML that I'm trying to convert from a string and load to the XML Document: <?xml version="1.0" encoding="utf-8"?> <ArrayOfVehicle xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <vehicle>

Upload file to MS SharePoint using Python OneDrive SDK

北城余情 提交于 2019-11-26 21:21:29
问题 Is it possible to upload a file to the Shared Documents library of a Microsoft SharePoint site with the Python OneDrive SDK ? This documentation says it should be (in the first sentence), but I can't make it work. I'm able to authenticate (with Azure AD) and upload to a OneDrive folder, but when trying to upload to a SharePoint folder, I keep getting this error: "Exception of type 'Microsoft.IdentityModel.Tokens. AudienceUriValidationFailedException ' was thrown." The code I'm using that

Upload file to SharePoint drive using Microsoft Graph

大城市里の小女人 提交于 2019-11-26 17:19:10
问题 We are trying to implement integration between a web application and SharePoint Online using Microsoft Graph rest API. Specifically, we need to upload a file to a specific SharePoint site's document library (drive), different than current user default drive. We get the access token through Azure AD with access to all files. We can upload files into any drive using /v1.0/me/drive/... but not when we use another drive. For example: var response = client.PutAsync(graphResourceUrl + "/beta

Does Microsoft SkyDrive have an API? [closed]

ぃ、小莉子 提交于 2019-11-26 15:52:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . So with the recent news that Microsoft Skydrive is going to get bumped to 25GB of storage per account, does anyone know if SkyDrive has an API? (And if so, where are the docs?) 回答1: SkyDrive (renamed 'OneDrive') has an official API. Details can be found by going to The OneDrive Developer center. You can also