Sharepoint issue - The sign-in name or password does not match one in the Microsoft account system

Hi @UiPath_Community,

We are facing this issue again (this time for an attended process) while using Sharepoint application scope (UiPathteam.SharePoint.Activities v1.7.0):

Get List Items: The sign-in name or password does not match one in the Microsoft account system.

I know this has been a known issue for a while(since 2023), and we were advised to switch to Microsoft O365 package.

But, I wanted to check with you all if any other solution has been found to this problem statement than switching to o365 package as this switch is not really a quick/simple way for us given our organization setup.

Also, looping in @radu_bucur @Diana_Mincu for their inputs.

Regards
Sonali

@sonaliaggarwal47

May I know what authentication are you using?

check this…looks like its might be because of the authentication type…changing it might save you from the issue as a quick fix

cheers

We are facing Sharepoint issue - The sign-in name or password does not match one in the Microsoft account system issue in production code. we were running same code from last 1 year and its working fine. suddenly since yesterday we are facing this issue.

sharepoint package which we are using : (UiPathteam.SharePoint.Activities v1.7.0).

Please help to resolve this.

Regards,
Bhagyashri

Hi Sonali,

Are you able to fix this issue? If yes, could you please help me also.

Thanks,
Bhagyashri

Same issue we are facing as well. Until today evening it was fine but after that we started receiving the same issue. Did you manage to solve the problem?

Hi Debasis,

Our issue was resolved by allowing the UiPath user to use the Legacy auth. Please check the below link. I hope this will help you.

Office365 and Legacy Authentication

Thanks,

Bhagyashri

2 Likes

Hi @bhagyashri.kasture,

Thank you sharing this!

This looks like a promising solution.

Though, I am not quite sure if this is something that would be approved by our security team, however, I will check with them and revert back.

It would be really helpful for us right now if this works as we have processes that require downloading of sharepoint list attachments and there seems to be no direct activity available in O365 package for same.

Regards
Sonali

Thank you for sharing the solution Bhagyashri, we applied the potential fix shared by you but unfortunately it didn’t solve our problem.

Sonali,

This solution by Bhagyashri didn’t work in our case but we used an alternative method and it worked.

We mapped the SharePoint folder in OneDrive desktop (open the SharePoint folder and add a shortcut to your OneDrive), now we are using this SharePoint folder as a local folder in this virtual desktop.

If you are using this method please make sure “Always keep on this device” is checked. To avoid any syncing issue while re-uploading or modifying the an existing file.

Hi @Debasis_Nayak,

Thank you so much for sharing the details.

We are trying to change this setting and see if it works in our org. I will update on same once we are able to test.

Yes, for other sharepoint activities, there is an alternate solution available in o365 package as well. And the solution you have shared, we are also using the same in many other projects.

However, for me, current requirement is to deal with sharepoint list item.

We need to download list attachments, for that we have not been able to find a solution yet. If you come across any working solution for same, kindly share :slight_smile:

Regards
Sonali