Forum Discussion
Issue with OneDrive App Folder Creation - Need Assistance
Subject: Issue with OneDrive App Folder Creation - Need Assistance
Hello everyone,
I am currently facing an issue with OneDrive where it's not creating a folder for my application in the Apps folder of the user's OneDrive root directory when I first invoked the folder using the special folder namespace. I would appreciate any help or suggestions from the community.
Here are the steps I've taken so far:
I added the Files.ReadWrite.AppFolder permission to the application. I have successfully obtained the token.
I attempted to use the API to create my app's folder, but unfortunately, it failed. I have attached a screenshot for reference (Please see the attachment below).
As a reference, I have been following this Knowledge Base article: https://learn.microsoft.com/en-us/onedrive/developer/rest-api/concepts/special-folders-appfolder?view=odsp-graph-online#creating-your-apps-folder
I'm not sure why the app folder creation is not working as expected. If anyone has encountered a similar issue or has any suggestions, I would be grateful for your input.
Thank you in advance for your help!
Best regards,
Leo