thub.users.profile.tabs.comments.personalized


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.

@mdzakir-4088 ,

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();
    
   };

108964-snipaste-2021-06-24-17-50-48.png


Sorry, I don't have multiple domain so I have less experience to handle Cross Domain.

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

@AluriSrinivasarao-2861,

Is there any update ? Have you tried the endpoint in the answer ?

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.

Get access without a user


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:

List legalHolds


Thanks
Best Regards


The m_userid is int and m_wfID is string, they aren't the same data type.

Except operation needs the same data type, so you can use .ToString():

var ListC = resultUser.Select(u => u.m_userid.ToString()).Except(resultwfuser.Select(x => x.m_wfID.ToString()));

Capture for your reference:

resultUser (m_userid 1,2,3,4):

88929-snipaste-2021-04-19-16-20-38.png

resultWfUser:(m_wfID 1,2,3)

89016-snipaste-2021-04-19-16-20-50.png

Result:

89017-snipaste-2021-04-19-16-21-02.png

4 is in resultUser and not in resultWfUser, this should be what you want.


OK, so can you post the capture of resultUser and resultwfuser like my comment above ?

Without the real data in your side, it's hard to find the suitable linq.

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:

90141-snipaste-2021-04-22-09-08-06.png

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