Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

How do I properly configure the OneDrive / SharePoint File Picker for use with internal Sharepoint storage?

Background I have followed all Microsoft's documentation, and have viewed several of their samples. It appears that I'm doing everything correctly. The steps I have taken so far are as follows. ...
Matt Barr's user avatar
  • 444
0 votes
1 answer
23 views

Uploading Files to OneDrive in Flutter

I/Choreographer(25376): Skipped 1 frames! The application may be doing too much work on its main thread.I/flutter (25376): Connected to OneDrive.I/flutter (25376): Attempting to upload CSV file to ...
Tristan's user avatar
0 votes
0 answers
18 views

Issues getting csv files to be read

I am having issues loading my data, I have my .csv files on a local drive but when I try to get them to open in r, I continue to get this error, Error in file(file, "rt") : cannot open the ...
Genesis Rosiles's user avatar
0 votes
0 answers
28 views

Attach DB Browser for SQLite Read-Only

Intro I am attaching to SQLite databases using DB Browser for SQLite. These databases hold archive data that I want to keep untouched. From there I want to copy data for reporting purposes. (the ...
Spastika's user avatar
  • 394
0 votes
1 answer
69 views

Upload a file using msgraph Python SDK

I wanted to recreate the HTTP upload file example from the documentation: async with aiofiles.open(src_file_path, 'rb') as file: file_content = await file.read() dest_folder_name = "FolderA&...
Luca's user avatar
  • 123
0 votes
0 answers
21 views

Getting Access Token expired error for SharePoint url. The Auth Token present in url is expired

ERROR: <span id="ctl00_PlaceHolderMain_LabelMessage">The access token has expired. It's valid from '9/4/2024 6:13:00 AM' and to '9/4/2024 7:13:00 AM'.</span> REASON FOR ERROR: ...
neha's user avatar
  • 1
0 votes
0 answers
42 views

How to connect xlsx file to R from Onedrive

I'm seeking a way to connect a ".xlsx" file from a shared OneDrive link. The OneDrive where the file is stocked is not mine but I've full access to the .xlsx file. My code: library(curl) ...
gerard's user avatar
  • 11
0 votes
1 answer
49 views

How to get all the files in OneDrive account using the graph SDK?

I'm trying to use a service account to pull all files from a OneDrive business account using the MS Graph Python SDK. import asyncio from msgraph import GraphServiceClient from azure.identity import ...
WHOATEMYNOODLES's user avatar
-1 votes
0 answers
17 views

setting OneDrive local folder

I seem to have a rather simple problem but can’t find the right answer. I have more than 2 microsoft accounts. One is a personal account and 2 are business accounts. All the accounts use a one drive. ...
RobD's user avatar
  • 95
0 votes
1 answer
63 views

Get, Delete, Upload Winforms Files c# Onedrive

I found several examples on the Microsoft site but I was unable to do the following, populate a datagridview with a list of files and folders on OneDrive, and be able to delete or upload files. I have ...
bernox's user avatar
  • 79
0 votes
0 answers
15 views

How to get lookupId for a sharepoint my-site?

Currently I am trying to get the lookupId for a user's SharePoint my-site using SharePoint RestAPI. My http request url looks like this, but I keep getting a 401 or 404 error. https://<tenant-name&...
Gura's user avatar
  • 5
0 votes
1 answer
74 views

AADSTS70000 Error When Requesting for Access Token

I am trying out the API for uploading a pdf file to my onedrive personal account using python script. I followed the procedure as according to the documentation and managed to get the authorization ...
T.PC's user avatar
  • 61
0 votes
0 answers
59 views

Collision between Microsoft.Identity.Client.Desktop and Microsoft.WindowsAppSdk in WinUI 3

I would like to know, how to solve error like this: error NETSDK1152: Found multiple publish output files with the same relative path: MyProject\obj\x64\Debug\net7.0-windows10.0.19041.0\win10-x64\...
Jacob Mordon's user avatar
-2 votes
0 answers
44 views

Delete Shared Files in OneDrive from Microsoft Teams

I am using Microsoft Graph Api to sync and listen on OneDrive shared folder, and it works fine but I see that Api return every thing shared (shared by Teams, or SharePoint) and it's limited to 500 ...
SaadAmien's user avatar
0 votes
0 answers
40 views

Excel file with VBA open tooo slow when upload to the Sharepoint

I am currently interning at the company and need to develop a VBA for supplier consolidation. There are two main files: one for company departments to input vendor information and another for ...
余梓滢's user avatar
-1 votes
0 answers
34 views

How to deployment File Handler for onedrive business and sharepoint can use it

I read this document about File handler endpoint. I have some concerns about this deployment feature on my production. I try some apps like Kami, it just requested a scope File.ReadWrite.All to show a ...
Tan nguyen nhat's user avatar
1 vote
0 answers
36 views

Issue downloading onedrive shared files to my gmail account using api

I've working on a process where files are auto downloaded on server from gmail account and processed further. previously i was working with google drive attachments. Added a feature to download the ...
FadiKhan's user avatar
0 votes
1 answer
99 views

Graph API - Filter the drive items based on name

I am trying to get the drive items using Graph api. The filter currently i am trying to use is to get the name value. For example: the DriveItem name is "Business Impact Statement", i am ...
Dharun's user avatar
  • 39
0 votes
0 answers
27 views

Using One Drive File Picker with access_token from the backend

We are looking to integrate oneDrive in our webapp. What this means is that user will authenticate himeself. pass auth token to the backend backend fetches the access token and refresh token Now if a ...
wozanick's user avatar
1 vote
0 answers
26 views

I can't get a popup when I click on the custom action button I created with OneDrive & SharPoint FileHandler

I developed a file handler with custom action for my OneDrive and SharePoint environment. I followed the document below : https://learn.microsoft.com/en-us/onedrive/developer/file-handlers/?view=odsp-...
Thorux's user avatar
  • 225
0 votes
0 answers
15 views

Use OneDrive API for personal use, without needing to open an application

I need to automate some stuff with my (personal) OneDrive and want to use their API but I don't want to open an application in Azure for this. Is there a way to use the API with username & ...
Javi's user avatar
  • 929
0 votes
0 answers
50 views

Root Cause: HTTP400 - The size of the request headers is too long

TL;DR; Unable to create new workplace accounts in Windows 10. Root cause = '400. The size of the request headers is too long' when sending OAUTH API requests to https://login.microsoftonline.com/...
David Adams's user avatar
0 votes
0 answers
35 views

Error 400 with Onedrive API Uploading a File

I'm trying to upload a pdf file using Onedrive API with a python script. However I'm getting a Error 400 with message of "Unsupported use of colon". I'm using Onedrive Personal and the ...
T.PC's user avatar
  • 61
0 votes
0 answers
24 views

Automating creation of Excel Templates (.xltx) in OneDrive from existing Excel Workbooks (.xlsx)

For this post, I am going to start from the beginning to give an overview of what I am trying to accomplish. I work for a company where I have built a PO calculator that operates from automatic price ...
Adam Dressler's user avatar
0 votes
1 answer
38 views

HttpClientFactory request 1000 images in OneDrive [closed]

batch request fail with 302. foreach (var item in batchItems) { var contentStream = await graphClient.Drives[_driveId].Items[item.Id].Content.Request().GetAsync(); if (contentStream != null) ...
Nguyen Vodka's user avatar
0 votes
0 answers
63 views

How to open eml file: "Invalid path or URL"

I have a snippet of VBA code where I want to press a button in Excel that will open an Outlook template. I get an error Invalid path or URL Sub emailBugReport() Dim myoutapp As Object Dim ...
xplicitator's user avatar
0 votes
0 answers
35 views

Schedule jupyter notebooks without relying on local system

Is it possible to schedule jupyter notebook that uses one drive files without relying on local system. I have created a shortcut to one drive in my company’s sharepoint and read those files in my ...
Sai Sri's user avatar
0 votes
1 answer
142 views

How to upload large files to Onedrive using python

import requests from msal import PublicClientApplication from dotenv import load_dotenv import os # Load environment variables load_dotenv() # Configuration from environment variables CLIENT_ID = os....
tealy's user avatar
  • 184
0 votes
0 answers
18 views

Set Onedrive "Email notification when others comment on my documents" with Graph

Users can opt out of "Email notification when others comment on my documents" by going to https://{Tenant}-My.sharepoint.com/personal/{User}/_layouts/15/onedrive.aspx?p=22 And setting "...
Ofer Gal's user avatar
  • 833
0 votes
0 answers
25 views

FileHandler is not registering

I am currently working on FileHandlers and I followed official document https://learn.microsoft.com/en-us/onedrive/developer/file-handlers/?view=odsp-graph-online .But the custom button does not ...
Cemre Bitgen's user avatar
1 vote
1 answer
85 views

Microsoft Graph API Fetching Large Quantity of Small Documents From OneDrive Returns Duplicates

I'm working on an app that uses the Microsoft Graph API to fetch the contents of OneDrive based on a supported search criteria, (Modified Date Range, Keyword, Author...etc). When we started testing we ...
LuisPM's user avatar
  • 25
0 votes
1 answer
67 views

How do I replace an existing item(File content) using Graph sdk (.NET C#)?

I'm using MS Graph SDK to replace the existing file. I find a way to upload new file to onedrive, but I'm still having problem with finding a way to replace the existing file. (assume that I already ...
John Park's user avatar
  • 188
1 vote
1 answer
48 views

Graph SDK: using select options on delat (Onedrive)

I am trying to get delta changes in specific One Drive Root using the following MS Graph sdk (v5.56) code. string url = $"https://graph.microsoft.com/v1.0{resourcePath}/delta?token={...
John Park's user avatar
  • 188
0 votes
0 answers
142 views

How to get a direct download link to an Excel Online file with Authentication?

I have some Excel 365 files online. Some are shared with EVERYONE, and some are shared directly with me. I want to have a local copy to them to apply some macros over them. The share link is for VIEW ...
Mohammad ElNesr's user avatar
0 votes
0 answers
15 views

Is there an accepted way to use System.IO classes on a OneDrive file?

This is a question I've been curious about for years. It's not blocking me at all; I'd just like to know the answer. I have some .NET Framework apps for personal use that want to read and write text ...
David Brooks's user avatar
0 votes
0 answers
33 views

How to save files onto another user's OneDrive Using Microsoft Graph

I have a web app where I would like the administrator to specify a Office 365 account (by storing the name and password) whose OneDrive would be used to store common files. I've gone back and forth ...
Ron's user avatar
  • 1
0 votes
0 answers
18 views

microsoft.identitymode.tokens.audienceurivalidationfailedexception was thrown while trying to open One Drive document in WKWebView in iOS app

I am working in iOS app needs to be opened One Drive attachments in WKWebView. Sample One Drive document is https://\*\*\*.sharepoint.com/personal/\*\*\*\*\*\_onmicrosoft_com/\_layouts/15/Doc.aspx?...
Sanjay Borkakoty's user avatar
0 votes
0 answers
33 views

Not getting Onedrive webhook call while sharing a file with a user or removing file access for a user

I am subscribing to the one drive subscriptions for updates on the root folder of my Onedrive. I have successfully registered the subscriptions using the following request curl --location --request ...
V.J's user avatar
  • 1
0 votes
1 answer
120 views

Batch download files from a shared onedrive folder

I'm attempting to batch download a large number of files from a shared OneDrive (for Business) folder, but I'm having trouble getting the script below to work. It doesn't seem to be locating the ...
john's user avatar
  • 33
0 votes
1 answer
870 views

Getting InvalidAuthenticationToken error while making microsoft graph api request

I need to get the list of all the files in one drive using a nodejs api. I have registered an app on azure and have implemented the code flow for authentication as described here :- OneDrive ...
V.J's user avatar
  • 1
0 votes
1 answer
99 views

Microsoft graph - upload small files to OneDrive with customized cconflict resolution behvior

I am working on development of my Android java application which utilizes Microsoft graph API to upload files to OneDrive. I see the offical article mentions: enter image description here It seems ...
Chin gtman's user avatar
0 votes
0 answers
23 views

Get full Excel address synced to OneDrive ThisWorkbook.FullName

I currently use this solution via VBA: Function CaminhoLocal() As String Dim i As Integer Dim caminho As String Dim Path As String Path = ThisWorkbook.Path If Path Like "...
Adriano Marques's user avatar
1 vote
0 answers
41 views

How to send / download an Outlook image attachment using Power Automate

How to download an Outlook image attachment using Power Automate: I am trying to download an image using Power Automate, but it gives me data instead of an image in the email body. "attachments&...
Jerry's user avatar
  • 11
0 votes
0 answers
38 views

User's mysite not found. OneDrive to Business Central

I'm attempting to automatically import a file from a cloud storage folder, in this case Microsoft OneDrive, into a table in a Microsoft Business Central SaaS environment using an AL extension. At the ...
NickSO's user avatar
  • 93
0 votes
0 answers
31 views

microsoft onedrive embed works and gives bunch of content security errors

I'm trying to insert onedrive video embed in blogs/news articles from editor (@kolkov/angular-editor). it works, but throws too mush errors like one in photo. I researched and read that it's content ...
Nika Jobava's user avatar
0 votes
0 answers
51 views

Returning OneDrive for Business Documents path from reg query in batch file

I am trying to return the default file path for my documents on a machine that uses OneDrive for Business. If I simply use the command prompt: reg query "HKCU\SOFTWARE\Microsoft\Windows\...
fureelmusic's user avatar
1 vote
1 answer
75 views

How to Navigate inside a folder with Sharepoint API?

I'm new to Sharepoint API and when I hit this API https://graph.microsoft.com/v1.0/me/drive/sharedWithMe It returns me list of all the files and folders shared with me in following format { "@...
Awanish Mishra's user avatar
0 votes
0 answers
38 views

How to access Files stored in OneDrive by an Android App

I have the need to write an App on an Android Tablet, to download Files stored in MicroSoft OneDrive. First of all I need to know whether it is possible or not. As a matter of fact, it exists an App, ...
Giovanni Polese's user avatar
0 votes
1 answer
69 views

Use Column Formatting in a custom column in OneDrive for Business

We are trying to create a custom column in the users' OneDrives to display some information reflecting applied retention labels. We achieved to create the colum through PnP.PowerShell and also apply ...
Uwe Grohne's user avatar
0 votes
0 answers
125 views

How to restrict Graph API application permissions to access OneDrive files of a specific user only?

I am using Microsoft Graph API to download a file from OneDrive and have set up the following permissions: Files.Read.All (Application) - Read files in all site collections User.Read.All (Application)...
Arnav's user avatar
  • 1

1
2 3 4 5
60