Integrating with dynamics 365

I'm trying to connect with an instance of dynamics 365 using OAuth2.0 Authorization code grant. When i try to authorize . I keep receiving an error saying 

AADSTS900144: The request body must contain the following parameter: 'scope'.
I'm not able to find whats wrong in here. Can someone point me what am i doing wrong ? 

  Discussion posts and replies are publicly visible