Hey Community,
I am currently working on a project/workflow and running into an error whenever I use the GetExchangeMailMessages activity, below is the error:
Try Reading New Messages: There was an error parsing WS-Trust response from the endpoint. This may occur if there is an issue with your ADFS configuration. See Integrated Windows Authentication · AzureAD/microsoft-authentication-library-for-dotnet Wiki · GitHub for more details. Error Message: Object reference not set to an instance of an object.
I tried looking through the troubleshooting url that was provided but still getting this error. Can someone please explain how to overcome this error?
Thank you
Anil_G
(Anil Gorthi)
March 29, 2024, 1:48am
2
@kaden.frazier
What authentication are you using?
As per error looks like your azure app configuration might be wrong or they are not open for 3rd party app access…check the same
Cheers
Hey @Anil_G ,
I am using Username and password authentication. There are 2 other options I can use, “Interactive” and “WindowsIntergrated”.
Thank you
kaden.frazier:
“
Is Username and Password still working in 2022.4 because I remember creating a project in 2019.10 with the same layout and worked just fine.
Anil_G
(Anil Gorthi)
March 29, 2024, 5:12pm
5
@kaden.frazier
Microsoft has deprecated local auth so that might be an issue…try with other options
Cheers
@Anil_G
I was looking at the activity on the UiPath website Activities - Get Exchange Mail Messages (uipath.com) and says that the UserName and Password authentication just needs the ApplicationID which I have provided to the workflow but still getting that error