OneDrive - App Folder Named "Graph" Instead of Application Name

david lilley 15 Reputation points
2024-12-12T08:50:42.6366667+00:00

There is an issue where the App Folder is being named "Graph" instead of the intended Application Name for some users, specifically those uploading to "my.microsoftpersonalcontent.com."

Scenario:

  1. A user logs in to the application and OneDrive via OAuth.
  2. The user uploads a file to OneDrive.

Expected Outcome: The file should be uploaded to

/apps/**MyApp**/SomeFile.txt

Actual Outcome: The file is uploaded to

/apps/**Graph**/SomeFile.txt

The upload process utilizes the following special URL:

OneDrive API: Get Special Folder

The request is made using:

POST https://graph.microsoft.com/v1.0/me/drive/special/approot:/SomeFile.txt:/createUploadSession

This returns a URL for posting the upload:

https://my.microsoftpersonalcontent.com/personal/XXXXXXX/_api/v2.0/drive/items/YYYYYYYY/uploadSession?guid='XXXXX4-4YYYY-bCCCDDDDDDD'&overwrite=True&rename=False&dc=0&tempauth=d3f4f4f4f4f....

For reference, another user has reported a similar issue: GitHub Issue #1866

Microsoft 365 and Office OneDrive For business Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2024-12-13T01:38:33.7833333+00:00

    Hi,

    It is recommended that you post this thread to OneDrive for Developer forum:

    https://techcommunity.microsoft.com/category/onedriveforbusiness/discussions/onedrivedeveloper

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.


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.