Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
25
Activity
128.6k
HI Radu, I am using O365 Cloud Sharepoint. I am using Sharepoint List Activities and using “Add List Item” activity to add the item in the list. I am getting the below Runtime Execution error.Source: Sharepoint application scope.Message: The remote server returned an error:(403) Forbidden.Exception Type: System.Net.WebException.I am using Sharepoint Instance type as “OnPremises”. Using "Online" is giving Bad sign in name and password error. What is the solution for this issue?
Hi Milind,
The only problem you have is with Adding list items? Maybe ur account does not have Add permissions on that specific list. Please note that you need to use the email as an account name and that the account should have permissions to the resource you're trying to access.
If this is a general issue, not only related to adding items and you are sure the permissions are correctly added, could you please tell me what identity provider ur SharePoint is using, SSO or something custom? This package works only with SSO. For O365, the Online option should be used.
I am trying to update list items using UpdateListItem activity. List contains around 30K items. Activity is returning the error "The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator."
I know LVT is set to 5000. Please advice any alternative approach without changing LVT.
This can be done by simply updating the Indexed Column in your list/library.
As long as you try to update lesss than 5000 items and all the column you query by are indexed, you should be good
Can this be used in Production?
Hello Radu,
I have downloaded the “SharePoint Custom Activities Package” from the “go.uipath.com” portal. I have added that to the UiPath studio.
After that I tried to use the activity “Sharepoint application scope”, but it is asking for the UserName and Password as the mandatory field. What value should be enter in these two fields? Please confirm.
NOTE - SharePoint which we are using is Single Sign On(SSO), we are not entering any UserName and Password while interacting with the SharePoint.
Could you please try your email and login password, if not ask your system administrator what credentails should you use for SharePoint API
Hello Radu,
thank you for your package which is very useful for us.
We are trying to upload quite a big file (800 MB) on a Sharepoint site, and we get this error :
Upload file: The operation has timed out
Is this a limitation of the activity ? Or of the Sharepoint site ?
We saw there is a property "PropertiesToAdd", could we set another timeout with this ?
Thanks !
Nicolas
We did test adding big files with this package, I'm not sure why you're facing this issue. I will make not of it and try to add more features that facilitate adding big files to SharePoint in the next release
Hi, Radu
Referring to my question below, I have posted the screen capture and error msg in the forum. The link to the post is here. Please help as I need to be able to use it urgently. The version of Sharepoint I am using is 2013. Hopefully that is not the limitation. If it is, any way to overcome it.
Response on the forum was given.
Thanks!
Hi, Thank you for providing the package which make automating in sharepoint easy. However, I encountered "Microsoft.Sharepoint.Client.ServerException" telling me that the group cannot be found. This group which is also a Active directory group is the group that I have been using to set permission for all my folders in the library but somehow the system not detecting. Please help. My system in onpremises and this I have selected in place of default online.
Can you please give us more information about this group?
Ideally the group name and a screenshot of the activity you're trying to use (you need to post on the forum if you want to share a screenshot).
Also, tell us please what SharePoint version you're using and the exact error message.
Thanks!
HI Radu, Referring my questiond below and based on your answer do you know What is the library created by Microsoft, and where is it hosted ? is it on the machine where we execute ?
Thanks,
Milind Kumar
The Library s this one: https://www.nuget.org/packages/Microsoft.SharePoint2016.CSOM/
The robot retrieves it from nuget, as it does with any other dependency
Hello Radu,
I'm having failure with the Sharepoint Scope activity connecting to Sharepoint Online.
I'm receiving the following return error message on a Get File:
Message: Cannot contact web site 'https://signetjewelers.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'.
My admin thinks this is related to Microsoft SharePoint online using Modern Authentication method which may be the issue.
Please advise.
Thank you.
Hi Keith
Yes, I think it might be a system restriction that can prevent this package from loging in.
I found some information here: https://blogs.technet.microsoft.com/sharepointdevelopersupport/2018/10/27/sharepoint-online-authentication-in-powershell-for-csom-when-legacy-authentication-is-disabled-for-tenant-or-multi-factor-authentication-is-enabled-for-user/
From what I've read it seems that this could be a Administrator Configuration that might preventing the package from loggning in, I'm not sure we can circumvent it as of now, but I'm looking into ways of bypassing this problem for our package. Hopefully in a future release we can provide a solution.
HI Radu, Could you please let me know where this activity is hosted? If I use this custom activities where does my ID and password for Sharepoint go? Will my ID/Pwd will be available local to my UI path or will it pass through the API called by the activity wherever it is hosted? Will this activity work on latest UI path 2019 version?
I wanted to be sure and safe that if I use my credentials for Sharepoint it will not go to any third party application and make it vulnerable.
Thanks,
Milind
Hi Milind,
The activity will try to login to the SharePoint site you specify and they use a Library created by Microsoft in order o connect to SharePoint. So your credentials should be safe. This activity does not add any security issues and it is just as safe to use as any other activity that handles user credentials
We tested this version and it works with the latest 2019 version too,
Thanks,
Radu
Does this tool work with on-premise 2010 sharepoint? Having error on Upload file activity as noted below.
Source: Upload file
Message: The object specified does not belong to a list.
Exception Type: Microsoft.SharePoint.Client.ServerException
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
Microsoft.SharePoint.Client.ServerException: The object specified does not belong to a list.
Cut some of the error due to length restrictions here.
Hi Aaron,
That is an interesting question. I think that, in theory, the activities should work with SharePoint2010 OnPremises too. We started developing with this possibility in mind and the API changed very little from version to version, but I have not tested, since I do not have a SharePoint2010 Instance.
Make sure you set your SP Activity Scope to "OnPremises" login mode instead of "Online" and it should work. If you have any problems, try posting the specifics on the forum, tag me and Diana Mincu to the post and we'll do our best to find a solution that suits you.
Best Regards,
Radu
Can you provide an example on how you can read from a list from a site and then add this item to another list in another site? Thank you!
Hi Haichih
The documentation can be downloaded from the Resources Tab, there you can find an example on how to add a new item to a list and on how to get items from an existing list.
If you still need help, please open a topic on the forum and we'll do our best to assist.
Technical
Version
2.0.1Updated
May 1, 2025Works with
Studio: 22.10+
Certification
Silver Certified
Collections
Support
UiPath Community Support
Resources