This project demonstrate how to use SPO CSOM in .Net Core console app
- update appsettings.json.
{
"SPOAppOptions": {
"AADClientId": "[AAD Client Id]",
"AppId": "[SPO App Id]",
"AppSecret": "[SPO App Secret]",
"TenantId": "[Tenant Id]",
"TenantName": "[Tenant Name].sharepoint.com"
}
}