I got a very weird issue when using the Microsoft 365 Scope activity to Update Single List Item.
My Setup: I am using the Application ID and Secret method to authenticate with SharePoint. In general, this works well.
The Issue: Sometime, the process fails with the following error:
Update Single List Item: Cannot find item configured with connection '' and identifier {SharePoint List ID}
The Behavior: Once this error occurs, simply re-running the failing file/process does not resolve it; it continues to raise the same error.
However, I found a strange workaround: if I run a different process that uses the same appid and secret SharePoint update logic, it seems to refresh the connection. Immediately after that, the original process starts working again.
The version for Microsoft 365 is 3.5.10
Has anyone faced this issue where the connection seems to be lost?
Hi @Harry_Yang
Might be the error happens because the ms365 connection token expires or isn’t initialized; running another process refreshes it, so add a connect or dummy action at the start to ensure the token is valid.
Happy Automation
Check if there is a source named something like “Official” or “UiPath Official”
If not present, you have to add a new package source:
Name: e.g. UiPath Official
Source(URL):https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
Save / Apply.
After save, again go back to All Packages and search microsoft 365 package (before selecting versions, check “Include Prerelease” and other filters accordingly)