{"id":111003,"date":"2019-03-13T14:23:21","date_gmt":"2019-03-13T21:23:21","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/"},"modified":"2019-03-13T14:23:21","modified_gmt":"2019-03-13T21:23:21","slug":"upgrade-your-previous-version-cds","status":"publish","type":"power-automate","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/","title":{"rendered":"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data"},"content":{"rendered":"

In January this year, Jim Daly provided a detailed announcement on the previous version CDS to the CDS for Apps migration<\/a> experience that is available for self service. As the deadline to initiate the database migration is coming up, we want to help ensure everyone has considered if a CDS migration is required for their environments with a previous version CDS instance, and continue operating successfully.<\/p>\n

This blog post is applicable to you, only if you see a “Upgrade Now” link in the Admin Center as shown in the screenshots of this blog post<\/a>.<\/p>\n

We also want to ensure that everyone understands that the data stored for the Flow Approvals feature is stored in the CDS instance in the Default Environment<\/strong>, and if their Default Environment has a previous version CDS instance, the tenant admin must upgrade this instance to preserve that data (Pending Approval Requests<\/a> and Approval History). See the Flow Approvals documentation<\/a> for more details.<\/p>\n

Motivation<\/h2>\n

There are two main reasons to consider if your previous version of CDS instance needs to be upgraded:<\/p>\n

    \n
  1. \n

    Users are using the Flow Approvals<\/a> feature<\/h3>\n

    If the organization uses the Flow Approvals feature, the data related to Flow Approvals is stored in the CDS instance of the organization’s Default Environment<\/a>.\u00a0 If the organization wants to preserve Flow Approvals history and Approvals currently in transit, they will need to upgrade the previous version of CDS instance in their Default Environment.<\/li>\n

  2. \n

    Users in the tenant need to preserve data in their previous version CDS instance<\/h3>\n

    If there are previous version of CDS instances with data the organization needs to preserve, these instances should be upgraded. This will usually only be possible if the users that created the database or custom tables in the database had the paid licenses or a trial paid license to use the premium CDS feature.<\/li>\n<\/ol>\n

    Understanding the role of CDS in the Default Environment<\/h2>\n

    Approvals data are stored in the Default Environment’s CDS instance<\/h3>\n

    It is important to understand that the Default Environment’s CDS instance is the database that stores the Flow Approvals data used throughout the entire tenant. When the first Approval request is sent on a tenant, a CDS instance is automatically provisioned in the Default Environment if one did not already exist. This is important to know because many might not have been aware of this change when using the Approvals feature, as it happens behind the scenes. If the Approvals feature is being used anywhere in the tenant, all Approvals history or currently pending Approvals data is stored in the CDS instance in the Default Environment.<\/p>\n

    If the Default Environment has a previous version of CDS instance with Approvals data and is not upgraded by the deadline, the Approvals data (history and pending Approvals data) will be deleted when the instance is deleted.<\/p>\n

    If the tenant admin decides to upgrade the Default Environment, he or she should be aware that Approvals functionality will stop during the downtime expected in step 3. Approvals history and pending Approvals will not be accessible by anyone until the migration step has completed.<\/p>\n

    Other Environments with a CDS instance do not store Approval data. Only the data that was added by the contributors will be in those instances.<\/p>\n

    Flow Approvals and licensing<\/h3>\n

    Upgrade to CDS has no impact on licensing for Flow Approvals<\/p>\n

    Expectations for the Default Environment after upgrading<\/h3>\n

    All users of the organization will get access to Model-driven app capabilities besides Canvas apps and Flow after upgrading the Default Environment to CDS for Apps. This does not necessarily mean they will be able to build Model-driven apps because a P2 license is required, but they can start a P2 in order to create Model-driven apps.<\/p>\n

    How Security Roles are impacted after upgrading the CDS in the Default Environment<\/h2>\n

    The way database and environment permissions are managed in previous version of CDS is different than in the new CDS for Apps, so the upgrade will change how the roles are expressed. The security roles are managed in the CDS for Apps database, and requires configuration in the portal.<\/p>\n

    Here is how the security settings will migrate as part of the upgrade process:<\/p>\n

      \n
    1. In the Default Environment, all Global Tenant Admins<\/strong> for the Tenant will automatically have System Administrator<\/strong> role to the CDS for Apps database as well \u2013 see this documentation<\/a> for the details about these predefined roles<\/li>\n
    2. Any Users<\/strong> configured as Environment Makers<\/strong> will be granted the following Security roles: Environment Maker<\/strong> & Common Data Service User<\/strong> roles \u2013 see this documentation<\/a> for the details about these predefined roles<\/li>\n
    3. Any Users<\/strong> configured as Environment Admins<\/strong> in the Environment will be granted the System Administrator<\/strong> role \u2013 see the Environment permissions<\/a> topic for more details<\/li>\n
    4. We don\u2019t have the ability to configure security roles for Security Groups<\/strong> Hence we cannot automatically grant permissions to Security Groups<\/strong> in the new environment, so the administrator has to manually assign security roles<\/a> to the users belonging to those security groups<\/strong>.<\/li>\n<\/ol>\n

      \u00a0<\/p>\n\n\n\n\n\n
      Previous version of CDS security roles<\/th>\nCDS for Apps security roles<\/th>\n<\/tr>\n
      Environment Maker<\/td>\nEnvironment Maker & Common Data Service User<\/td>\n<\/tr>\n
      Environment Admin<\/td>\nSystem Administrator<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

      \u00a0<\/p>\n

      In the previous version of CDS we had the concept of Open database, where the data stored in the common data service was open to all users. For that setting, one could share apps and view data without having to worry about managing permissions to the data.<\/p>\n

      In the new CDS for Apps database, it uses role-based security model by default to secure access to the database and there is no concept similar to OPEN which everyone has access to. The Environment Maker role has no permissions to the database by default. The CDS User role can run an app in the environment and perform common tasks for the records they own (only for non-custom entities). One has to create or configure a custom security role to explicitly grant privileges to custom entities<\/a>.<\/p>\n

      Deadlines and extension<\/h2>\n

      If you intend to upgrade<\/em> your previous version CDS database you must start the first step before March 15, 2019<\/strong>.<\/p>\n

      If you begin Step 1 of the upgrade<\/em> before March 15, 2019 you can continue to complete the upgrade until the service is discontinued. We intend to continue the service until April 15, 2019<\/strong>.<\/p>\n

      If you do not<\/strong> begin Step 1 of the upgrade<\/em> before March 15, 2019, we will disconnect your database and store your data for 30 days before deleting it. If you wish to reconnect a database, you must contact support before March 29, 2019<\/strong>.<\/p>\n

      If this data does not need to be preserved past the migration deadline, it’s safe to ignore the upgrade warnings and let the CDS instance get deleted automatically.<\/p>\n

      Once the database is migrated (or deleted automatically), Flow Approvals will work normally.\u00a0When the first Approval request is sent on a tenant, a new CDS for Apps instance will be automatically provisioned in the Default Environment\u00a0if one did not already exist.<\/p>\n

      Other resources<\/h2>\n

      For more detailed information on how to upgrade a previous version of CDS instance, see the documentation here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

      Learn how to upgrade your previous version Common Data Service (CDS) database along with any canvas apps and flows that depend on it to the new CDS for Apps database. Or, delete your previous version CDS database and create a new empty CDS for Apps database.<\/p>\n","protected":false},"author":100,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","power-automate-category":[2793],"power-automate-tag":[],"coauthors":[2347],"class_list":["post-111003","power-automate","type-power-automate","status-publish","hentry","power-automate-category-stories"],"yoast_head":"\nRemember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to upgrade your previous version Common Data Service (CDS) database along with any canvas apps and flows that depend on it to the new CDS for Apps database. Or, delete your previous version CDS database and create a new empty CDS for Apps database.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Power Platform Blog\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2023\/12\/Microsoft-logo_rgb_c-gray_950-1.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"950\" \/>\n\t<meta property=\"og:image:height\" content=\"413\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 min read\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Pratap Ladhani\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/\",\"name\":\"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\"},\"datePublished\":\"2019-03-13T21:23:21+00:00\",\"dateModified\":\"2019-03-13T21:23:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Power Automate\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"name\":\"Microsoft Power Platform Blog\",\"description\":\"Innovate with Business Apps\",\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\",\"name\":\"Microsoft Power Platform Blog\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"contentUrl\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"width\":194,\"height\":145,\"caption\":\"Microsoft Power Platform Blog\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/","og_locale":"en_US","og_type":"article","og_title":"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog","og_description":"Learn how to upgrade your previous version Common Data Service (CDS) database along with any canvas apps and flows that depend on it to the new CDS for Apps database. Or, delete your previous version CDS database and create a new empty CDS for Apps database.","og_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/","og_site_name":"Microsoft Power Platform Blog","og_image":[{"width":950,"height":413,"url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2023\/12\/Microsoft-logo_rgb_c-gray_950-1.webp","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 min read","Written by":"Pratap Ladhani"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/","name":"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data - Microsoft Power Platform Blog","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website"},"datePublished":"2019-03-13T21:23:21+00:00","dateModified":"2019-03-13T21:23:21+00:00","breadcrumb":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/upgrade-your-previous-version-cds\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/"},{"@type":"ListItem","position":2,"name":"Power Automate","item":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/"},{"@type":"ListItem","position":3,"name":"Remember to upgrade your previous version CDS database to preserve Flow Approvals history or entity data"}]},{"@type":"WebSite","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","name":"Microsoft Power Platform Blog","description":"Innovate with Business Apps","publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization","name":"Microsoft Power Platform Blog","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","contentUrl":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","width":194,"height":145,"caption":"Microsoft Power Platform Blog"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/"}}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Power Platform Blog","distributor_original_site_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/power-automate\/111003"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/power-automate"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/types\/power-automate"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/comments?post=111003"}],"version-history":[{"count":0,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/power-automate\/111003\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/media?parent=111003"}],"wp:term":[{"taxonomy":"power-automate-category","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/power-automate-category?post=111003"},{"taxonomy":"power-automate-tag","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/power-automate-tag?post=111003"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/coauthors?post=111003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}