Error when using Microsoft Office 365 Scope

You need to pass the application token or client it. You get that when you register for the service.

Below thread might help.