-
Hello, I'm using PnP core to try and upload a file to a sharepoint site. var folder = await context.Web.Folders.Where(f => f.Name == "Folder Name").FirstOrDefaultAsync(); I'm also using this scope in the controller [AuthorizeForScopes(Scopes = new[] { "https://graph.microsoft.com/.default" })] But this always return 403, I can get the site Title but not list the folders. Please help me |
Beta Was this translation helpful? Give feedback.
Answered by
jansenbe
May 22, 2024
Replies: 1 comment
-
@Krymancer : this feature uses SharePoint REST under the covers, you need to grant the proper SharePoint scopes for your Entra app |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Krymancer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Krymancer : this feature uses SharePoint REST under the covers, you need to grant the proper SharePoint scopes for your Entra app