microsoft / coe-starter-kit

Other
765 stars 225 forks source link

[CoE Starter Kit - BUG] Missing ";" in email list in "Environment provisioning failed" action in "Env Request | Create Approved Environment" #9333

Open AdomasGaldikas opened 8 hours ago

AdomasGaldikas commented 8 hours ago

Does this bug already exist in our backlog?

Describe the issue

Flow fails at "Environment provisioning failed" action. When there are more than one admin, the emails are not being separated with ";". In the "Apply to each - Grant access to System Admins" loop in "Append to string variable" admin emails are being added without ";".

Image Image

Solution: Center of Excellence - Core Components Version: 4.45

Flow: Env Request | Create Approved Environment Action: Environment provisioning failed

Action input body:

"body": {
        "email": "CoE-ADMINS@company.com;User@company.comUser@company.com",
        "text": "ECR-01001 - CoE Starter Kit - Environment Request: There was an issue processing an Environment Creation Request",
        "text_1": "<h2>Notice: There was a problem provisioning the Environment.</h2><p>The approved Environment Creation Request was not completed, and the record has been closed. Please evaluate the error message and review the issue in the flow run history, then re-submit the request.</p><br>\n<span style=\"color: rgb(184,49,47)\">Error: </span><span style=\"color: rgb(184,49,47)\">An error occured when provisioning the approved environment.</span><span style=\"color: rgb(184,49,47)\"></span><br>\n</p>",
        "email_1": "",
        "email_2": "",
        "email_3": "",
        "text_2": ""
    }

Error:

{
  "error": {
    "code": "TriggerInputSchemaMismatch",
    "message": "The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String 'CoE-ADMINS@company.com;User@company.comUser@company.com' does not validate against format 'email'.'."
  }
}

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.45

What app or flow are you having the issue with?

Env Request | Create Approved Environment

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response

Jenefer-Monroe commented 2 hours ago

Hello. I do not repro this. And I do not have that action in my flow.

Can you please check to see if you have unmanaged layers on the flow?