Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Does Create App Registration (/beta/applications) API work for CSP users? #4051
I have a Azure AD user that's a CSP user. When I get an Auth Token from Azure AD for the CSP user and then try to use this API to create a new App Registration in a CSP Azure Subscription it always returns "400 Bad Request"
Here's the JSON I'm POSTing to the
And here's the HTTP response from the API:
This appears to be a bug in the API when a CSP user is attempting to create an App Registration in an Azure Subscription that is managed under the CSP. For greater context, a call to Delete an App Registration works fine. It's just the Create that is broken and returning this error message when it shouldn't be.
Also, a CSP user can login to the Azure Portal for the given Azure Subscription and create a new App Registration within Azure AD using the portal. It seems that the REST API just isn't working.
Any advice on a work around to get the REST API to work?
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.