SharePoint update Single List Item Issue

Hi Everyone,

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?

Thanks!

in 3.5.10 package we have seen issues where internal connection cache becomes invalid, and the connection name resolves to empty (“”).

Upgrade to Microsoft 365 Activities → 3.7.4 or higher.

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

Hi prashant1603765,
Thanks for replying.
In this case, should I create a dummy 365 scope before I actually update the item?

Hi MohammedShabbir,

Thanks for replying. I can only see the 3.5.10 package here. Where can I find the higher package?

Can you follow these steps.

  1. Open UiPath Studio and select Manage Packages.
  2. In “Manage Packages”, go to Settings / Package Sources.
  3. Check if there is a source named something like “Official” or “UiPath Official”
  4. 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.
  5. After save, again go back to All Packages and search microsoft 365 package (before selecting versions, check “Include Prerelease” and other filters accordingly)
  6. Pick the version you require and install then save.

Hi

I cannot find the 3.7.4 version

The latest version should be 3.5.10?

Yes, 3.5.10 is the latest one, try to use it by degrading (lower version)

@Harry_Yang

May I know what is your studio version?..

as this version supports 24.10+..so if it is lower better to use a little older version

@MohammedShabbir

Its ok to use LLM but please ensure you verify the output or either mention thats its not verified so that members would be aware

cheers

1 Like