Exchange server activities



While using exchange server activities i am getting following exception
Invalid URI: The format of the URI could not be determined.



This exception generally occurs when the server details passed in workflow is either incomplete or wrong.
It is advisable to use Autodiscover property if this feature is enabled on server side.
I have attached the sample workflow for the better understanding, you can use your MS 365 account for the testing.

JishnuExchangeMail.xaml (5.1 KB)


Hey @Sanya_Bhasin

Agree with @Jishnu_Kumar

May be you are missing a “scheme” in the uri, e.g., “ftp://” or “http://” the email server host that is to be used.


Word Read Text: Invalid URI: The hostname could not be parsed

Your example does not explain how to format the “Server” properly in case autodiscover doesn’t work.
Could you describe this.



I have the same problem. My Autodiscovery does not work. How can I find out the right server format? I do have the server name, which works on my Outlook, on my iPhone but not on UiPath. Thanks.


Well I am not very sure but a good Server detail will something like this

the .asmx is the key