Unable to read share point list using Office 365

Hi Team,
My requirement is to read list from sharepoint using Office365. I have installed the package “Microsoft 365 v2.3.2” in studio and set the Application Id, Tenant Id, Secret Id in the Microsoft Office 365 Scope activity. Used “For Each List” activity inside scope activity.
When i try to run, getting the compile error as “UiPath.MicrosoftOffice365.Activities.Contracts.IClientServices is a type not supported by the language”
Please help to resolve this error. I am using C# Windows-Legacy project. Studio version is 2021.10.4

“UiPath.MicrosoftOffice365.Activities.Contracts.IClientServices is a type not supported by the language,” seems to be related to a compatibility issue with the UiPath.MicrosoftOffice365 package and your specific Studio and project setup.

Ensure that you are using compatible package versions. Sometimes, different versions of packages may introduce breaking changes. Make sure you’re using a version of UiPath.MicrosoftOffice365 that’s compatible with your UiPath Studio version (2021.10.4).

@Raman_Kumaresan

@Raman_Kumaresan

Welcome to the community

Try to degrade the office 365 version to the lowest possible…as it was introduced in 21.10 only…may be the lower version would support

Also for each list will iterate through lists but not a specific list item…

For iterating through list items …first use get list inof and then use the output of it in the for each list item activity

Hope this helps

Cheers