Make Logic App a clickable link for custom extension tasks#7
Merged
Conversation
Co-authored-by: mariussm <426202+mariussm@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix logic app display as link in custom extension task
Make Logic App a clickable link for custom extension tasks
Mar 17, 2026
mariussm
approved these changes
Mar 17, 2026
There was a problem hiding this comment.
Pull request overview
Adds Azure Portal deep links for custom Logic App extension tasks so generated reports are more navigable (both in the Markdown task list and in the Mermaid diagram nodes).
Changes:
- Generate an Azure Portal URL for Logic Apps when SubscriptionId/ResourceGroupName/LogicAppName are available.
- Add Mermaid
clickdirectives to make custom extension nodes clickable (open in a new tab). - Render the Logic App name as a Markdown link in the task details section.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| LCWMermaidGenerator/Private/ConvertTo-WorkflowMermaid.ps1 | Builds an Azure Portal URL for custom extension tasks and emits a Mermaid click directive for the task node. |
| LCWMermaidGenerator/Private/ConvertTo-WorkflowMarkdown.ps1 | Turns the Logic App name into a clickable Azure Portal link when enough metadata is present. |
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Custom extension tasks displayed the Logic App name as plain text in both Markdown and Mermaid outputs. This adds proper links using the Azure Portal deep-link format.
Changes
ConvertTo-WorkflowMarkdown.ps1: Logic App name is now a Markdown hyperlink when all required fields are available; falls back to plain text when any ofSubscriptionId,ResourceGroupName, orLogicAppNameis missing.ConvertTo-WorkflowMermaid.ps1: Adds a Mermaidclickdirective to the custom extension task node, making it clickable in rendered diagrams (opens in new tab). Click is only added when the full URL can be constructed.Both use
[Uri]::EscapeDataString()on each URL segment.Link format:
Mermaid output example:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.powershellgallery.com/usr/bin/pwsh pwsh -Command Install-Module PSScriptAnalyzer -Scope CurrentUser -Force -Confirm:$false 2>&1 | Out-Null $results = Invoke-ScriptAnalyzer -Path './LCWMermaidGenerator' -Recurse -ExcludeRule @('PSAvoidTrailingWhitespace', 'PSUseToExportFieldsInManifest', 'PSAvoidUsingWr(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.