Microsoft Office 365 Scope: Object reference not set to an instance of an object

Hi guys,
I’m getting an error using get mail office365
i have no idea how to fix this, can someone help please ?

@tharuler, in debug mode set up breakpoints to see exactly where the error is coming from

1 Like


Check the properties are set with required parameters and parameters are not throwing null

Hope this helps


1 Like

Hi @tharuler,

Are you still having this issue?

This issue normally occurs when a variable has not been initialised (hasn’t been given a value). Try using an Assign before the activity that throws an exception, like this:

MyVar = ""


hi ! yes i did resolve this a few days ago, indeed it was because of a variable not being initialised

If my solution worked for you, then please mark that as the solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.