Made a new model driven app but getting this error below when trying to create an automatic email that is linked to a record of an entity.
Exception Message: this action is not supported
ErrorCode: -2147220715
HexErrorCode: 0x80040315
Error Details: {"errorCode":2147746581,"message":"this action is not supported.","code":2147746581,"title":"not supported","raw":"{\"_errorCode\":2147746581,\"_errorFault\":{\"_responseXml\":null,\"_errorCode\":2147746581,\"_innerFault\":{\"_responseXml\":null,\"_errorCode\":0,\"_innerFault\":null,\"_callStack\":null,\"_responseText\":null,\"_annotations\":null,\"_messages\":[\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"]},\"_callStack\":null,\"_responseText\":\"{\\\"error\\\":{\\\"code\\\":\\\"0x80040315\\\",\\\"message\\\":\\\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\\\",\\\"@Microsoft.PowerApps.CDS.HelpLink\\\":\\\""@Microsoft.PowerApps.CDS.TraceText\\\":\\\"\\\\r\\\\n[CCP.ProcessEngine.Plugins:">go.microsoft.com/.../ CCP.ProcessEngine.Plugins.TriggerBusinessProcess]\\\\r\\\\n[5581fc13-2e8a-e611-80db-0050569270d7: CCP.ProcessEngine.Plugins.TriggerBusinessProcess: SetStateDynamicEntity of task]\\\\r\\\\n\\\\r\\\\n\\\",\\\"@Microsoft.PowerApps.CDS.InnerError.Message\\\":\\\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\\\"}}\",\"_annotations\":{\"@Microsoft.PowerApps.CDS.HelpLink\":\""@Microsoft.PowerApps.CDS.TraceText\":\"\\r\\n[CCP.ProcessEngine.Plugins:">go.microsoft.com/.../ CCP.ProcessEngine.Plugins.TriggerBusinessProcess]\\r\\n[5581fc13-2e8a-e611-80db-0050569270d7: CCP.ProcessEngine.Plugins.TriggerBusinessProcess: SetStateDynamicEntity of task]\\r\\n\\r\\n\",\"@Microsoft.PowerApps.CDS.InnerError.Message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"},\"_messages\":[\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\"]},\"_message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\",\"_exception\":null,\"_innerError\":null,\"_errorSource\":3,\"_blockErrorReporting\":false,\"_stack\":null,\"_faultedRequestIndex\":-1,\"_clientRequestId\":\"d0e3dc93-49ce-4143-8d56-c336f2a085f1\",\"_serverResponseId\":\"49805fdd-1db1-444c-b8bc-c6a913fcc6d5, cf625cad-f8c8-4a25-88ce-d4089685fae2\",\"_httpStatusCode\":405,\"_retryAfter\":null,\"_date\":\"2023-03-23T10:10:18.000Z\",\"_isRequestTooLong\":false,\"message\":\"ccp_generatedocument_bra_brandveiligheidsattest#2011/Organization.svc\",\"name\":\"Error\",\"stack\":\"No stack available.\",\"__action\":{\"source\":{\"actionType\":\"modernDataSource.execute.odata.async\",\"actionStack\":\"modernDataSource.execute.odata.async\",\"contextId\":\"fc7af0b3-c2af-4abd-bfca-98343ad54223\"},\"child\":{\"actionType\":\"oData.update.async\",\"actionStack\":\"oData.update.async\",\"contextId\":\"18d5a487-1db9-4193-85df-c6e15fe01034\"}}}"}