microsoft / coe-starter-kit

Other
748 stars 221 forks source link

[CoE Starter Kit - BUG] Admin |Sync Template v4 (flows) in error when disabled envt #6734

Closed sikadouc closed 1 year ago

sikadouc commented 1 year ago

Does this bug already exist in our backlog?

Describe the issue

when Dataverse for teams environment is disabled by inactivity process the admin async template (flows) is failing on the action List Flows as Admin with the error :

Request to XRM API failed with error: 'Message: The Dynamics 365 organization you are attempting to access is currently disabled. Please contact your system administrator', see the CS below

image

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.13

What app or flow are you having the issue with?

Admin - sync Template v3 (Flows)

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response

Jenefer-Monroe commented 1 year ago

If you go to the Power Platform Admin View app, find one of these environments. What is shown in the "Environment State" section? image

Can you also confirm, does a similar failure happen for other object types? For example if you go find the most recent run for this envt in Admin | Sync Template v4 (Apps), does it also fail?

orauch-a commented 1 year ago

The solution version of the core component is 4.9 not 4.13 We have not this "Environment state" section on our version. No error for other object types. And the Admin | Sync Template v4 (Apps) does not fail.

Jenefer-Monroe commented 1 year ago

You can check for this state property in the product itself intead then please by going to https://admin.powerplatform.microsoft.com/environments > selecting the environment for which this is failing

Share what you see both here

Image

and then when you click that edit button, here

Image

Jenefer-Monroe commented 1 year ago

We have a few copies of this now so we'll track via https://github.com/microsoft/coe-starter-kit/issues/6756

If you are able please find the below for an envt that repros and put it in that bug

Image Image