question

ene-0090 avatar image
0 Votes"
ene-0090 asked karishmatiwari-msft answered

Can't create project-scoped dashboard via Rest API

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.

https://dev.azure.com/{organization}/{project}/{team}/_apis/dashboard/dashboards?api-version=6.0-preview.3

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.




azure-stack-hub
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered

Based on the documentation you have shared, this looks like an Azure DevOps question.
This is currently not supported on Microsoft Q&A.

Please post your questions on Azure DevOps forum here to get the answer from the experts: https://techcommunity.microsoft.com/t5/azure-devops/bd-p/AzureDevOpsForum

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.