How to initialize Office365Message?

What you need to do is to have your variable of type Office365Message and then convert it as follow : CType(myVar, MailMessage)