You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set-SPEnterpriseSearchResultSource -SearchApplication $ssa -Owner $owner -Identity "Custom SharePoint Result Source" -Description "A custom SharePoint Result Source for demonstration purposes"
PS C:\>Set-SPEnterpriseSearchResultSource -SearchApplication $ssa -Owner $owner -Identity "Custom SharePoint Result Source" -Description "A custom SharePoint Result Source for demonstration purposes"
52
52
```
53
53
54
54
This example updates the description of the result source and the identity of the result source is specified by name.
Specifies an authentication type for the result source.
84
-
If parameter is not specified, the value is unchanged.
83
+
Specifies an authentication type for the result source. If parameter is not specified, the value is unchanged.
84
+
85
85
A specific set of authentication types are supported for each search provider type and if parameter is not specified, the authentication type will default based on search provider type.
86
+
86
87
This cmdlet supports the following set of authentication mechanisms and corresponding types: Default SharePoint Authentication (FederationAuthType.LocalNTAuth), Basic Authentication (FederationAuthType.SingleAccountBasicAuth - specify UserName and Password), Default Remote SharePoint Authentication (FederationAuthType.PerUserBasicAuth), Single Sign On (FederationAuthType.SSO - requires SsoId to be specified), Anonymous (FederationAuthType.Anonymous), Digest Authentication (FederationAuthType.SingleAccountDigest - specify UserName and Password), NTLM Application Pool Identity (FederationAuthType.ApplicationPoolIdentity), NTLM User Name and Password (FederationAuthType.SingleAccountNTLM - specify UserName and Password).
88
+
87
89
When using a Local SharePoint Search/Local SharePoint People Search provider, then FederationAuthType.LocalNTAuth (default) and FederationAuthType.SingleAccountBasicAuth are supported.
90
+
88
91
When using a Remote SharePoint Search/Remote SharePoint People Search provider, then FederationAuthType.PerUserBasicAuth (default) and FederationAuthType.SSO are supported.
92
+
89
93
When using OpenSearch 1.0/1.1 search provider, then the following authentication types are supported: FederationAuthType.Anonymous (default), FederationAuthType.SingleAccountBasicAuth, FederationAuthType.SingleAccountDigest, FederationAuthType.SingleAccountNTLM, and FederationAuthType.ApplicationPoolIdentity.
94
+
90
95
All authentication types are listed in the enum FederationAuthType.
The type must be a valid GUID string, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of a result source (for example, "Custom SharePoint Result Source"); or an instance of a valid Source object.
Specifies whether the result source should be set as default result source or not, for the scope specified by the Owner parameter.
192
+
182
193
If parameter is not specified, the default result source will not change.
194
+
183
195
Setting value to true ($true) states that the result source should be set as default.
196
+
184
197
Setting value to false ($false) states that the result source should not be set as default and in this case, if the result source to update is currently the default, the original default result source ("Local SharePoint Results") will be set as default again.
185
-
Tip: Use instance, not name or GUID string Id, as Identity when using Makedefault, to clearly specify that Owner is only to be used for specifying the level where the result source should be set as default (if value is true) or where the default should be reset to original (if value is false).
198
+
199
+
Tip: Use instance, not name or GUID string Id, as Identity when using Makedefault, to clearly specify that Owner is only to be used for specifying the level where the result source should be set as default (if value is true) or where the default should be reset to original (if value is false).
Specifies the password of the user credentials to use to connect to the result source.
257
+
240
258
If parameter is not specified, the value is unchanged.
259
+
241
260
Used when authentication type (AuthenticationType) is set to a type that consumes user credentials (FederationAuthType.SingleAccountBasicAuth, FederationAuthType.SingleAccountDigest or FederationAuthType.SingleAccountNTLM).
Specifies a search provider to be used by the result source.
278
+
259
279
If parameter is not specified, the value is unchanged.
280
+
260
281
Is specified as a Guid or GUID string, which must be one of the following: FA947043-6046-4F97-9714-40D4C113963D (Local SharePoint Search), E4BCC058-F133-4425-8FFC-1D70596FFD33 (Local SharePoint People Search), 1E0C8601-2E5D-4CCB-9561-53743B5DBDE7 (Remote SharePoint Search), E377CAAA-FCAF-4a1b-B7A1-E69A506A07AA (Remote SharePoint People Search), 3A17E140-1574-4093-BAD6-E19CDF1C0122 (Exchange Search), 3A17E140-1574-4093-BAD6-E19CDF1C0121 (OpenSearch 1.0/1.1).
Specifies a connection URL template for the result source.
326
+
302
327
If parameter is not specified, the value is unchanged.
328
+
303
329
Must be set when using a search provider that consumes it: Remote SharePoint Search, Remote SharePoint People Search, OpenSearch 1.0/1.1, and Exchange (if AutoDiscover is not turned on).
330
+
304
331
When using other search providers the parameter is ignored.
332
+
305
333
For Remote SharePoint Search/Remote SharePoint People Search, specify the address of the root site collection of the remote SharePoint farm.
334
+
306
335
For OpenSearch 1.0/1.1, specify the URL of the OpenSearch source.
336
+
307
337
Include the query in the URL by using the query variable "{searchTerms}", which will be automatically replaced with the query.
308
338
For Exchange, specify the Exchange EWS URL from which to retrieve results.
The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid search application name (for example, SearchApp1); or an instance of a valid SearchServiceApplication object.
Specifies the reverse proxy certificate Secure Store Id to use to connect to the result source.
375
+
344
376
If parameter is not specified, the value is unchanged.
377
+
345
378
Must be specified if authentication type (AUthenticationType) is set to FederationAuthType.SSO (Single Sign On).
379
+
346
380
If you are connecting to your intranet through a reverse proxy, enter the SSO Id of the Single Sign On entry which stores the certificate used to authenticate against the reverse proxy.
Specifies the user name of the user credentials to use to connect to the result source.
398
+
364
399
If parameter is not specified, the value is unchanged.
400
+
365
401
Used when authentication type (AuthenticationType) is set to a type that consumes user credentials (FederationAuthType.SingleAccountBasicAuth, FederationAuthType.SingleAccountDigest or FederationAuthType.SingleAccountNTLM).
0 commit comments