Delete identityProvider

Namespace: microsoft.graph

Delete an identity provider resource that is of the type specified by the id in the request.

Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Azure AD. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) IdentityProvider.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application IdentityProvider.ReadWrite.All

The work or school account needs to belong to one of the following roles:

  • Global Administrator
  • External Identity Provider Administrator

HTTP request

DELETE /identity/identityProviders/{id}

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 204 No Content response code.



The following is an example of the request.



HTTP/1.1 204 No Content