identity_providers
Creates, updates, deletes, gets or lists an identity_providers resource.
Overview
| Name | identity_providers |
| Type | Resource |
| Id | entra_id.identity.identity_providers |
Fields
The following fields are returned by SELECT queries:
- get
- list
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
displayName | string | The display name of the identity provider. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
displayName | string | The display name of the identity provider. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | identity_provider_base_id | Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. | |
list | select | Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. | ||
insert | insert | Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. | ||
update | update | identity_provider_base_id | Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. | |
delete | delete | identity_provider_base_id | If-Match | 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 Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
identity_provider_base_id | string | The unique identifier of identityProviderBase |
If-Match | string | ETag |
SELECT examples
- get
- list
Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource.
SELECT
id,
displayName
FROM entra_id.identity.identity_providers
WHERE identity_provider_base_id = '{{ identity_provider_base_id }}' -- required
;
Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects.
SELECT
id,
displayName
FROM entra_id.identity.identity_providers
;
INSERT examples
- insert
- Manifest
Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource.
INSERT INTO entra_id.identity.identity_providers (
id,
displayName
)
SELECT
'{{ id }}',
'{{ displayName }}'
RETURNING
id,
displayName
;
# Description fields are for documentation purposes
- name: identity_providers
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: displayName
value: "{{ displayName }}"
description: |
The display name of the identity provider.
UPDATE examples
- update
Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource.
UPDATE entra_id.identity.identity_providers
SET
id = '{{ id }}',
displayName = '{{ displayName }}'
WHERE
identity_provider_base_id = '{{ identity_provider_base_id }}' --required
RETURNING
id,
displayName;
DELETE examples
- delete
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 Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource.
DELETE FROM entra_id.identity.identity_providers
WHERE identity_provider_base_id = '{{ identity_provider_base_id }}' --required
AND If-Match = '{{ If-Match }}'
;