Bot could not able retrieve the Outlook folders names


We are trying to fetch the Outlook folders names using assign value.
OutlookNS is of type - Microsoft.Office.Interop.Outlook.NameSpace
in Assign

But i am getting an error as “Assign: The attempted operation failed. An object could not be found.”

Can anyone tell me what is wrong here? Do i need to make any setting changes to the robot account?

Thanks and Regards,

Hi @Santhosh_Hyd,
If I’m not wrong this method is related to Outlook’s VBA scripting and it will not work for typical automation. For this more advanced scripting and library/namespace importing is needed.

1 Like


Can you tell me any alternatives to retrieve folder names in Outlook , any sample workflow or any post related to would be helpful.

To be honest the only way I know it’s possible at the moment is to work with Outlook Interop library. For this you may check MS sites.

1 Like