Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Create App Registration (/beta/applications) API work for CSP users? #4051

crpietschmann opened this issue Feb 26, 2019 · 2 comments


None yet
4 participants
Copy link

commented Feb 26, 2019

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 /beta/applications REST API:


And here's the HTTP response from the API:

{ "error": { "code": "Request_BadRequest", "message": "One or more property values specified are invalid.", "innerError": { "request-id": "b2ac87da-2279-4ca7-ad81-95904aeb116a", "date": "2019-02-26T01:41:08" } } } 

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?


Document Details

Do not edit this section. It is required for ➟ GitHub issue linking.

@crpietschmann crpietschmann changed the title Does this API work for CSP users? Does Create App Registration (/beta/applications) API work for CSP users? Feb 26, 2019


This comment has been minimized.

Copy link

commented Feb 27, 2019

I am also seeing this behaviour, and I am not in a CSP situation. I am able to create an application only including DisplayName, but I then cannot see it in the Portal.


This comment has been minimized.

Copy link

commented Mar 15, 2019

@sureshja You need to update the create scenario/example as the allowPublicClient property no longer exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.