Closed RimpalAgarwal closed 2 years ago
Hello I'm afraid we do not repro this. The app flow works fine for the default and other environments.
Can you please confirm that the user identity installing and running the flow has the Power Platform Admin Role? You need this role in order to see all objects in the tenant. Here is a document in case you need help finding that answer: PPAdmin Role.pdf
If so, can you please validate that you dont have unmanaged layers on the flow? This would prevent you from having the latest version of the flow, even after your upgrade: Please install the latest version of the toolkit following the instructions for installing updates.
My response
Please note this flow has been running fine and all of a sudden we are seeing a failure @.***
@.***
Thanks and Regards, Rimpal Agarwal
COVID SUPPORT – WE ARE IN THIS TOGETHER!
[A red heart image placed on open hands] I A red heart image placed on open hands 24/7 doctor’s tele-consultation https://people.accenture.com/stream/eventid/39674987 (Audio/Video service) Call or WhatsApp to 9111891118 with the text "Hi I am from Accenture" COVID-19 handy emergency guidehttps://in.accenture.com/india/?site=1&blog=548&p=50997&referrer=mailer | RT-PCR testinghttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer (with home sample collection) | Reimbursement for RT-PCR testing | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer Vaccination reimbursement benefithttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer (for all people who are eligible as on date) | India Covid vaccination update | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer ASOC 24/7 Emergency Helpline number +91-80-4106 2762 | Ask DiPA for HR Querieshttps://teams.microsoft.com/l/app/023730bf-64a7-4455-8298-c260e938640e
From: Jenefer Monroe @.> Sent: Monday, October 25, 2021 6:19 PM To: microsoft/coe-starter-kit @.> Cc: Agarwal, Rimpal @.>; Author @.> Subject: [External] Re: [microsoft/coe-starter-kit] [CoE Starter Kit - BUG] your issue (Issue #1399)
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
Hello I'm afraid we do not repro this. The app flow works fine for the default environment.
Can you please confirm that the user identity installing and running the flow has the Power Platform Admin Role? You need this role in order to see all objects in the tenant. Here is a document in case you need help finding that answer: PPAdmin Role.pdfhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_coe-2Dstarter-2Dkit_files_6555374_PPAdmin.Role.pdf&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=ohmgo8mjX9iY4C_oTdMQeqrmuB1HWWbsNnb5_9Kge30&e=
If so, can you please validate that you dont have unmanaged layers on the flow? This would prevent you from having the latest version of the flow, even after your upgrade: Please install the latest version of the toolkithttps://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_CoEStarterKitDownload&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=0m-Eb6btWxve5pu909ad67q4938XVaFbW9rdbFc_ySg&e= following the instructions for installing updateshttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_power-2Dplatform_guidance_coe_setup-23installing-2Dupdates&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=3Fy_V4BFuWuxAWP-m-v1fRWmkGsnoqH6O809SBbo_AQ&e=.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_coe-2Dstarter-2Dkit_issues_1399-23issuecomment-2D950890102&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=mV25LP0F2FNfpFQ0Su8oG2JTK2NNhg_BiHuBa1tk5RQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGOKPEKTXUURT2O4RPGXOTUIVG25ANCNFSM5GUTCJLQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=WfU7nICacGhoIVqH-q8nORO42iCYJ5F7SExDOKGglPQ&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=BkmrlcKUogkt2hmlzDPQMzH0tvfeuQBBHGtdkZbHMks&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=lz_AC-8QLZNFZIIXCXfRny9-12cscVjiN7CaHsJZ_2U&s=CvZGt_tDl9-W7R4phITh4FAm5PTrifLdEPKzemQRZbs&e=.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
www.accenture.com
Check that none of the connectors in the flow are broken:
Validate that the connectors all belong to that same identity you believe has ppadmin.
Then did you double check that the ppadmin role is still applied today?
Do you use PIM in your organization?
Let's take it error by error
Error 1 : This is the error in Flow Name : Admin | Sync Template v3 (Apps)
The request failed with client error: 'The environment '' could not be found in the tenant 'e0793d39-0939-496d-b129-198edd916feb'.'. The correlation Id is '86978df5-2023-4c07-8e0d-b1a67e081c9a'.
What does this error means , how can the environment be null, what is the correlation id : 86978df5-2023-4c07-8e0d-b1a67e081c9a
Error Details You are not permitted to make flows in this 'c6cbd56a-115a-4b06-bdc1-82f4111edcac'. Please switch to the default environment, or to one of your own environment(s), where you have maker permissions.
What does it mean, is it making flow in this env ? I could not find this
PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> Get-AdminPowerAppEnvironment -EnvironmentName c6cbd56a-115a-4b06-bdc1-82f4111edcac
EnvironmentName : DisplayName : Description : IsDefault : Location : CreatedTime : CreatedBy : LastModifiedTime : LastModifiedBy : CreationType : EnvironmentType : CommonDataServiceDatabaseProvisioningState : CommonDataServiceDatabaseType : None Internal : @{StatusCode=404; StatusDescription=Not Found; Headers=Pragma: no-cache Strict-Transport-Security: max-age=31536000; includeSubDomains,max-age=31536000; includeSubDomains x-ms-request-id: eastus:159cd4fb-6b50-41f6-b584-e1fa4bb7b0f3 x-ms-correlation-request-id: 81eec0a0-115f-4aed-b3b6-3ffda43d310c x-ms-destination-geo: unitedstates Content-Length: 180 Cache-Control: no-cache, no-store Content-Type: application/json; charset=utf-8 Date: Mon, 25 Oct 2021 14:17:33 GMT Expires: -1
; Error=; Message=The environment 'c6cbd56a-115a-4b06-bdc1-82f4111edcac' could not be found in the
tenant 'e0793d39-0939-496d-b129-198edd916feb'.; Internal=System.Net.HttpWebResponse}
InternalCds :
I checked the access issue and it is not , ID on whose reference it is running I checked they have access all the time and is not PIM.
The second error states you do not have permission to the envt being run in that flow. That is typically caused by the two issues I stated above: ppadmin or pim.
Can you comment, is this occurring for a single environment (aka a single instance from the daily runs)? Multiple? All?
I have an admin access and could not locate environment - c6cbd56a-115a-4b06-bdc1-82f4111edcac at all. Looks it is orphaned environment. Can that be the problem ?
Thanks and Regards, Rimpal Agarwal
COVID SUPPORT – WE ARE IN THIS TOGETHER!
[A red heart image placed on open hands] I A red heart image placed on open hands 24/7 doctor’s tele-consultation https://people.accenture.com/stream/eventid/39674987 (Audio/Video service) Call or WhatsApp to 9111891118 with the text "Hi I am from Accenture" COVID-19 handy emergency guidehttps://in.accenture.com/india/?site=1&blog=548&p=50997&referrer=mailer | RT-PCR testinghttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer (with home sample collection) | Reimbursement for RT-PCR testing | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer Vaccination reimbursement benefithttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer (for all people who are eligible as on date) | India Covid vaccination update | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer ASOC 24/7 Emergency Helpline number +91-80-4106 2762 | Ask DiPA for HR Querieshttps://teams.microsoft.com/l/app/023730bf-64a7-4455-8298-c260e938640e
From: Jenefer Monroe @.> Sent: Monday, October 25, 2021 8:05 PM To: microsoft/coe-starter-kit @.> Cc: Agarwal, Rimpal @.>; Author @.> Subject: [External] Re: [microsoft/coe-starter-kit] [CoE Starter Kit - BUG] your issue (Issue #1399)
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
The second error states you do not have permission to the envt being run in that flow. That is typically caused by the two issues I stated above: ppadmin or pim.
Can you comment, is this occurring for a single environment (aka a single instance from the daily runs)? Multiple? All?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_coe-2Dstarter-2Dkit_issues_1399-23issuecomment-2D950993561&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=fnuc8Zumutzalj-yFB_5qv1unjn9rygp_Vfq4yqPREM&s=cqC4zafWitTpfFoGANzUhPZ0I_f_zwIjiSaLnQdlKYU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGOKPA4SN73XTPAGF4DOM3UIVTKZANCNFSM5GUTCJLQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=fnuc8Zumutzalj-yFB_5qv1unjn9rygp_Vfq4yqPREM&s=xpoVDIsa4WrjOygHXeupdN0DKErCJsiQ0qFP9y2jrXY&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=fnuc8Zumutzalj-yFB_5qv1unjn9rygp_Vfq4yqPREM&s=237zICt_WoIpDxqBBYw1WTzRDSN1zIJ_WVFo1Oic4b4&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=fnuc8Zumutzalj-yFB_5qv1unjn9rygp_Vfq4yqPREM&s=llS7mKZLTDl-vZxJJA4UUn0sx__Dn-bG4odRRN8HGsE&e=.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
www.accenture.com
I take it to mean this is happening for a single run (a single environment). Is that accurate? Is it the same environment for both the two flows (apps and flows sync flows)?
And the environment may have been deleted since the original sync flow started. Can you rerun Admin | Sync Template v3 and see if it recurs?
I did a deep dive into the error, looks like there has been a constant error daily and the same error, for APP it is failing for default env, so should not be the issue related to access or env delete. For Flow also there is a pattern every day it is failing for the same 7-8 environments, almost the same error.
Errors are also not very self-explanatory and very generic “Action 'Get_Flow_as_Admin' failed”
See attached details, I have captured details for the past few days. COE Toolkit failure details.xlsx
You failures for the Apps do indeed look to be due to the product caching issue we discussed. We installed the flow together and had it running to loop all apps in the default and then get, once that fails you can go to product support and they can fix your cache. Here is that flow again, in case you need it.
Deleted Apps Product Bug
I believe you have hit a known product bug around caching of deleted PowerApps. If so, you will need to contact support to have them clean this up in order to have this flow start passing.
Our recommendation is to first get a repro outside of the toolkit before contacting support. You can use the below flow to get this repro.
To use: Import the flow, open, select the environment which repros for you.
It loops the apps, will hit the same failure and the you can go to support with this flow instead of the toolkit, for faster iteration to fix.
ProductBugDemo-getappaftergetappsfails_20211108125525.zip
The flow error sounds like it could also be the same caching bug from what you have shared, here is the flow version of the above to test with:
Deleted Flows Product Bug
I believe you have hit a known product bug around caching of deleted flows. If so, you will need to contact support to have them clean this up in order to have this flow start passing.
Our recommendation is to first get a repro outside of the toolkit before contacting support. You can use the below flow to get this repro.
To use: Import the flow, open, select the environment which repros for you.
It loops the flows, will hit the same failure and the you can go to support with this flow instead of the toolkit, for faster iteration to fix.
Looks like I pasted the wrong link for the flow one, here that is fixed
To use: Import the flow, open, select the environment which repros for you.
It loops the flows, will hit the same failure and the you can go to support with this flow instead of the toolkit, for faster iteration to fix.
ProductBugDemo-getflowaftergetflowsfails_20211116133300.zip
Have you folks been able to test this?
Hi @Jenefer @.***>
I was able to recreate the failure scenario for APP , but not for flow. I have re-executed the flow for another environment to check if I can recreate the failure scenario for Flow also.
Here are the details for APP failure. Please let us know what is the next step .. on how to fix this caching issue
Thanks and Regards, Rimpal Agarwal
COVID SUPPORT – WE ARE IN THIS TOGETHER!
[A red heart image placed on open hands] I A red heart image placed on open hands 24/7 doctor’s tele-consultation https://people.accenture.com/stream/eventid/39674987 (Audio/Video service) Call or WhatsApp to 9111891118 with the text "Hi I am from Accenture" COVID-19 handy emergency guidehttps://in.accenture.com/india/?site=1&blog=548&p=50997&referrer=mailer | RT-PCR testinghttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer (with home sample collection) | Reimbursement for RT-PCR testing | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=64930&referrer=mailer Vaccination reimbursement benefithttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer (for all people who are eligible as on date) | India Covid vaccination update | Accenture in Indiahttps://in.accenture.com/india/?site=1&blog=548&p=63804&referrer=mailer ASOC 24/7 Emergency Helpline number +91-80-4106 2762 | Ask DiPA for HR Querieshttps://teams.microsoft.com/l/app/023730bf-64a7-4455-8298-c260e938640e
From: Jenefer Monroe @.> Sent: Wednesday, November 24, 2021 6:29 AM To: microsoft/coe-starter-kit @.> Cc: Agarwal, Rimpal @.>; Author @.> Subject: [External] Re: [microsoft/coe-starter-kit] [CoE Starter Kit - BUG] your issue (Issue #1399)
This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.
Have you folks been able to test this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_coe-2Dstarter-2Dkit_issues_1399-23issuecomment-2D977334441&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=x6SjifV3s2VKkPu8Wu1kotFuUpKtd59REmTMtCpUxG8&s=J8HcU0vtnQ85F6245xjN4ehydZYA0ib6yFDLao8JTMM&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGOKPDIWWZKAIKBVG32I7TUNQ2DVANCNFSM5GUTCJLQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=x6SjifV3s2VKkPu8Wu1kotFuUpKtd59REmTMtCpUxG8&s=NTTVp2WueIT_XWGOYL1VnAI0JOcguG11LssO6JjJFHk&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=x6SjifV3s2VKkPu8Wu1kotFuUpKtd59REmTMtCpUxG8&s=A2z2qQwJMsovGcJxsyMz-RCFQzvQB8uqF98jEQszD38&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=jRz1Ov-ZInftgYmPO6bHyNNio5obnKHQBE0oCRcm-_M&m=x6SjifV3s2VKkPu8Wu1kotFuUpKtd59REmTMtCpUxG8&s=zSFPmeASGQ_lh8BVKOTnUOlcmQ4Zcht2TW_sY2WHoOU&e=.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
www.accenture.com
Being tracked in email. Please work with Vasavi to schedule if you still need help here. Thank you
Describe the issue
Here are the details of error
Error Action 'Get_Apps_as_Admin' failed
Error Details The request failed with client error: 'The environment '' could not be found in the tenant 'e0793d39-0939-496d-b129-198edd916feb'.'. The correlation Id is '86978df5-2023-4c07-8e0d-b1a67e081c9a'.
Error Action 'List_Flows_as_Admin' failed
Error Details You are not permitted to make flows in this 'c6cbd56a-115a-4b06-bdc1-82f4111edcac'. Please switch to the default environment, or to one of your own environment(s), where you have maker permissions.
Expected Behavior
Flow should end without any error
What solution are you experiencing the issue with?
Core
What solution version are you using?
3.12
What app or flow are you having the issue with?
Admin | Sync Template v3 (Apps) , 2. Flow Name : Admin | Sync Template v3 (Flows)
Steps To Reproduce
check error in Run history
Anything else?
No response