Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Folder creation on OneDrive fails with error message "User's mysite not found" when a user is created through Graph API #83

Open
anurag2994 opened this issue Nov 8, 2019 · 3 comments
Assignees

Comments

@anurag2994
Copy link

Describe the bug
Folder creation on OneDrive fails with error message "User's mysite not found" when a user is created through Graph API. The Office 365 E3 Developer was assigned upon creation.

To Reproduce
Steps to reproduce the behavior:

  1. Create a user using the Graph API.
  2. Assign Office 365 E3 Developer license using the Graph API.
  3. Create a folder on OneDrive using the Graph API SDK.
  4. Error:
    Exception occured - Reason:Code: ResourceNotFound
    Message: User's mysite not found.

Expected behavior
Folder should get created on user's OneDrive without any failure.

Desktop:

@MIchaelMainer
Copy link

This strikes me as provisioning latency between creating the user, user profile propagation, license assignment, and then having access to OneDrive. Please let us know if you are still having this issue and any solutions you may have found.

@anurag2994
Copy link
Author

Found a Workaround to fix this issue which works as follows:

  1. Go to office.com.
  2. Log into new user's account.
  3. Go to apps and open the Sharepoint app on the browser.

After following these steps now the folder gets created on OneDrive.

@andrueastman andrueastman transferred this issue from microsoftgraph/msgraph-sdk-dotnet May 19, 2021
@petrhollayms
Copy link
Collaborator

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK.
Please let us know if this helps!

Note: We will close this repository on April 19, 2024.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants