microsoft / coe-starter-kit

Other
747 stars 220 forks source link

[CoE Starter Kit - Feature]: Automated Install - Setup Wizard - Confirm Prerequisites #8592

Open Grant-Archibald-MS opened 3 months ago

Grant-Archibald-MS commented 3 months ago

Is your feature request related to a problem? Please describe.

Verify the correct operation and automate the pre-requisites of the CoE Core modules

image

Describe the solution you'd like

Make use of Test Engine mocking features to validate

Integration test that moves Next step of Wizard

Describe alternatives you've considered

Manual testing of Wizard

Additional context?

No response

AB#3837

Grant-Archibald-MS commented 3 months ago

Initial testing when import solution via the pac cli rather than user interface where connection references included in setting configuration lead to key flows being disabled as the connection references need to be updated version. Observed error "Error loading control"

image

Cause

Possible causes we often see with this error:

Setup Wizard broken First Screen This usually means that the following flows which are supposed to be on when you install / upgrade are not on:

And that typically means that the HTTP with Microsoft Entra ID (preauthorized) connection was not configured correctly. Sometimes the product will setup one of these with the wrong URL Please find this connector and validate its pointing to the graph URL for your tenant.

Resolution

  1. Checked Cloud flow SetupWizard>CreateGroup and found it was disabled because the connection reference did not have a connection id
  2. Executed Power Apps Test Engine - Portal Sample as part of Power Apps Portal Provider - Update Connection References
  3. After execution of test file connection references created and the cloud flow was enabled and first page prerequisites shown as expected