Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

REST API - HTTP 403 creating a project when using Bearer tokens

$
0
0

If I change my code to use a OAuth bearer token to authenticate instead of basic auth I get a HTTP 403 when trying to create a new team project. Since this isn't an explicit scope when defining my app I selected all the available scopes when I created my app. I know the token is good because I can successfully query the list of team projects just before calling to create the project. If I switch the code back to use basic auth the project is created successfully. Is this because the ability to create the project is still in preview?

I am calling this URL: /DefaultCollection/_apis/projects?api-version=2.0-preview


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>