Here is the documentation I'm currently referencing. create
Using Personal Access Token (pat), I can create a team-scoped and project-scoped dashboard just fine.
But when I use OAuth on creating a project dashboard, it says that I'm not authorized on this resource.
https://dev.azure.com/{organization}/{project}/_apis/dashboard/dashboards?api-version=6.0-preview.3
My OAuth token has the vso.dashboards_manage scope included as required by the documentation and I've checked the project settings and my account is allowed on all permissions.
I can also create a project-scoped dashboard via the portal just fine but not when using REST API.
Any help would be appreciated.