question

SP-3261 avatar image
0 Votes"
SP-3261 asked EmilyDu-MSFT edited

What is the parameter for Update-FederatedHybridSearchForM365.ps1 script?

Hi,

There is a notification from Microsoft (in the Microsoft 365 admin center) about the Hybrid search update which says if we use hybrid search we must execute the Update-FederatedHybridSearchForM365.ps1 script before October 1st, 2021 otherwise your hybrid will stop working. The script can be downloaded from here.

Script execution parameter format:

Update-FederatedHybridSearchForM365.ps1 -HybridWebApp [YourHybridWebApplication] [-Force]

Description about the -HybridWebApp parameter

The internal URL of your on-premises primary web application, such as http://sharepoint or https://sharepoint.adventureworks.com. This value is a full URL using the proper protocol (either http: // or https:// ). This is the internal URL of the web application that you are using for hybrid functionality. An example is http://sharepoint or https://sharepoint.adventureworks.com.

My question is - in our SharePoint on-premise environment, inside the cloud search content source we have configured five web applications for the hybrid search functionality, then out of these five web applications, how to justify which is the primary web application or should we execute this script for all the five web applications or only in one web application?

Anyone could please share your experience with this if you have already executed or know about it.

Thanks,
Habibur Rahaman





office-sharepoint-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EmilyDu-MSFT avatar image
0 Votes"
EmilyDu-MSFT answered EmilyDu-MSFT edited

@HabiburRahaman-3261

According to your comment in this post, Microsoft support team said that this script has to be executed in all web application mentioned in the hybrid search content source.

Thanks you for correcting my misunderstanding and sharing your solution.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EmilyDu-MSFT avatar image
1 Vote"
EmilyDu-MSFT answered SP-3261 edited

@HabiburRahaman-3261

Per my knowledge, there are four following main reasons to execute the script:

1.Register a new Service Principal for Federated Search Skill in SharePoint Online.
2.Register a new Application Principal for Federated Search Skill in SharePoint On-Premises.
3.Grant appropriate permissions to SharePoint On-Premises Federated Search Skill Application Principal.
4.Register EVO/eSTS as a Trusted Token Issuer at SharePoint On-Premises.

You should execute the script for only one web application to register new principals.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your answer Emily Du - MSFT. Could you please confirm whether we should execute this only for one web application, I am a little scared to make the decision until we get the confirmation?

0 Votes 0 ·

@HabiburRahaman-3261

In my opinion, register new principals and grant permission is a one-time operation.

If you want to get a certain confirmation, I suggest you open a ticket with Microsoft to confirm.

0 Votes 0 ·

I raised a ticket to Microsoft from Office 365 admin center page, but they said, as this script should be executed in SharePoint on-premise server, so this is out of the scope from their end. Apparently, they guided me to raise a ticket to Microsoft for on-premise server support, but that is paid service - we don't want to opt for paid service. For a piece of simple information, we are struggling like anything, which leading us to dis-satisfying with Microsoft Products. Any lead from Microsoft will really mean a lot for us in this context, one thing is always knowing in our mind, this PowerShell script has to be executed by 1st October, which is very nearer.

0 Votes 0 ·