Skip to main content

authentication_external_authentication_methods

Creates, updates, deletes, gets or lists an authentication_external_authentication_methods resource.

Overview

Nameauthentication_external_authentication_methods
TypeResource
Identra_id.users.authentication_external_authentication_methods

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
configurationIdstringA unique identifier used to manage the external auth method within Microsoft Entra ID.
createdDateTimestring (date-time)Represents the date and time when an entity was created. Read-only. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
displayNamestringCustom name given to the registered external MFA.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectuser_id, external_authentication_method_idRepresents the external MFA registered to a user for authentication using an external identity provider.
listselectuser_idRepresents the external MFA registered to a user for authentication using an external identity provider.
insertinsertuser_idCreate a new externalAuthenticationMethod object. This API doesn't support self-service operations.
updateupdateuser_id, external_authentication_method_id
deletedeleteuser_id, external_authentication_method_idIf-MatchDelete an externalAuthenticationMethod object. This API doesn't support self-service operations.

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.

NameDatatypeDescription
external_authentication_method_idstringThe unique identifier of externalAuthenticationMethod
user_idstringThe unique identifier of user
If-MatchstringETag

SELECT examples

Represents the external MFA registered to a user for authentication using an external identity provider.

SELECT
id,
configurationId,
createdDateTime,
displayName
FROM entra_id.users.authentication_external_authentication_methods
WHERE user_id = '{{ user_id }}' -- required
AND external_authentication_method_id = '{{ external_authentication_method_id }}' -- required
;

INSERT examples

Create a new externalAuthenticationMethod object. This API doesn't support self-service operations.

INSERT INTO entra_id.users.authentication_external_authentication_methods (
id,
createdDateTime,
configurationId,
displayName,
user_id
)
SELECT
'{{ id }}',
'{{ createdDateTime }}',
'{{ configurationId }}',
'{{ displayName }}',
'{{ user_id }}'
RETURNING
id,
configurationId,
createdDateTime,
displayName
;

UPDATE examples

No description available.

UPDATE entra_id.users.authentication_external_authentication_methods
SET
id = '{{ id }}',
createdDateTime = '{{ createdDateTime }}',
configurationId = '{{ configurationId }}',
displayName = '{{ displayName }}'
WHERE
user_id = '{{ user_id }}' --required
AND external_authentication_method_id = '{{ external_authentication_method_id }}' --required
RETURNING
id,
configurationId,
createdDateTime,
displayName;

DELETE examples

Delete an externalAuthenticationMethod object. This API doesn't support self-service operations.

DELETE FROM entra_id.users.authentication_external_authentication_methods
WHERE user_id = '{{ user_id }}' --required
AND external_authentication_method_id = '{{ external_authentication_method_id }}' --required
AND If-Match = '{{ If-Match }}'
;