I work in a corporate environment; in the organization's tenant, there is the default environment, the DEV environment, the QA environment, and the PROD environment. Currently, I use the DEV environment to create flows and applications. The issue is that if I create a solution that does not contain Power Automate flows, I can export it without any issues from this DEV environment. However, as soon as I add a flow (whether I create it within the solution or externally, whether it's manual, automatic, or scheduled), just adding a flow to the solution generates this error:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Workflow export: FAILURE, workflow id {327518d8-5067-ed11-9562-000d3ae8ca44} category ModernFlow name dumyflow (Fault Detail is equal to Exception details:
ErrorCode: 0x80040216
Message: Workflow export: FAILURE, workflow id {327518d8-5067-ed11-9562-000d3ae8ca44} category ModernFlow name dumyflow
TimeStamp: 2022-11-18T15:02:18.8587138Z
--).
The curious thing is that if I do the exact same thing in the default environment, no matter what type of flow and connections I add, I can export it without any problems. Can someone help me with this? I have been searching forums for 4 days, and those with a similar error have not received satisfactory answers. I have tried with very simple Power Automate flows that practically don't connect to anything (just initializing a variable or something), and the export still doesn't work in the DEV environment.