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
Discussion posts and replies are publicly visible
Your using OAuth v2 endpoint so you do need the scope and if you look at the screenshot above the scope field is empty. See this link:
https://community.dynamics.com/365/f/dynamics-365-general-forum/317299/dynamics-365-oauth-for-webapi