activitySettings
To construct, see NOTES section for ACTIVITYSETTINGS properties and create a hash table.
externalConnection
To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
complianceSettings
To construct, see NOTES section for COMPLIANCESETTINGS properties and create a hash table.
configuration
To construct, see NOTES section for CONFIGURATION properties and create a hash table.
Prompts you for confirmation before running the cmdlet.
The Teams App ID.
Optional.
Description of the connection displayed in the Microsoft 365 admin center.
Optional.
To construct, see NOTES section for GROUPS properties and create a hash table.
Optional headers that will be added to the request.
The unique identifier for an entity.
Read-only.
The number of items ingested into a connection.
This value is refreshed every 15 minutes.
If the connection state is draft, then ingestedItemsCount will be null.
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
To construct, see NOTES section for ITEMS properties and create a hash table.
The display name of the connection to be displayed in the Microsoft 365 admin center.
Maximum length of 128 characters.
Required.
To construct, see NOTES section for OPERATIONS properties and create a hash table.
connectionQuota
To construct, see NOTES section for QUOTA properties and create a hash table.
Optional Response Headers Variable.
schema
To construct, see NOTES section for SCHEMA properties and create a hash table.
searchSettings
To construct, see NOTES section for SEARCHSETTINGS properties and create a hash table.
Runs the command in a mode that only reports what would happen without performing the actions.
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties.
For information on hash tables, run Get-Help about_Hash_Tables.
ACTIVITYSETTINGS <IMicrosoftGraphExternalConnectorsActivitySettings>: activitySettings
[(Any) <Object>]: This indicates any property can be added to this object.
[UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL.
[Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated.
BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalConnection>: externalConnection
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[ActivitySettings <IMicrosoftGraphExternalConnectorsActivitySettings>]: activitySettings
[(Any) <Object>]: This indicates any property can be added to this object.
[UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL.
[Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated.
[ComplianceSettings <IMicrosoftGraphExternalConnectorsComplianceSettings>]: complianceSettings
[(Any) <Object>]: This indicates any property can be added to this object.
[EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]:
[Id <String>]: The text identifier for the display template; for example, contosoTickets.
Maximum 16 characters.
Only alphanumeric characters allowed.
[Layout <IMicrosoftGraphJson>]: Standard way to represent a Json blob on Graph.
[(Any) <Object>]: This indicates any property can be added to this object.
[Priority <Int32?>]: Defines the priority of a display template.
A display template with priority 1 is evaluated before a template with priority 4.
Gaps in priority values are supported.
Must be positive value.
[Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema.
Optional.
[Operation <String>]: ruleOperation
[Property <String>]: The property from the externalItem schema.
Required.
[Values <String[]>]: A collection with one or many strings.
One or more specified strings are matched with the specified property using the specified operation.
Required.
[ValuesJoinedBy <String>]: binaryOperator
[Configuration <IMicrosoftGraphExternalConnectorsConfiguration>]: configuration
[(Any) <Object>]: This indicates any property can be added to this object.
[AuthorizedAppIds <String[]>]: A collection of application IDs for registered Microsoft Entra apps allowed to manage the externalConnection and index content in the externalConnection.
[ConnectorId <String>]: The Teams App ID.
Optional.
[ContentCategory <String>]: contentCategory
[Description <String>]: Description of the connection displayed in the Microsoft 365 admin center.
Optional.
[EnabledContentExperiences <String>]: contentExperienceType
[Groups <IMicrosoftGraphExternalConnectorsExternalGroup[]>]:
[Id <String>]: The unique identifier for an entity.
Read-only.
[Description <String>]: The description of the external group.
Optional.
[DisplayName <String>]: The friendly name of the external group.
Optional.
[Members <IMicrosoftGraphExternalConnectorsIdentity[]>]: A member added to an externalGroup.
You can add Microsoft Entra users, Microsoft Entra groups, or other externalGroups as members.
[Id <String>]: The unique identifier for an entity.
Read-only.
[Type <String>]: identityType
[IngestedItemsCount <Int64?>]: The number of items ingested into a connection.
This value is refreshed every 15 minutes.
If the connection state is draft, then ingestedItemsCount will be null.
[Items <IMicrosoftGraphExternalConnectorsExternalItem[]>]:
[Id <String>]: The unique identifier for an entity.
Read-only.
[Acl <IMicrosoftGraphExternalConnectorsAcl[]>]: An array of access control entries.
Each entry specifies the access granted to a user or group.
Required.
[AccessType <String>]: accessType
[IdentitySource <String>]: identitySourceType
[Type <String>]: aclType
[Value <String>]: The unique identifer of the identity.
For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively.
For external groups, value is set to the ID of the externalGroup.
[Activities <IMicrosoftGraphExternalConnectorsExternalActivity[]>]: Returns a list of activities performed on the item.
Write-only.
[Id <String>]: The unique identifier for an entity.
Read-only.
[PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity
[StartDateTime <DateTime?>]: The date and time when the particular activity occurred.
The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time.
For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
[Type <String>]: externalActivityType
[Content <IMicrosoftGraphExternalConnectorsExternalItemContent>]: externalItemContent
[(Any) <Object>]: This indicates any property can be added to this object.
[Type <String>]: externalItemContentType
[Value <String>]: The content for the externalItem.
Required.
[Properties <IMicrosoftGraphExternalConnectorsProperties>]: properties
[(Any) <Object>]: This indicates any property can be added to this object.
[Name <String>]: The display name of the connection to be displayed in the Microsoft 365 admin center.
Maximum length of 128 characters.
Required.
[Operations <IMicrosoftGraphExternalConnectorsConnectionOperation[]>]:
[Id <String>]: The unique identifier for an entity.
Read-only.
[Error <IMicrosoftGraphPublicError>]: publicError
[(Any) <Object>]: This indicates any property can be added to this object.
[Code <String>]: Represents the error code.
[Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error.
[Code <String>]: The error code.
[Message <String>]: The error message.
[Target <String>]: The target of the error.
[InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError
[(Any) <Object>]: This indicates any property can be added to this object.
[Code <String>]: The error code.
[Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details.
[Message <String>]: The error message.
[Target <String>]: The target of the error.
[Message <String>]: A non-localized message for the developer.
[Target <String>]: The target of the error.
[Status <String>]: connectionOperationStatus
[Quota <IMicrosoftGraphExternalConnectorsConnectionQuota>]: connectionQuota
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level.
The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}).
If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection.
[Schema <IMicrosoftGraphExternalConnectorsSchema>]: schema
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[BaseType <String>]: Must be set to microsoft.graph.externalItem.
Required.
[Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection.
The minimum number of properties is one, the maximum is 128.
[Aliases <String[]>]: A set of aliases or friendly names for the property.
Maximum 32 characters.
Only alphanumeric characters allowed.
For example, each string might not contain control characters, whitespace, or any of the following special characters: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, , ^. Optional. [Description <String>]: [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for nonsearchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl, personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following special characters: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, , ^.
Required.
[RankingHint <IMicrosoftGraphExternalConnectorsRankingHint>]: rankingHint
[(Any) <Object>]: This indicates any property can be added to this object.
[ImportanceScore <String>]: importanceScore
[Type <String>]: propertyType
[SearchSettings <IMicrosoftGraphExternalConnectorsSearchSettings>]: searchSettings
[(Any) <Object>]: This indicates any property can be added to this object.
[SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed.
Maximum of 2 search result templates per connection.
[State <String>]: connectionState
COMPLIANCESETTINGS <IMicrosoftGraphExternalConnectorsComplianceSettings>: complianceSettings
[(Any) <Object>]: This indicates any property can be added to this object.
[EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]:
[Id <String>]: The text identifier for the display template; for example, contosoTickets.
Maximum 16 characters.
Only alphanumeric characters allowed.
[Layout <IMicrosoftGraphJson>]: Standard way to represent a Json blob on Graph.
[(Any) <Object>]: This indicates any property can be added to this object.
[Priority <Int32?>]: Defines the priority of a display template.
A display template with priority 1 is evaluated before a template with priority 4.
Gaps in priority values are supported.
Must be positive value.
[Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema.
Optional.
[Operation <String>]: ruleOperation
[Property <String>]: The property from the externalItem schema.
Required.
[Values <String[]>]: A collection with one or many strings.
One or more specified strings are matched with the specified property using the specified operation.
Required.
[ValuesJoinedBy <String>]: binaryOperator
CONFIGURATION <IMicrosoftGraphExternalConnectorsConfiguration>: configuration
[(Any) <Object>]: This indicates any property can be added to this object.
[AuthorizedAppIds <String[]>]: A collection of application IDs for registered Microsoft Entra apps allowed to manage the externalConnection and index content in the externalConnection.
GROUPS <IMicrosoftGraphExternalConnectorsExternalGroup[]>: .
[Id <String>]: The unique identifier for an entity.
Read-only.
[Description <String>]: The description of the external group.
Optional.
[DisplayName <String>]: The friendly name of the external group.
Optional.
[Members <IMicrosoftGraphExternalConnectorsIdentity[]>]: A member added to an externalGroup.
You can add Microsoft Entra users, Microsoft Entra groups, or other externalGroups as members.
[Id <String>]: The unique identifier for an entity.
Read-only.
[Type <String>]: identityType
INPUTOBJECT <ISearchIdentity>: Identity Parameter
[AcronymId <String>]: The unique identifier of acronym
[AuthorizationSystemId <String>]: The unique identifier of authorizationSystem
[BookmarkId <String>]: The unique identifier of bookmark
[ConnectionOperationId <String>]: The unique identifier of connectionOperation
[ExternalActivityId <String>]: The unique identifier of externalActivity
[ExternalConnectionId <String>]: The unique identifier of externalConnection
[ExternalGroupId <String>]: The unique identifier of externalGroup
[ExternalItemId <String>]: The unique identifier of externalItem
[IdentityId <String>]: The unique identifier of identity
[InboundFlowId <String>]: The unique identifier of inboundFlow
[IndustryDataConnectorId <String>]: The unique identifier of industryDataConnector
[IndustryDataRunActivityId <String>]: The unique identifier of industryDataRunActivity
[IndustryDataRunId <String>]: The unique identifier of industryDataRun
[LongRunningOperationId <String>]: The unique identifier of longRunningOperation
[OutboundProvisioningFlowSetId <String>]: The unique identifier of outboundProvisioningFlowSet
[ProvisioningFlowId <String>]: The unique identifier of provisioningFlow
[QnaId <String>]: The unique identifier of qna
[ReferenceDefinitionId <String>]: The unique identifier of referenceDefinition
[RoleGroupId <String>]: The unique identifier of roleGroup
[SourceSystemDefinitionId <String>]: The unique identifier of sourceSystemDefinition
[YearTimePeriodDefinitionId <String>]: The unique identifier of yearTimePeriodDefinition
ITEMS <IMicrosoftGraphExternalConnectorsExternalItem[]>: .
[Id <String>]: The unique identifier for an entity.
Read-only.
[Acl <IMicrosoftGraphExternalConnectorsAcl[]>]: An array of access control entries.
Each entry specifies the access granted to a user or group.
Required.
[AccessType <String>]: accessType
[IdentitySource <String>]: identitySourceType
[Type <String>]: aclType
[Value <String>]: The unique identifer of the identity.
For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively.
For external groups, value is set to the ID of the externalGroup.
[Activities <IMicrosoftGraphExternalConnectorsExternalActivity[]>]: Returns a list of activities performed on the item.
Write-only.
[Id <String>]: The unique identifier for an entity.
Read-only.
[PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[Type <String>]: identityType
[StartDateTime <DateTime?>]: The date and time when the particular activity occurred.
The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time.
For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
[Type <String>]: externalActivityType
[Content <IMicrosoftGraphExternalConnectorsExternalItemContent>]: externalItemContent
[(Any) <Object>]: This indicates any property can be added to this object.
[Type <String>]: externalItemContentType
[Value <String>]: The content for the externalItem.
Required.
[Properties <IMicrosoftGraphExternalConnectorsProperties>]: properties
[(Any) <Object>]: This indicates any property can be added to this object.
OPERATIONS <IMicrosoftGraphExternalConnectorsConnectionOperation[]>: .
[Id <String>]: The unique identifier for an entity.
Read-only.
[Error <IMicrosoftGraphPublicError>]: publicError
[(Any) <Object>]: This indicates any property can be added to this object.
[Code <String>]: Represents the error code.
[Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error.
[Code <String>]: The error code.
[Message <String>]: The error message.
[Target <String>]: The target of the error.
[InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError
[(Any) <Object>]: This indicates any property can be added to this object.
[Code <String>]: The error code.
[Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details.
[Message <String>]: The error message.
[Target <String>]: The target of the error.
[Message <String>]: A non-localized message for the developer.
[Target <String>]: The target of the error.
[Status <String>]: connectionOperationStatus
QUOTA <IMicrosoftGraphExternalConnectorsConnectionQuota>: connectionQuota
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level.
The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}).
If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection.
SCHEMA <IMicrosoftGraphExternalConnectorsSchema>: schema
[(Any) <Object>]: This indicates any property can be added to this object.
[Id <String>]: The unique identifier for an entity.
Read-only.
[BaseType <String>]: Must be set to microsoft.graph.externalItem.
Required.
[Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection.
The minimum number of properties is one, the maximum is 128.
[Aliases <String[]>]: A set of aliases or friendly names for the property.
Maximum 32 characters.
Only alphanumeric characters allowed.
For example, each string might not contain control characters, whitespace, or any of the following special characters: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, , ^. Optional. [Description <String>]: [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for nonsearchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl, personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following special characters: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, , ^.
Required.
[RankingHint <IMicrosoftGraphExternalConnectorsRankingHint>]: rankingHint
[(Any) <Object>]: This indicates any property can be added to this object.
[ImportanceScore <String>]: importanceScore
[Type <String>]: propertyType
SEARCHSETTINGS <IMicrosoftGraphExternalConnectorsSearchSettings>: searchSettings
[(Any) <Object>]: This indicates any property can be added to this object.
[SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed.
Maximum of 2 search result templates per connection.
[Id <String>]: The text identifier for the display template; for example, contosoTickets.
Maximum 16 characters.
Only alphanumeric characters allowed.
[Layout <IMicrosoftGraphJson>]: Standard way to represent a Json blob on Graph.
[(Any) <Object>]: This indicates any property can be added to this object.
[Priority <Int32?>]: Defines the priority of a display template.
A display template with priority 1 is evaluated before a template with priority 4.
Gaps in priority values are supported.
Must be positive value.
[Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema.
Optional.
[Operation <String>]: ruleOperation
[Property <String>]: The property from the externalItem schema.
Required.
[Values <String[]>]: A collection with one or many strings.
One or more specified strings are matched with the specified property using the specified operation.
Required.
[ValuesJoinedBy <String>]: binaryOperator