Hi,
Solution 1:
You can try to send and email to the Auditee Email and if the email action throw and error, you send an email to the admin, by configuring the run after "Has Failed" like shown in the screenshots


Solution 2:
Just if the email is Empty

Here are the code that you can copy and paste to Your Clipboard
Solution 1:
{"id":"c71c7980-ba9e-4543-9fa5-d1798c1f8ec2","brandColor":"#8C3900","connectionReferences":{"shared_office365":{"connection":{"id":"/providers/Microsoft.PowerApps/apis/shared_office365/connections/shared-office365-f187c59e-1d4c-4082-ba1b-d8115ebc0f35"}}},"connectorDisplayName":"Control","icon":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KIDxwYXRoIGQ9Im0wIDBoMzJ2MzJoLTMyeiIgZmlsbD0iIzhDMzkwMCIvPg0KIDxwYXRoIGQ9Im04IDEwaDE2djEyaC0xNnptMTUgMTF2LTEwaC0xNHYxMHptLTItOHY2aC0xMHYtNnptLTEgNXYtNGgtOHY0eiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=","isTrigger":false,"operationName":"Scope_Solution_1","operationDefinition":{"type":"Scope","actions":{"Compose_-_email_to_be_tested":{"type":"Compose","inputs":"test@test.com","runAfter":{}},"Send_an_email_(V2)":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"@outputs('Compose_-_email_to_be_tested')","emailMessage/Subject":"test","emailMessage/Body":"<p>test</p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Compose_-_email_to_be_tested":["Succeeded"]}},"Send_an_email_(V2)_2":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"Admin@admin.com","emailMessage/Subject":"@{outputs('Compose_-_email_to_be_tested')} is not a valid email","emailMessage/Body":"<p><br></p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Send_an_email_(V2)":["Failed"]}}},"runAfter":{}}}
Solution 2:
{"id":"51b3a9b4-b931-4a1f-9f36-b00c51c2b39a","brandColor":"#8C3900","connectionReferences":{"shared_office365":{"connection":{"id":"/providers/Microsoft.PowerApps/apis/shared_office365/connections/shared-office365-f187c59e-1d4c-4082-ba1b-d8115ebc0f35"}}},"connectorDisplayName":"Control","icon":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KIDxwYXRoIGQ9Im0wIDBoMzJ2MzJoLTMyeiIgZmlsbD0iIzhDMzkwMCIvPg0KIDxwYXRoIGQ9Im04IDEwaDE2djEyaC0xNnptMTUgMTF2LTEwaC0xNHYxMHptLTItOHY2aC0xMHYtNnptLTEgNXYtNGgtOHY0eiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=","isTrigger":false,"operationName":"Scope_Solution_2","operationDefinition":{"type":"Scope","actions":{"Compose_-_email_to_be_tested_2":{"type":"Compose","inputs":"test@test.com","runAfter":{}},"Condition_-_if_email_empty":{"type":"If","expression":{"equals":["@empty(outputs('Compose_-_email_to_be_tested_2'))","@true"]},"actions":{"Send_an_email_(V2)_3":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"@outputs('Compose_-_email_to_be_tested')","emailMessage/Subject":"test","emailMessage/Body":"<p>test</p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{}}},"runAfter":{"Compose_-_email_to_be_tested_2":["Succeeded"]},"else":{"actions":{"Send_an_email_(V2)_4":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"Admin@admin.com","emailMessage/Subject":"@{outputs('Compose_-_email_to_be_tested')} is not a valid email","emailMessage/Body":"<p><br></p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{}}}}}},"runAfter":{"Scope_Solution_1":["Succeeded"]}}}
----------------------------------------------------------
If I have answered your question, please mark your post as Solved. 🆗✔️
If you like my response, please give it a Thumbs Up. 👍
You can accept more than one post as a solution.