How to initialize Office365Message?

image
When I’m trying to initialize, I’m getting this error. Any solution for this