OneDrive / samples

Contains samples, scenarios, and guidance for integrating with OneDrive and SharePoint drives, drive items, and files.
MIT License
58 stars 59 forks source link

Example using Picker v8 with personal Microsoft accounts #8

Closed jviney closed 2 years ago

jviney commented 2 years ago

Is there an example of using OneDrive Picker v8 with personal Microsoft accounts? All the examples I can see use business accounts.

patrick-rodgers commented 2 years ago

Just added a new basic sample showing how to use the picker with consumer (personal accounts).

matthewhampton commented 2 years ago

Just added a new basic sample showing how to use the picker with consumer (personal accounts).

Hi @patrick-rodgers ... Please forgive me if this is something obvious (or in the wrong place), but I am struggling to get this to work with my app...

I get an error trying to get that "onedrive.readwrite" scope for the token saying that it "is not configured for this tenant" - but I can't figure out how to configure it! It doesn't show up as one of the API options on my app registration. Do you have any hints for me on how to troubleshoot?

Thanks!

matthewhampton commented 2 years ago

Just added a new basic sample showing how to use the picker with consumer (personal accounts).

Hi @patrick-rodgers ... Please forgive me if this is something obvious (or in the wrong place), but I am struggling to get this to work with my app...

I get an error trying to get that "onedrive.readwrite" scope for the token saying that it "is not configured for this tenant" - but I can't figure out how to configure it! It doesn't show up as one of the API options on my app registration. Do you have any hints for me on how to troubleshoot?

Thanks!

Actually - I think it was the "authority" that I was missing! It was obvious! Thanks...