For programming questions about Microsoft OneDrive (formerly known as SkyDrive), a cloud-based file hosting service, supported with SDKs and a REST API. (For non-programming questions, contact Microsoft customer support.)
-1
votes
0answers
4 views
Onedrive university can't get a shared folder from a friend using email not from university
I have onedrive for business from my university using my university email. When I login the url is
https://ucy-my.sharepoint.com/personal/username
A friend send me invitation to a shared folder. ...
1
vote
1answer
14 views
One Drive REST API - Current authenticated context is not valid for this request
I'm trying to build a background service that authenticates with One Drive via REST Calls. For now, I've registered a test application in the portal from my own email id and able to get a token.
But ...
1
vote
0answers
24 views
Microosoft Graph /sites request returns The Resource Cannot Be Found
If I use the GET statement:
https://graph.microsoft.com/beta/sites/root/sites/ then it correctly returns a list of sub sites under my main SharePoint site. But if I add a new Team Site sub-site to my ...
0
votes
1answer
19 views
onedrive for business webhooks
I can't seem to find the correct way to subscribe to webhooks for onedrive for business.
I know the endpoint url is different then regular onedrive.
(https://docs.microsoft.com/en-us/onedrive/...
1
vote
0answers
24 views
Cannot access OneDrive items through the Microsoft Graph API
I'm having an issue while trying to access my OneDrive items through the Graph API.
Endpoint: /v1.0/me/drive/items/{myItemID}/workbook/worksheets
Raw request:
GET https://graph.microsoft.com/v1.0/...
0
votes
1answer
17 views
Error when uploading file to OneDrive using Cloudrail
I tried following this CloudRail sample.
Here is my code:
OneDrive client = new OneDrive(new LocalReceiver(8082), CLIENT_ID, CLIENT_SECRET, REDIRECT_URI, "");
//I'm not sure about the parameter '...
0
votes
0answers
27 views
generalException - Unexpected exception returned from the service
We are getting this exception from RestoreMostRecentFromCacheOrAuthenticateUserAsync() on the MsaAuthenticationProvider object from the OneDrive authentication sdk. When we use AuthenticateUserAsync()...
-2
votes
0answers
19 views
Looking for a secure way to share files over the internet
Currently i am working on a project and the requirement is to share the financial files and documents securely over the internet. Idea is to give only relevant person access of the file and even he ...
-2
votes
1answer
14 views
OneDrive API for reading, deleting and creating comments
What api.onedrive.com endpoints can be used for reading, deleting and creating comments of documents stored in OneDrive?
var docId = "C382F44F3E2D3362!392363";
using (var http = new HttpClient()) {
...
0
votes
0answers
25 views
How to sync folders from a OneDrive to Sharepoint online?
I have a "common" Onedrive account sync with a server: this parts works.
Now I want to "display" in a sharepoint-online container the content of this OneDrive ?
Any help ?
0
votes
1answer
40 views
Microsoft graph api create folder using path returning 'invalidRequest'
The following error is returned by graph api:
"error": {
"code": "invalidRequest",
"message": "[child] A null value was found for the property named 'id', which has the expected type 'Edm.String[...
2
votes
1answer
25 views
OneDrive Copy Item using Microsoft Graph SDK - GatewayTimeout at 10 seconds if ~>38mb file
I am using the MS Graph .net SDK. Attempting to copy a sharepoint document library to another sharepoint document library.
If the file is approximately 38mb, a GatewayTimeout exception is thrown for ...
0
votes
0answers
14 views
Delta link return 404 error
Im try get file changes using this delta link in my account
https://graph.microsoft.com/v1.0/me/drives/ca338b43f405bc50/items/CA338B43F405BC50!646/delta?top=1000&token=...
0
votes
0answers
17 views
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found from onedrive-sdk-android
Working with onedrive-sdk-android api
final IOneDriveClient oneDriveClient = mClient.get();
new Thread(new Runnable() {
@Override
public ...
0
votes
0answers
12 views
Processing OneDrive callback with # in the url
I try to use OneDrive authentication flow. After login OneDriver redirects me to the given callback url. That's fine.
However the queryString is separated with # instead of ? and that cause me a ...