Open mjonck opened 1 day ago
Hello, in the past at least this has resulted in a change to the Environment Runtime State not just admin mode. And we could gather information about environments in admin mode as long as there runtime state was still going.
Can you please check what is the value for Environment Runtime State.
Then also open the Admin | Sync Template v4 (Flows) flow in edit mode and make sure you have this clause at the top.
I understand, would indeed still make sense to be able to also gather information about environments in admin mode. However, as the actions to get the resources (like the "List Flows as Admin" - see screenshot in my initial post) are throwing error when environment is in admin mode, not sure if that is feasible then?
The environment's Runtime is showing as "AdminMode" - see below (and indeed in the flow I have the mentioned condition present):
Does this bug already exist in our backlog?
Describe the issue
My tenant includes a developer environment which is currently in administration mode as it got automatically disabled due to inactivity - see below screenshot of the environment in ppac:
CoE has inventorized this environment correctly (I see that the Environment Runtime State is set to AdminMode in the admin_environment table), but the different inventory workflows (for Flows, PVA, Apps, etc.) are all failing on this Environment when they try to get all resources from the environment. The action "List Flows as Admin (V2)" (in the flow "Admin | Sync Template v4 (Flows)") for example gives following error:
The Dynamics 365 organization you are attempting to access is currently disabled. Please contact your system administrator.
I notice that the condition "Check if Environment is deleted or excused" - which present in all of the Inventory flows for Flows, PVA, Apps, ... is not filtering out this environment. Should this one be updated to exclude environments that are in AdminMode?
Expected Behavior
No response
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.43
What app or flow are you having the issue with?
Admin | Sync Template v4 (Flows)
What method are you using to get inventory and telemetry?
Cloud flows
Steps To Reproduce
No response
Anything else?
No response