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

Configuring search extension before deployment #368

Open
mads-oestergaard opened this issue Apr 17, 2024 · 8 comments
Open

Configuring search extension before deployment #368

mads-oestergaard opened this issue Apr 17, 2024 · 8 comments

Comments

@mads-oestergaard
Copy link

Hi!

I would like to configure the bing search extension globally on my deployment of azurechat.
Is that possible? I couldn't find any information on it in the docs.

Thanks,

@bwitzig-zen
Copy link

Make sure you are logged in with the user account that is set as the "admin" for your instance then you should see the publish option to allow everyone to see it :).

@mads-oestergaard
Copy link
Author

Thanks, that worked like a charm!

@AbasBicep
Copy link

Sorry for necroing, but how did you specifically do this? 😊

@bwitzig-zen
Copy link

@AbasBicep what part specifically are you stuck at?

@AbasBicep
Copy link

@bwitzig-zen Did not understand the "logged in with the user account that is set as the admin for your instance"

Could you please explain where specifically I need to be admin? I am using my global admin to access this in my test tenant, and would LOVE to be able to publish BING with the correct API key to everyone :P

@bwitzig-zen
Copy link

@AbasBicep

For running locally, this will be entered in the env.local (check the env.example file for more info)

For hosting in Azure, check the app service (web app) in azure. There will be an Environment Variable
called ADMIN_EMAIL_ADDRESS that you can edit to add your 365 email address to promote you to an admin.

@AbasBicep
Copy link

@bwitzig-zen Wow this worked wonders.

I am just curious; how did you find this out? I did not have that env variable in my deployment, but after adding it, it worked like a charm.

@bwitzig-zen
Copy link

https://github.com/microsoft/azurechat/blob/main/docs/5-add-identity.md#configure-an-admin-user

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

3 participants