Redigera

Dela via


externalProfile resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Defines an external profile. This object is the base type for externalUserProfile and pendingExternalUserProfile resource types.

Inherits from directoryObject.

Properties

Property Type Description
address physicalOfficeAddress The office address of the external user profile.
companyName String The company name of the external user profile. Supports $filter (eq, startswith).
createdBy String The object ID of the user who created the external user profile. Read-only. Not nullable.
createdDateTime DateTimeOffset Date and time when this external user was created. Not nullable. Read-only.
deletedDateTime DateTimeOffset Date and time when this external user profile was deleted. Always null when the object isn't deleted. Inherited from directoryObject.
department String The department of the external user profile.
displayName String The display name of the external user profile.
id String The unique identifier for the external user profile. Not nullable. Read-only. Inherited from entity.
isDiscoverable Boolean Represents whether the external user profile is discoverable in the directory. When true, this external profile shows up in Teams search.
isEnabled Boolean Represents whether the external user profile is enabled in the directory. This property is peer to the accountEnabled property on the user object.
jobTitle String The job title of the external user profile.
phoneNumber String The phone number of the external user profile. Must be in E164 format.
supervisorId String The object ID of the supervisor of the external user profile. Supports $filter (eq, startswith).

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.externalProfile",
  "id": "String (identifier)",
  "deletedDateTime": "String (timestamp)",
  "createdDateTime": "String (timestamp)",
  "createdBy": "String",
  "companyName": "String",
  "displayName": "String",
  "jobTitle": "String",
  "isDiscoverable": "Boolean",
  "isEnabled": "Boolean",
  "department": "String",
  "phoneNumber": "String",
  "address": {
    "@odata.type": "microsoft.graph.physicalOfficeAddress"
  },
  "supervisorId": "String"
}