Approval flow failure - error 429
Have you ever encountered a 429 error in an approval flow, where notifications weren't sent, causing the flow to hang and eventually fail?
The flow triggers fine, but when it gets to the 'start an approval' step, it tries to run for about 3 minutes an then errors. No email is received by the approver, and no further steps are completed. This issue can arise for various reasons.
Error Message:
"429. the request failed. error code: 'cdsinstanceprovisioningincomplete'. error message: 'a microsoft dataverse database for this environment has not completed provisioning or does not yet support the requested approvals functionality. please try again later.'."
Normally this error comes when you first time using the approval process in an environment, Especially we encounter when we move the solution to the other environment.
When we use the approval process first time in the target environment, Microsoft automatically install the required solutions. this may take up to 15-20 min some time.
Also please go to Power platform admin center>Required environment>Dynamics 365 apps Please check both the solutions are installed successfully.
If its not successfully not installed, we see the error, We can simply reinstall the solution which may fix the issue.
Another reason could be missing CDS, you need to create database in your target environment.
Please create a Common Data Service in
your environment. When you use the 'Start an approval' action, approvals are
created as records in the CDS. Therefore, it's essential to have the CDS
provisioned in your environment. Without it, you won't be able to use this
action
Please contact the global admin and then do the following:
- Get enough flow license for the account you are using
- Go to the flow app and then from settings choose the admin center
- choose the 'environments' tab on the left
- select your default environment
- click 'create database' and follow the instruction
Thank you for visiting the Blog 🙏
Comments
Post a Comment