Issue connecting to share point drive

Hey Everyone i am trying to download some files from business share point using Microsoft 365 activities but for some reason this issue comes up. Can you please guide me towards the resolution. Thank you

Activity packages versions used

UiPath.Mail.Activities: [1.21.2]
UiPath.MicrosoftOffice365.Activities: [2.2.4]
UiPath.System.Activities: [23.10.3]

The generalException is not giving usually the exact error details from the Microsoft GraphAPI side.

Follow this article https://uipath.my.salesforce-sites.com/CaseView/articles/en_US/Knowledge/Code-generalException-Microsoft-Office-365 and get the exception.InnerException.

@JRRAO,

Most probably it’s the credentials issue. Make sure you are passing right value at right property listings ke client secret, app id etc.