Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bcbdc41
Add files via upload
Thanusree-Microsoft Apr 17, 2026
7c54088
Add files via upload
Thanusree-Microsoft Apr 17, 2026
9b0b30c
docs: Update AddPlatform and Web screenshots with latest Azure portal UI
Thanusree-Microsoft Apr 22, 2026
de74326
Update steps for adding redirect URI in app registration
Thanusree-Microsoft Apr 22, 2026
bba25d2
fix: resolve dependabot alert #189 - update postcss to 8.5.13
Shubhangi-Microsoft May 4, 2026
74c7e7b
Update email format
NirajC-Microsoft May 6, 2026
43e30af
feat: implement authentication context and login button, refactor App…
Akhileswara-Microsoft May 6, 2026
ed29c57
feat: pass userName prop to AppHeader component for personalized display
Akhileswara-Microsoft May 6, 2026
cd4a946
feat: enhance LoginButton with user initials and tooltip, update Auth…
Akhileswara-Microsoft May 6, 2026
88f9f12
refactor: remove userName prop from AppHeader and App component
Akhileswara-Microsoft May 6, 2026
49e5cb2
feat: refactor LoginButton to use Redux for user state management and…
Akhileswara-Microsoft May 6, 2026
accbc2c
fix: use httpClient.fetchExternal, reliable isAuthenticated, and aria…
Copilot May 6, 2026
2fd8500
feat: enhance authentication logic and improve error handling in HTTP…
Akhileswara-Microsoft May 6, 2026
f122056
Merge branch 'LogoutFunctionality_Akhileswar' of https://github.com/m…
Akhileswara-Microsoft May 6, 2026
e4e4cc7
fix: improve user initials extraction and update display name logic i…
Akhileswara-Microsoft May 6, 2026
cc7ce5a
Merge pull request #818 from microsoft/psl-image
Roopan-Microsoft May 6, 2026
9d2d508
Merge pull request #840 from microsoft/psl-dependabotfix
Roopan-Microsoft May 6, 2026
307663f
enhance admin API health check and improve error handling in proxy mi…
Ragini-Microsoft May 6, 2026
1abee32
increase retry count and delay for admin API health check as in WAF c…
Ragini-Microsoft May 6, 2026
9f5eb06
adjust retry count and delay for admin API health check to improve re…
Ragini-Microsoft May 7, 2026
baefa82
refine exception handling in admin API health check to catch specific…
Ragini-Microsoft May 7, 2026
9b053d8
Update email format 8
NirajC-Microsoft May 7, 2026
825abe8
Update email format 5
NirajC-Microsoft May 7, 2026
8350cbf
Update email format 4
NirajC-Microsoft May 7, 2026
9c0e3a2
fix: Enhance admin API health check reliability and error handling
Avijit-Microsoft May 7, 2026
3ba9adf
Resolve Copilot comment
NirajC-Microsoft May 7, 2026
5b41bc2
Remove debugging logs from proxy request and response handlers
Ragini-Microsoft May 7, 2026
20e22f7
Update script URL in quota check documentation
Ragini-Microsoft May 7, 2026
d105440
Merge pull request #844 from microsoft/rc-bug-fix0605
Roopan-Microsoft May 8, 2026
def0444
Merge pull request #842 from NirajC-Microsoft/dev
Roopan-Microsoft May 8, 2026
7a5344e
Merge pull request #838 from microsoft/LogoutFunctionality_Akhileswar
Roopan-Microsoft May 8, 2026
17eaacb
fix: update SEND_BUTTON locator to use aria-label for improved access…
Akhileswara-Microsoft May 8, 2026
965c60b
Merge remote-tracking branch 'origin/dev' into LogoutFunctionality_Ak…
Akhileswara-Microsoft May 8, 2026
d5b6ceb
fix: update SEND_BUTTON locator to use aria-label for improved access…
Avijit-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="<html><body><p>Bicep parameter validation failed but no HTML report was generated. Check workflow logs for details.</p></body></html>"
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}" \
-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="<html><body><p>Bicep parameter validation passed but no HTML report was generated (no parameter file pairs found).</p></body></html>"
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 docs/QuotaCheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The final table lists regions with available quota. You can select any of these
**To check quota for the deployment**

```sh
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/microsoft/content-generation-solution-accelerator/main/content-gen/infra/scripts/quota_check_params.sh"
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/microsoft/content-generation-solution-accelerator/main/infra/scripts/quota_check_params.sh"
chmod +x quota_check_params.sh
./quota_check_params.sh
```
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/AddRedirectURL.png)

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

![+ Add platform](images/AddPlatform.png)
Comment thread
Thanusree-Microsoft marked this conversation as resolved.
Comment thread
Ragini-Microsoft marked this conversation as resolved.
Comment thread
Ragini-Microsoft marked this conversation as resolved.

Expand Down
Binary file modified docs/images/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/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/Web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading