SOLVED

Center of Excellence - Error Starting Flows

%3CLINGO-SUB%20id%3D%22lingo-sub-1902056%22%20slang%3D%22en-US%22%3ECenter%20of%20Excellence%20-%20Error%20Starting%20Flows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1902056%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20currently%20setting%20up%20the%20core%20components%20of%20the%20CoE%20Starter%20Kit.%26nbsp%3B%20The%20import%20works%20without%20any%20issues%20but%20when%20I%20attempt%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fguidance%2Fcoe%2Fsetup-core-components%23activate-the-sync-template-flows%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eactivate%20the%20sync%20template%3C%2FA%3E%20flows%20I%20get%20an%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%20color%3D%22%23FF0000%22%3E%3CSPAN%3EFailed%20to%20activate%20component(s).%20Flow%20client%20error%20returned%20with%20status%20code%20%22BadRequest%22%20and%20details%20%22%7B%22error%22%3A%7B%22code%22%3A%22XrmConnectionReferenceMissingConnection%22%2C%22message%22%3A%22Connection%20Id%20missing%20for%20connection%20reference%20logical%20name%20'admin_PowerPlatformAdminCoEConnection'.%22%7D%7D%22.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22BarryAnderson_0-1605721227855.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F234441iFD824AB7167E608D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22BarryAnderson_0-1605721227855.png%22%20alt%3D%22BarryAnderson_0-1605721227855.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDocumentation%20states%20I%20should%20enable%20the%20Flows%20in%20order%20but%20it's%20failing%20on%20item%20one%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fguidance%2Fcoe%2Fsetup-core-components%23activate-the-sync-template-flows%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fguidance%2Fcoe%2Fsetup-core-components%23activate-the-sync-template-flows%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20assistance%20is%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1902056%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2265491%22%20slang%3D%22en-US%22%3ERe%3A%20Center%20of%20Excellence%20-%20Error%20Starting%20Flows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2265491%22%20slang%3D%22en-US%22%3EHello%20-%20Even%2C%20I%20got%20stuck%20at%20the%20same%20step%20with%20the%20same%20error.%20If%20you%20found%20any%20solution%2C%20it%20would%20be%20appreciated%20if%20you%20share%20it%20here%3C%2FLINGO-BODY%3E
Contributor

I'm currently setting up the core components of the CoE Starter Kit.  The import works without any issues but when I attempt to activate the sync template flows I get an error.

 

Failed to activate component(s). Flow client error returned with status code "BadRequest" and details "{"error":{"code":"XrmConnectionReferenceMissingConnection","message":"Connection Id missing for connection reference logical name 'admin_PowerPlatformAdminCoEConnection'."}}".

 

BarryAnderson_0-1605721227855.png

 

Documentation states I should enable the Flows in order but it's failing on item one:  https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-core-components#activate-the-sync...

 

Any assistance is appreciated.

3 Replies
Hello - Even, I got stuck at the same step with the same error. If you found any solution, it would be appreciated if you share it here
Hi printscreen.

I managed to this working. I started over with the latest CoE version and followed the guide exactly as prescribed. I can only assume I missed a step in the deployment, or there was an issue with the version I had downloaded.
best response confirmed by BarryAnderson (Contributor)
Solution
Hi Barry - Thanks for your response. I figured out the reason behind this. I was able to turn on the flow from the default solution. And the other error reason was, we don't have a proper power apps licence which triggered the error. (failed to activate component error)