GRAPH: .xlsx/workbook/tables/add/row

FRUITSTOCK SARL 26 Reputation points
2022-01-29T16:54:49.967+00:00

Hi all,

I'm running a Python script which add data to an excel files on Personal Onedrive using Delegated permission. This one work perfectly.

But it's impossible in my use case to use identification across browsers.

So check with a Daemon Python app but I can't reach my files using /me/drieve/root:/...... It's seems to be impossible according to my research;

Can we use you a post request to add a row on Personal Onedrive excel file with Deamo app (Application persmission) ?

Thank 's for your help.

Antho

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Allen Xu_MSFT 13,861 Reputation points
    2022-01-31T08:43:39.71+00:00

    Hi @FRUITSTOCK SARL ,

    It is impossible to use daemon to access personal account OneDrive files. Daemon app will use Application permission (without user) to do the operation. But based on the Microsoft Graph Get Files Permissions, Only Delegated permission is supported for personal Microsoft account. And Delegated Permission means app + user permission. Currently you have to implement Get access on behalf of a user and use auth code flow to access personal account OneDrive files with Microsoft Graph API.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.