Hello @Santhosh Kumar S ,
Welcome to the Microsoft Q&A platform.
DataLakeServiceClient serviceClient = new DataLakeServiceClient(serviceUri, sharedKeyCredential);
DataLakeFileSystemClient filesystem = serviceClient.GetFileSystemClient("container");
DataLakeDirectoryClient directoryClient = filesystem.GetDirectoryClient("test");
DataLakeFileClient fileClient = directoryClient.GetFileClient("File11.json");
fileClient.Rename("test/def.json");
I tried a similar snippet at my end and was not able to observe the issue at my end.
Upon further checking - the error could be related to windows-sockets-error.
This hints at some DNS issue - DNS resolution issue. Possible that you re in VNET - Org network that prevents access to the Azure endpoint.
https://learn.microsoft.com/en-us/azure/virtual-network/service-tags-overview
I'd check whether the issue is replicable across network.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators