Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
afe1f47
Add files via upload
Thanusree-Microsoft Apr 17, 2026
569189c
docs: Update AddPlatform and Web screenshots, fix step 6 text
Thanusree-Microsoft Apr 23, 2026
187ab74
email format changes
NirajC-Microsoft May 4, 2026
827c7c9
Update flow to get temp email everytime I run it
NirajC-Microsoft May 4, 2026
5e952af
add impurity in the parameters
NirajC-Microsoft May 4, 2026
d4220a8
update html
NirajC-Microsoft May 4, 2026
0017ace
remove impurity
NirajC-Microsoft May 4, 2026
97cc480
change format
NirajC-Microsoft May 4, 2026
a3f01f1
change format 5
NirajC-Microsoft May 4, 2026
674a48e
change format 2
NirajC-Microsoft May 4, 2026
92330e3
Readme and deployment doc update
AjitPadhi-Microsoft May 5, 2026
471913d
updated doc
AjitPadhi-Microsoft May 6, 2026
2dc9502
Merge pull request #937 from microsoft/psl-update-image
Roopan-Microsoft May 6, 2026
3da8c00
Implement user authentication with LoginButton and fetchCurrentUser f…
Akhileswara-Microsoft May 7, 2026
092e45d
Update email format 6
NirajC-Microsoft May 7, 2026
719b334
Resolve Copilot comment
NirajC-Microsoft May 7, 2026
1f01d64
Refactor LoginButton component to use MenuButton and update user disp…
Akhileswara-Microsoft May 7, 2026
7333b9c
Merge pull request #966 from microsoft/PSL-US-42390
Roopan-Microsoft May 7, 2026
de34f66
Resolve Copilot comment
NirajC-Microsoft May 7, 2026
61ff047
Merge pull request #969 from NirajC-Microsoft/dev-v4
Roopan-Microsoft May 8, 2026
08e30c9
Merge pull request #968 from microsoft/LogoutFunctionality_Akhileswar
Roopan-Microsoft May 8, 2026
17b21ed
Enhance Bicep validation email notifications and refactor user fetchi…
Akhileswara-Microsoft May 11, 2026
417248a
Merge pull request #977 from microsoft/LogoutFunctionality_Akhileswar
Roopan-Microsoft May 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 23 additions & 15 deletions .github/workflows/validate-bicep-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@ jobs:
- name: Validate infra/ parameters
id: validate_infra
continue-on-error: true
env:
ACCELERATOR_NAME: ${{ env.accelerator_name }}
run: |
set +e
python infra/scripts/validate_bicep_params.py --dir infra --strict --no-color --json-output infra_results.json 2>&1 | tee infra_output.txt
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
python infra/scripts/validate_bicep_params.py --dir infra --strict --no-color \
--json-output infra_results.json \
--html-output email_body.html \
--accelerator-name "${ACCELERATOR_NAME}" \
--run-url "${RUN_URL}" 2>&1 | tee infra_output.txt
EXIT_CODE=${PIPESTATUS[0]}
set -e
echo "## Infra Param Validation" >> "$GITHUB_STEP_SUMMARY"
Expand All @@ -61,24 +68,25 @@ jobs:
name: bicep-validation-results
path: |
infra_results.json
email_body.html
retention-days: 30

- name: Send schedule notification on failure
if: github.event_name == 'schedule' && steps.result.outputs.status == 'failure'
env:
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_RUN_ID: ${{ github.run_id }}
ACCELERATOR_NAME: ${{ env.accelerator_name }}
run: |
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
INFRA_OUTPUT=$(sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g' infra_output.txt)
if [ -f email_body.html ]; then
EMAIL_BODY=$(cat email_body.html)
else
EMAIL_BODY="<p>Bicep parameter validation failed but no HTML report was generated. Check the <a href=\"https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}\">workflow run</a> for details.</p>"
fi

jq -n \
--arg name "${ACCELERATOR_NAME}" \
--arg infra "$INFRA_OUTPUT" \
--arg url "$RUN_URL" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Issues Detected"), body: ("<p>Dear Team,</p><p>The scheduled <strong>Bicep Parameter Validation</strong> for <strong>" + $name + "</strong> has detected parameter mapping errors.</p><p><strong>infra/ Results:</strong></p><pre>" + $infra + "</pre><p><strong>Run URL:</strong> <a href=\"" + $url + "\">" + $url + "</a></p><p>Please fix the parameter mapping issues at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>")}' \
--arg body "$EMAIL_BODY" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Issues Detected"), body: $body}' \
| curl -X POST "${LOGICAPP_URL}" \
Comment thread
Akhileswara-Microsoft marked this conversation as resolved.
-H "Content-Type: application/json" \
-d @- || echo "Failed to send notification"
Expand All @@ -87,18 +95,18 @@ jobs:
if: github.event_name == 'schedule' && steps.result.outputs.status == 'success'
env:
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_RUN_ID: ${{ github.run_id }}
ACCELERATOR_NAME: ${{ env.accelerator_name }}
run: |
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
INFRA_OUTPUT=$(sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g' infra_output.txt)
if [ -f email_body.html ]; then
EMAIL_BODY=$(cat email_body.html)
else
EMAIL_BODY="<p>Bicep parameter validation passed. Check the <a href=\"https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}\">workflow run</a> for details.</p>"
fi

jq -n \
--arg name "${ACCELERATOR_NAME}" \
--arg infra "$INFRA_OUTPUT" \
--arg url "$RUN_URL" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Passed"), body: ("<p>Dear Team,</p><p>The scheduled <strong>Bicep Parameter Validation</strong> for <strong>" + $name + "</strong> has completed successfully. All parameter mappings are valid.</p><p><strong>infra/ Results:</strong></p><pre>" + $infra + "</pre><p><strong>Run URL:</strong> <a href=\"" + $url + "\">" + $url + "</a></p><p>Best regards,<br>Your Automation Team</p>")}' \
--arg body "$EMAIL_BODY" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Passed"), body: $body}' \
| curl -X POST "${LOGICAPP_URL}" \
-H "Content-Type: application/json" \
-d @- || echo "Failed to send notification"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ To deploy this solution accelerator, ensure you have access to an [Azure subscri

Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/table) page and select a **region** where the following services are available: Azure OpenAI Service, Azure AI Search, and Azure Semantic Search.

Here are some example regions where the services are available: East US, East US2, Japan East, UK South, Sweden Central.
Here are some example regions where the services are available: Australia East, East US2, France Central, Japan East, Norway East, Sweden Central, UK South, West US.

Pricing varies per region and usage, so it isn't possible to predict exact costs for your usage. The majority of the Azure resources used in this infrastructure are on usage-based pricing tiers. However, Azure Container Registry has a fixed cost per registry per day.

Expand Down
4 changes: 2 additions & 2 deletions docs/CustomizingAzdParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

By default this template will use the environment name as the prefix to prevent naming collisions within Azure. The parameters below show the default values. You only need to run the statements below if you need to change the values.

> To override any of the parameters, run `azd env set <PARAMETER_NAME> <VALUE>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 characters alphanumeric unique name.
> To override any of the parameters, run `azd env set <PARAMETER_NAME> <VALUE>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-16 characters alphanumeric unique name.

## Parameters

Expand All @@ -23,7 +23,7 @@ By default this template will use the environment name as the prefix to prevent
| `AZURE_ENV_REASONING_MODEL_NAME` | string | `o4-mini` | Specifies the name of the reasoning GPT model to be deployed. |
| `AZURE_ENV_REASONING_MODEL_VERSION` | string | `2025-04-16` | Version of the reasoning GPT model to be used for deployment. |
| `AZURE_ENV_REASONING_MODEL_CAPACITY` | int | `50` | Sets the reasoning GPT model capacity. |
| `AZURE_ENV_IMAGETAG` | string | `latest_v3` | Docker image tag used for container deployments. |
| `AZURE_ENV_IMAGE_TAG` | string | `latest_v4` | Docker image tag used for container deployments. |
| `AZURE_ENV_ENABLE_TELEMETRY` | bool | `true` | Enables telemetry for monitoring and diagnostics. |
| `AZURE_EXISTING_AIPROJECT_RESOURCE_ID` | string | `<Existing Workspace Id>` | Set this if you want to reuse an AI Foundry Project instead of creating a new one. |
| `AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID` | string | Guide to get your [Existing Workspace ID](re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
Expand Down
2 changes: 1 addition & 1 deletion docs/azure_app_service_auth_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This document provides step-by-step instructions to configure Azure App Registra

![Add Provider](./images/azure-app-service-auth-setup/AppAuthIdentityProviderAdd.png)

5. Accept the default values and click on `Add` button to go back to the previous page with the idenity provider added.
5. Accept the default values and click on `Add` button to go back to the previous page with the identity provider added.

![Add Provider](./images/azure-app-service-auth-setup/AppAuthIdentityProviderAdded.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/create_new_app_registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

![Redirect URL](images/azure-app-service-auth-setup/AddRedirectURL.png)

6. Click on `+ Add a platform`.
6. Click on `+ Add redirect URI`.

![+ Add platform](images/azure-app-service-auth-setup/AddPlatform.png)

Expand Down
Binary file modified docs/images/azure-app-service-auth-setup/AddDetails.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/azure-app-service-auth-setup/AddPlatform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/azure-app-service-auth-setup/Web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions infra/main.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
"value": "${AZURE_ENV_REASONING_MODEL_CAPACITY}"
},
"backendContainerImageTag": {
"value": "${AZURE_ENV_IMAGE_TAG}"
"value": "${AZURE_ENV_IMAGE_TAG=latest_v4}"
},
"frontendContainerImageTag": {
"value": "${AZURE_ENV_IMAGE_TAG}"
"value": "${AZURE_ENV_IMAGE_TAG=latest_v4}"
},
"MCPContainerImageTag": {
"value": "${AZURE_ENV_IMAGE_TAG}"
"value": "${AZURE_ENV_IMAGE_TAG=latest_v4}"
},
"enableTelemetry": {
"value": "${AZURE_ENV_ENABLE_TELEMETRY}"
Expand Down
Loading
Loading