GraphUserOriginIdCreationContext interface

Use this type to create a new user using the OriginID as a reference to an existing user from an external AD or AAD backed provider. This is the subset of GraphUser fields required for creation of a GraphUser for the AD and AAD use case when looking up the user by its unique ID in the backing provider.

Extends

Properties

origin

This should be the name of the origin provider. Example: github.com

originId

This should be the object id or sid of the user from the source AD or AAD provider. Example: d47d025a-ce2f-4a79-8618-e8862ade30dd Team Services will communicate with the source provider to fill all other fields on creation.

Inherited Properties

storageKey

Optional: If provided, we will use this identifier for the storage key of the created user

Property Details

origin

This should be the name of the origin provider. Example: github.com

origin: string

Property Value

string

originId

This should be the object id or sid of the user from the source AD or AAD provider. Example: d47d025a-ce2f-4a79-8618-e8862ade30dd Team Services will communicate with the source provider to fill all other fields on creation.

originId: string

Property Value

string

Inherited Property Details

storageKey

Optional: If provided, we will use this identifier for the storage key of the created user

storageKey: string

Property Value

string

Inherited From GraphUserCreationContext.storageKey