Microsoft-graph-docs: How to Create Service Principal?

Created on 15 Mar 2019  路  3Comments  路  Source: microsoftgraph/microsoft-graph-docs

Issue:
I need to create a service principal. But there is no POST call for a servicePrincipal.

Article:

app model azurAAD

Most helpful comment

This operation is exposed in the beta version of the API. The basic request is

POST https://graph.microsoft.com/beta/servicePrincipals

{
    "appId": "your-registered-app-id"
}

That's it. You do need to have created an app first though.

All 3 comments

This operation is exposed in the beta version of the API. The basic request is

POST https://graph.microsoft.com/beta/servicePrincipals

{
    "appId": "your-registered-app-id"
}

That's it. You do need to have created an app first though.

Thank you. I guess the documentation is yet to be updated here [https://docs.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-beta]

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mlafleur picture mlafleur  路  3Comments

Chotimir picture Chotimir  路  3Comments

abhatt29 picture abhatt29  路  4Comments

aaronrogers picture aaronrogers  路  3Comments

nchdl picture nchdl  路  4Comments