Hi,
I’m trying to use the “Find Files And Folders” to access documents in a Sharepoint Site.
Unfortunately, the activity returns the following error:
Microsoft.Identity.Client.MsalServiceException: AADSTS1002012: The provided value for scope Sites.Read.All is not valid. Client credential flows must have a scope value with /.default suffixed to the resource identifier (application ID URI). Trace ID: cc72eaa6-c7e5-472b-8812-79759b801f00 Correlation ID: af759732-905f-42c5-b318-027f97c16f63 Timestamp: 2023-11-02 23:09:32Z at Microsoft.Identity.Client.Internal.Requests.RequestBase.HandleTokenRefreshErrorAsync(MsalServiceException e, MsalAccessTokenCacheItem cachedAccessTokenItem)
I’m using the UiPath.MicrosoftOffice365.Activities version 2.4.3. My Studio is in version 2023.10.0
For the authentication, I use “Application ID and Secret”.
The app has been registered with the following permissions and we tried with more permissions (app and delegate):
I tried the activity “Get Mail” that I use in another project. I’ve got the same error when I use the last version of 365 activity while it works with an older version (2.2.7). Unfortunately the older version doesn’t work for Sharepoint either.
Does anyone experience the same issue and found a solution?
Thank you
Greg