did you try to escape backslashes? also why you are using backslashes insead normal slashes in something called url ?
– Selvin
I tried "//abc.org//test1//test2//test3//test4" still getting the same exception. I tied "\\abc.org\\test1\\test2\\test3\\test4" in browser and am able to access the url. @Selvin
– Rajdeep Gupta
That URL does not look valid to me. I'd image it should look something like this: ClientContext context = new ClientContext("https://{site_url}");
– burnttoast11
1 Answers
0
votes
I don't think this is the correct URL which you are using. Can you please put some different URL like "Https:test1.Microsoftsharepoint.com/sites/sitecollectionName.
If that will work, then modify your site URL.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
url
? – SelvinClientContext context = new ClientContext("https://{site_url}");
– burnttoast11