Skip to content

Add Desktop flows inventory troubleshooting documentation#10806

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-desktop-flows-inventory
Draft

Add Desktop flows inventory troubleshooting documentation#10806
Copilot wants to merge 2 commits intomainfrom
copilot/fix-desktop-flows-inventory

Conversation

Copy link
Contributor

Copilot AI commented Feb 2, 2026

Desktop flows sync runs in incremental mode by default, syncing only new flows not yet in inventory. Users expect all flows to appear but see empty [] outputs for environments where flows already exist in inventory.

Changes

  • Added comprehensive troubleshooting guide (TROUBLESHOOTING-DESKTOP-FLOW-SYNC.md)

    • Quick diagnosis flowchart
    • Three solution approaches: full inventory, manual flagging, environment-specific trigger
    • Advanced troubleshooting: permissions, environment config, flow type filters
    • Environment variables reference and FAQ
  • Added issue response template (docs/ISSUE-RESPONSE-desktop-flows-missing.md)

    • Standard response for GitHub issues
    • Quick solutions with escalation path
  • Updated Core Components README

    • Added link to new troubleshooting guide under "Inventory and Sync Issues"

Context

The Admin | Sync Template v4 (Desktop flows) uses this logic:

// Only syncs if flow is NEW (not in inventory)
Look_for_new_rpas:
  Query: NOT IN(body('List_Inventory_Desktop_Flows'))
  
// OR if full inventory mode enabled
If_full_inventory_run:
  expression: parameters('admin_FullInventory') == true

Users seeing [] have flows already inventoried. Environments showing "click to download" have new flows. This is working as designed but requires documentation to explain incremental vs. full inventory modes.

Follows same pattern as TROUBLESHOOTING-PVA-SYNC.md for consistency.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] Desktop flows missing from inventory for some environments</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

We have noticed that the "Admin | Sync Template v4 (Desktop flows)" is not listing newly created Desktop flows for some of our environments.

As an example, on the left in the screenshot below, the output value shows "[]" but we can see there are a few recent Desktop flows created within the last week by going into the environment as an admin in the Power Automate maker portal. On the right example, it shows there is an output "click to download" for another environment listing newly created Desktop flows correctly.

Image

Here is the environment example from the left above showing two Desktop flows created on January 22nd and 27th in the Power Automate maker portal.

Image

Expected Behavior

The expected behavior would be that desktop flows created within the last week be detected consistently in all of our environments.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.8

What app or flow are you having the issue with?

Admin | Sync Template v4 (Desktop flows)

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response</issue_description>

<agent_instructions>Need troubleshoot steps</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…se template

Co-authored-by: mohamrizwa <220306360+mohamrizwa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing desktop flows in inventory for some environments Add Desktop flows inventory troubleshooting documentation Feb 2, 2026
Copilot AI requested a review from mohamrizwa February 2, 2026 11:03
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

Successfully merging this pull request may close these issues.

[CoE Starter Kit - BUG] Desktop flows missing from inventory for some environments

2 participants