Hi @Steve 4848
Personal accounts cannot consent to the Sites.ReadWrite.All
delegated permission. Because Sites.ReadWrite.All is a SharePoint-specific permission, and SharePoint's target user is a team or organization rather than an personal account. Unless your personal account is invited to an organization or team as a collaborative user.
Only OneDrive supports personal accounts, and the Files.ReadWrite.All
permission is sufficient if you're just working with files in OneDrive.
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.
Is there anything else I can help with regarding this issue?
You can comment us at any time and we will continue to follow up.
Thanks,
Carl Zhao
Hi Carl,
So if my client does not see their Sharepoint drive being listed on their account, what can I tell their IT staff to ensure that the Sharepoint drive is listed? How can they confirm whether they are using a personal vs team account? Is there a link that I can share with them to confirm their access permissions are set up correctly?
Hi @Steve 4848
You can have your customers call the /drives endpoint and then check the
driveType
parameter, which is the SharePoint drive if the value of the driveType parameter isdocumentEdibrary
.It's also easy to tell if it's a personal or a work account, have your customers log in to Graph Explorer and then call the
/me
endpoint, where the user is a personal account if the id is a short and contiguous string of numbers plus characters.Hi @Steve 4848
Has your problem been solved?
Sign in to comment