Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ Plus configuration app is blank #449

Open
blackchoey opened this issue Aug 3, 2022 · 1 comment
Open

FAQ Plus configuration app is blank #449

blackchoey opened this issue Aug 3, 2022 · 1 comment

Comments

@blackchoey
Copy link
Contributor

blackchoey commented Aug 3, 2022

Due to intermittent error from cdnjs when restoring necessary javascript libraries, FAQ Plus configuration app deployment may fail when you try FAQ Plus sample. You will see following page in this case.
image

We're working on a workaround and will add workaround to this issue later.

@blackchoey blackchoey pinned this issue Aug 3, 2022
@frankqianms
Copy link
Contributor

frankqianms commented Aug 10, 2022

Here is a workaround to replace the step 4 in deploy-qna-maker-services.md.

  1. Create a configuration table in your AAD Storage Instance.
    image

The table name must be ConfigurationInfo.

  1. After creating the configuration table, click Add Entity

image

  1. Edit the configuration table to add Team ID and Knowledge base ID: (PartitionKey=ConfigurationInfo, RowKey=KnowledgeBaseId/TeamId). The property name of data should be "Data".
    (i) If you want to insert a KnowledgeBaseId, then set RowKey= KnowledgeBaseId
    image

(ii) You need to use the following C# code snippet to trans your raw team link string to a storable one.

using System.Text.RegularExpressions;
using System.Web;
public class Example {
   public static void Main() {
      var teamIdDeepLink = "<YOUR_TEAM_LINK>"; // For example: "https://teams.microsoft.com/l/team/19%3a9M4Dz_-DQsKsqV0MfFjmpRz4Np0dcidgmIv6OkWGMwM1%40thread.tacv2/conversations?groupId=fee6b738-335e-4882-9105-92c9fd6d71c6&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47"
      var match = Regex.Match(teamIdDeepLink, @"teams.microsoft.com/l/team/(\S+)/");

      Console.Write(HttpUtility.UrlDecode(match.Groups[1].Value));
   }
}

After run the code above, you'll get a string in your terminal like this (the green string):
image

Then go to Azure portal, find the storage table in your resource group, and add a new entity. Set RowKey=TeamId, Data=<the_green_string_above>
image

Hope it works!

@wenytang-ms wenytang-ms unpinned this issue Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants