web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / [Bug?] Using Approvals...
Power Automate
Answered

[Bug?] Using Approvals in an environment without CDS creates automatically (!!!) a CDS or leads to an error.

(0) ShareShare
ReportReport
Posted on by 860

Hello together,

 

please be aware: if you're using Approvals in an environment without CDS, the system tries to create a CDS.

 

If you are an environment admin, the CDS is created.

If you are an environment maker, you get this error message:

 

{

  "error": {

    "code": "CdsUserDoesNotHavePermissionsToCreateDatabase",

    "message": "The current user does not have permissions to create a Common Data Service database for this environment. Please ask an environment administrator to create the database."

  }

}

 

 

Greetings,

Max

 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

Categories:
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @max81 

     

    Approvals creates Entities in CDS.

    You need the database created and access to create one when creating the first approval action in the environment.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

  • Verified answer
    max81 Profile Picture
    860 on at

    Makes sense. 
    But I’m not sure everybody knows that. I didn’t knew that, and that’s way I have now more CDS than I wanted. 😉

     

    With that knowledge I would expected to have a warning if I want to use the approval connector in a non-CDS environment. 

  • rgupta Profile Picture
    11 on at

    Hello, We have CDS enabled in our environment. When an Env Maker tries to import a solution containing Flows using Approval connector, they get an error message 'CdsUserDoesNotHavePermissionsTocreateDatavase’. Its strange, why an Environment makers cannot deploy an unmanaged solution?

  • vichiank Profile Picture
    5 on at

    Do you mean Approval didn't work on non-CDS environment, Isn't it?

  • vichiank Profile Picture
    5 on at

    my team found that Workflow working fine in Default environment but doesn't work in Dev,PROD which non-CDS environment, I'm not sure it's cause of CDS environment type or DLP config?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard