C
C#3mo ago
ayoubma

.Net 8 uploading file into sharepoint

I have a problem with uploading a csv file into sharepoint online using a .Net 8 console app, especially in the authorisation phase, i have already done the same thing with .Net framework using CSOM but as i understand CSOM isn't supported in .Net core or at least i Don't know how to implement it, if anyone has an idea of how i can do so please let me know.
16 Replies
boiled goose
boiled goose3mo ago
what flow are you using?
ayoubma
ayoubma3mo ago
If you mean the flow of the application, i do generate the file and then i try to upload it into sharepoint online, after entering the credentials and generating the context after getting a token generated, this works in .net framework but not with .net core
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
ayoubma
ayoubma3mo ago
??
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
ayoubma
ayoubma3mo ago
I havent shared any code, as you can clearly see
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
ayoubma
ayoubma3mo ago
100%
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
boiled goose
boiled goose3mo ago
the authentication flow
ayoubma
ayoubma3mo ago
The question i am asking is not about the code but rather about if there is a way to implement CSOM with .Net 8, or there isn't other way than using pnp core library
ayoubma
ayoubma3mo ago
No description
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
boiled goose
boiled goose3mo ago
that's why i asked about the auth flow
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
ayoubma
ayoubma3mo ago
Sorry for the late answer, as the table you sent suggest it doesnt support SharePointOnlineCredentials and i don't have an idea of how to complete the authentication without using that method, yes i have looked on that first link you found and it doesnt give much infos
Want results from more Discord servers?
Add your server
More Posts