How did you get list item ?
Remember to Load and ExecuteQuery for getting list items:
string siteUrl = "https://Tenant.sharepoint.com/";
string clientId = "The Client ID";
string clientSecret = "The Client Secret";
using (var cc = new AuthenticationManager().GetACSAppOnlyContext(siteUrl,clientId, clientSecret))
{
cc.Load(cc.Web, p => p.Title);
cc.ExecuteQuery();
Console.WriteLine(cc.Web.Title);
var myList = cc.Web.Lists.GetByTitle("MyList");
var AllItems = myList.GetItems(CamlQuery.CreateAllItemsQuery());
cc.Load(AllItems);
cc.ExecuteQuery();
};

Hi @MichelAlHayek-6298 ,
For SharePoint On-Premise environment, .NET Core Web API is not the suitable option as both PnP Framework and SharePoint On-Premise CSOM are not supported .NET Core Platform.
And for On-Premise environent, it's suggested create a .NET Framework Web API with SharePoint CSOM or SSOM to achieve the same.
Thanks
Best Regards
Hi @VishPothaganti-6173,
Is there any update ? If the answer is helpful to the question, I suggest you could accept as answer so that it could help others in the forum.
Thanks
Best Regards
MS Teams Native API end-points haven't realease by Microsoft official, so this should not be used currently.
And the token is for Teams not related with Graph API, as explained above Graph API use OAuth 2.0 bearer token and necessary to work with Client Id/Secret.
Now if you have several Tenants, don't worry, just need to create a single AAD Application for a single tenant, this just cost few minutes, then you will be able to get Graph token and get the Group based site url with Graph API.
Hi @PabloGlomby-5415 ,
"Can I configure the application in My Tenant and would this avoid different customers(not linked each other) to use an application registered in my tenant ?"
No, this is not supported, as the application permission is based on the specific Tenant, they can't to be common use due to the security reason.
I suggest you can explain this point to your customer, just need to register one application in each Tenant and can be repeat using in the solution.
Hi @VishPothaganti-6173 ,
Graph API beta version have endpoint for accessing the eDiscovery hold details:
Thanks
Best Regards
Hi @DamienBarafort-8210 ,
Is there any update ? Did you fix the problem for uploading file ?
Thanks
Best Regards
Hi @DamienBarafort-8210 ,
Add a console.log(ex) in error handler and check F12 Console to see the detailed error response, post the capture with us, if it's showing "Not Found" like this:

This should be the folder relative url is invalid.
Thanks
Best Regards
Hi @sylvesterscitara ,
I have converted the comment into answer and Thanks for accept as answer :)
Have a nice day
Thanks
Best Regards
No, once the application set with Tenant Full Control, it will have the permission for all sites, only one application is enough.
And you can repeat using the same Client ID and Secret in the code snippet.