1. Overview
This document provides guidance for customers on migrating their Fabric / Power BI tenant home region to another region using Microsoft ATM (Assisted Tenant Migration). Customers generally request ATM for data residency compliance reasons. ATM is not generally available for all Fabric / Power BI customers - it is reserved for customers that escalate, or strategically important customers. ATM preserves the tenant GUID and migrates Power BI content (semantic models, reports, paginated reports, dashboards, and dataflows Gen1) and all associated metadata to a new region. In this document, semantic model is the preferred term for what was previously called a dataset; API names may still use dataset. The storage formats are referred to consistently as large storage format and small storage format. There are three main drawbacks to ATM currently:
- Customer must delete all Fabric artifacts before ATM
- Customer must delete all dedicated capacities, in every region, including target (desired) region, before ATM
- During the actual migration (Stage 4), which takes around 6 hours on average, Fabric and Power BI will be inaccessible for all users. Check with Microsoft for an estimate for your tenant.
Q: "What are Power BI items?"
A: Power BI items are semantic models, reports, paginated reports, dashboards, and dataflows Gen1. These are preserved during ATM.
Q: "What are Fabric artifacts?"
A: Fabric artifacts are items that are not Power BI items and include Lakehouses, Data Warehouses, Notebooks, Pipelines, Environment, CopyJob, Kusto Eventhouse, DataExploration, Dataflows Gen2, etc. Fabric artifacts must be deleted before ATM. Fabric artifacts only exist on F-SKUs (Trial & non-Trial) and P-SKUs.
If you still wish to proceed with ATM, please continue reading. Before ATM, Microsoft will first need to check that your data estate is suitable for ATM. Once confirmed that ATM is a good fit, there are five migration stages to consider:
| Stage | Performed by | Activities | Timing | Work / Waiting Period |
|---|---|---|---|---|
| 1 | Customer | Delete trial-hosted Fabric artifacts, prepare models that will change capacity region, then cancel trial capacities | Complete trial cleanup, trial-model preparation, and trial cancellation at least 48 hours before Stage 3. Production-model flips and shrinks can finish immediately before Stage 3. | Hands-on time varies. Allow at least 48 hours after trial cancellation for telemetry sync; Stage 2 can proceed during this wait. |
| 2 | Customer | Delete production-hosted Fabric artifacts, delete identified gateways, and prepare other resources | Complete steps 2.1–2.6 at least 24 hours before Stage 3. Start step 2.7 well in advance and finish the final capture before Stage 3; perform step 2.8 1–2 hours before Stage 3. | Hands-on time varies. Allow at least 24 hours for telemetry sync after steps 2.1–2.6. |
| 3 | Customer | Delete Production Capacities | Customer picks start time (anchor start time) | Around 6 hours on average, but check with Microsoft for an estimate for your tenant. Must wait for telemetry sync. |
| 4 | Microsoft | Actual Migration | Around 6 hours after the beginning of Stage 3 | Around 6 hours for actual migration of data & metadata to target region, but check with Microsoft for an estimate for your tenant. |
| 5 | Customer | Post-migration Activities | Around 6 hours after the beginning of Stage 4 | Around 2 hours for customer to reprovision new capacities, reattach workspaces to new capacities etc. |
Timing summary: Once required model flips (conversion to small storage format) and shrinks are complete, there is no additional waiting period before moving to Stage 3 at the agreed anchor start time, provided all other preparation requirements and their waiting periods are satisfied. Stage 3 is the No Capacities Stage: all dedicated capacities have been deleted, and Microsoft waits for telemetry sync before starting Stage 4. From the anchor start time, plan for roughly 6 hours of waiting, 6 hours of actual migration, and 2 hours of customer restoration work (about 14 hours total). These are estimates, not fixed deadlines. Trial-capacity access restrictions begin earlier, when trials are cancelled in Stage 1. Stage 4 is the full service outage; Stages 3 and 5 have the access limitations described below.
The main steps to migration are:
- Customer reaches out to Microsoft account representative
- Microsoft checks to see if customer data estate is a good fit for ATM
- Microsoft creates a Teams Group Chat with customer to schedule migration (generally over a weekend) and discuss steps
- Customer picks an anchor start time for their migration which marks the beginning of Stage 3 of their migration (see table above)
- Before Stage 1, every customer records the original Fabric artifact creation setting and its group scope, then disables artifact creation tenant-wide, even if there are no trial capacities
- Customer records trial-capacity settings and workspace mappings before starting Stage 1
- Customer deletes Fabric artifacts on trial capacities (Stage 1.1; Microsoft can provide an inventory)
- Customer prepares large-storage-format models on trial capacities whose workspaces will change capacity region (Stage 1.2); production-model preparation can continue until immediately before Stage 3
- Customer cancels all trial capacities
- Customer deletes Fabric artifacts on production capacities (Stage 2.1)
- Customer may need to delete on-premises data gateways in target region (confirm with Microsoft)
- Customer captures production-capacity settings and workspace mappings before deleting production capacities (Stage 2.7)
- Customer completes any required flips and shrinks on production models (Stage 1.2); no additional waiting period is required before Stage 3 once this work is complete and all other prerequisites are satisfied
- Customer deletes all production (non-trial) capacities
- Microsoft initiates actual migration (takes ~6 hours)
- Customer reprovisions new capacities
- Customer reattaches workspaces to new capacities (customer needs to save capacity-workspace mapping before migration)
- Customer restores the original Fabric artifact creation setting and group scope, leaving creation disabled if it was disabled before preparation
⚠️ Read about common migration risks here.
2. What Can I Do to Prepare for Migration?
Here is a review checklist to help you prepare for your migration.
| # | Check | Note |
|---|---|---|
| 1 | Do I have Fabric artifacts? | Every customer must record the original Fabric artifact creation setting and its group scope, then disable artifact creation tenant-wide before Stage 1, even if there are no trial capacities. All Fabric artifacts, in both personal and shared workspaces, must be hard-deleted before capacity deletion. The Fabric admin may need to take over personal workspaces to delete Fabric artifacts. The presence of a single Fabric artifact will block your migration. |
| 2 | How many dedicated capacities do I have? | Check the Fabric admin portal F-SKUs are under the Fabric Capacity tabTrial F-SKUs are under the Trial tabA-SKUs are under the Power BI Embedded tabP-SKUs & EM-SKUs are under the Power BI Premium tab |
| 2.1 | Can I capture basic capacity settings and dedicated capacity-workspace mappings? | Use Script 5.1 to capture A-SKU capacity settings Use Script 5.2 to capture basic non-trial capacity settings (A-SKUs, F-SKUs, P-SKUs, and EM-SKUs) & workspace mappings Before cancelling trials in Stage 1, manually record trial-capacity names, regions, settings, and workspace names and IDs. Script 5.2 excludes trials. |
| 2.2 | Do I have permission to delete production capacities at the anchor start time and cancel trial capacities at least 48 hours beforehand? | Confirm permissions for each capacity type. Fabric admin portal tasks require the Fabric administrator role; Azure-managed capacity deletion also requires appropriate Azure RBAC permissions on the resources. The Azure provisioning scripts specify their subscription-level permission requirements. |
| 2.3 | Do I have permission to reprovision dedicated capacities after migration? Will I do this manually, or will I use a script? | For a small number of capacities, this can be done manually. Alternatively, use Script 5.4 to reprovision A-SKUs. This document does not provide scripts for reprovisioning F-SKUs, P-SKUs, or EM-SKUs. |
| 2.4 | Do I have permission to reattach all workspaces back to these newly provisioned dedicated capacities after migration? Will I do this manually, or do I have a script to do this? | Use Script 5.5 to reassign non-trial workspaces using the saved mapping file. Each mapped name must match exactly one new capacity; preserve names or update the file. Reassign former trial workspaces manually using the Stage 1 inventory. Capacity IDs will change. |
| 2.5 | Do I need to assign Pro or PPU licenses to some users so they can access Pro workspaces and reports during Stage 3, the No Capacities Stage (~6 hours)? This only works for semantic models in small storage format and < 1 GB. No users can access the service during Stage 4. | Remove temporary Pro or PPU licenses only after verifying that the affected workspaces are on capacities that support Free-user access (F64 or higher, or equivalent) and that users with Free licenses can access their reports. |
| 2.6 | Do I use isolated dedicated capacities that are in separate capacity infrastructure from other tenants? | Please reach out to your Microsoft account representative. |
| 2.7 | Do I use capacities with BYOK (Bring Your Own Key)? | After migration, you will need to reprovision capacities with BYOK with the same key(s) as before migration. |
| 3 | Do I have models in large storage format whose workspace will end up on a capacity in a different region from its original capacity region after migration? | For workspaces whose destination capacity region differs from their original capacity region, shrink models ≥ 10 GB to below 10 GB, then convert all models in large storage format to small storage format before deleting their capacities. Completed flips and shrinks require no additional wait before Stage 3, provided other prerequisites are satisfied. API model-flipping requests are throttled: send no more than 10 flipping requests within any one-minute period (see section 6). Models returning to their original capacity region do not require conversion for ATM, regardless of the new tenant home region. |
| 4 | Do I have on-premises data gateways in the target (desired) region? | These may need to be deleted before migration. Please confirm with Microsoft. |
| 5 | Do I have Power Apps that use gateways in the source region? | These will need to be reconfigured after migration. |
| 6 | Do I use workspaces with BYOLA (Bring Your Own Log Analytics) or BYOS (Bring Your Own Storage)? | Detach from workspaces before migration, then reattach after migration. |
| 7 | Do I want to save my logs & usage metrics? | Save the required usage reports and semantic models before migration. After migration, workspace-level usage metrics will not retain usage data from before migration. |
| 8 | Do I have tenant-level or workspace-level private links enabled? | Disable and remove Private Link resources before migration. |
| 9 | If I have dedicated capacities, am I using Azure Analysis Services migration? | Delete pending Azure Analysis Services (AAS) migrations before tenant home-region migration. |
3. Migration Stages
There are five migration stages. Complete preparation tasks in the order below, but do not wait for Stage 1's telemetry waiting period to finish before beginning Stage 2. Complete trial cleanup, required trial-model preparation, and trial cancellation at least 48 hours before the anchor start time and Stage 2.1–2.6 at least 24 hours before it. Required production-model flips and shrinks can continue until immediately before Stage 3; once complete, they require no additional waiting period before Stage 3, provided all other prerequisites are satisfied. Start the initial capacity and workspace capture in Stage 2.7 well in advance, allowing enough time to finish a final capture before capacity deletion at the anchor start time. Perform Stage 2.8 1–2 hours before the anchor start time. Stages 3–5 then proceed in sequence. The waiting periods below are elapsed time, not hands-on task durations.
| Stage | Performed by | Activities | Number of Steps | Timing | Work / Waiting Period |
|---|---|---|---|---|---|
| 1 | Customer | Delete trial-hosted Fabric artifacts, prepare models that will change capacity region, then cancel trial capacities | 3 | Complete trial cleanup, trial-model preparation, and trial cancellation at least 48 hours before Stage 3. Production-model flips and shrinks can finish immediately before Stage 3. | Hands-on time varies. Allow at least 48 hours after trial cancellation for telemetry sync; Stage 2 can proceed during this wait. |
| 2 | Customer | Delete production-hosted Fabric artifacts, delete identified gateways, and prepare other resources | 8 | Complete steps 2.1–2.6 at least 24 hours before Stage 3. Start step 2.7 well in advance and finish the final capture before Stage 3; perform step 2.8 1–2 hours before Stage 3. | Hands-on time varies. Allow at least 24 hours for telemetry sync after steps 2.1–2.6. |
| 3 | Customer | Delete Production Capacities | 1 | Customer picks start time (anchor start time) | Around 6 hours on average, but check with Microsoft for an estimate for your tenant. Must wait for telemetry sync. |
| 4 | Microsoft | Actual Migration | 1 | Around 6 hours after the beginning of Stage 3 | Around 6 hours for actual migration of data & metadata to target region, but check with Microsoft for an estimate for your tenant. |
| 5 | Customer | Post-migration Activities | 11 | Around 6 hours after the beginning of Stage 4 | Around 2 hours for customer to reprovision new capacities, reattach workspaces to new capacities etc. |
Before Stage 1, for every tenant: record the original Fabric artifact creation setting and its group scope, then disable artifact creation tenant-wide, even if there are no trial capacities. Restore the original configuration in Stage 5.10.
If you have trial capacities: manually record their names, regions, settings, and workspace names and IDs before Stage 1. Script 5.2 captures only non-trial capacity settings and workspace mappings; it excludes trial and PPU capacities.
-
Stage 1 Trial cleanup and model preparation
Performed by customer
Complete trial cleanup, trial-model preparation, and trial cancellation at least 48 hours before the anchor start time. Production-model preparation can continue until immediately before Stage 3.
- Delete Fabric artifacts on trial capacities.
- Prepare large-storage-format models whose workspaces will change capacity region, on trial or production capacities.
- Cancel trial capacities only after deleting their Fabric artifacts and completing their required model preparation.
Reduced access begins when trial capacities are cancelled.
-
Stage 2 Production cleanup and other preparation
Performed by customer
Complete steps 2.1–2.6 at least 24 hours before the anchor start time.
- Delete Fabric artifacts on production capacities.
- Hard-delete only target-region gateways identified by Microsoft.
- Complete private-network, pending AAS migration, and BYOLA/BYOS preparation.
Access restrictions from preparation continue.
-
Stage 3 Delete production capacities
Performed by customer
Anchor start time
Chosen by customerApproximately 6 hours of waiting; confirm the estimate with Microsoft.
- Delete all remaining dedicated capacities in every region.
- Do not detach workspaces first.
- Wait for telemetry sync and migration readiness.
No Capacities Stage: reduced access, not a full service outage.
-
Performed by Microsoft
Approximately 6 hours; confirm the estimate with Microsoft.
- Starts after Stage 3 readiness checks are complete.
- Microsoft migrates supported Power BI content and metadata.
Full outage: Fabric and Power BI are unavailable to all users.
-
Stage 5 Restore capacities and access
Performed by customer
After migration completion is confirmed; approximately 2 hours of restoration work.
- Confirm the new home region.
- Reprovision dedicated capacities.
- Reattach workspaces and complete the applicable recovery steps.
- Restore the original Fabric artifact creation setting and group scope.
Access and functionality are restored as required recovery steps are completed.
Before Stage 3: start an initial capture of non-trial capacity settings and workspace mappings well in advance. Allow enough time to finish and verify the final export before deleting capacities (Stage 2.7). Capture logs and usage data 1–2 hours before the anchor start time (Stage 2.8). Complete required production-model flips and shrinks before capacity deletion; no additional waiting period is required after they complete, provided all other prerequisites are satisfied.
Stage 2 can proceed during Stage 1's telemetry waiting period. Model preparation is needed only when a workspace's destination capacity region differs from its original capacity region, regardless of the new tenant home region; see section 6 for shrinking and conversion steps. All durations are estimates: from the anchor start time, allow roughly 6 hours of waiting + 6 hours of migration + 2 hours of restoration (about 14 hours total), with tenant-specific timing confirmed by Microsoft.
Stage 1 - Delete trial-hosted Fabric artifacts, prepare models, and cancel trials
Customer performs trial cleanup, required trial-model preparation, and trial cancellation in sequence, a minimum of 48 hours before anchor start time which is the beginning of Stage 3. Stage 1.2 also covers production models; their required flips and shrinks can finish immediately before Stage 3, with no additional waiting period once complete, provided all other prerequisites are satisfied.
Required for every tenant before Stage 1, including tenants without trial capacities: record the current enabled/disabled state and the full group scope (including included and excluded groups) of Admin portal => Tenant settings => Microsoft Fabric => Users can create Fabric artifacts. Then disable this setting tenant-wide. If it is already disabled, leave it disabled. Keep the saved configuration so you can restore it in Stage 5.10. Disabling this setting does not prevent auto-creation of some Fabric artifacts, such as DataExploration; check for and delete any such artifacts before cancelling or deleting capacities.
Before starting: manually record each trial capacity's name, region, relevant settings, and assigned workspace names and IDs. Keep this inventory for post-migration reassignment. Script 5.2 excludes trial capacities, and the trial mappings will no longer be available after cancellation.
Stage 1.1 - Delete Fabric artifacts on trial capacities
🛑 Critical step - migration blocking if not done
⌛ Do this at least 48 hours before anchor start time
🙍 Performed by customer
Q: "What are Fabric artifacts?"
A: Power BI items are semantic models, reports, paginated reports, dashboards, and dataflows Gen1. These do not need to be deleted. Fabric artifacts are items other than Power BI items, such as Lakehouses, Data Warehouses, Notebooks, Kusto Eventhouses, DataExploration, and Dataflows Gen2. Fabric artifacts must be deleted before migration. Work with Microsoft to get a comprehensive list of Fabric artifacts in your tenant. Fabric artifacts only exist on F-SKUs (trial and non-trial) and P-SKUs.
Q: "How do I get an inventory of my Fabric artifacts?"
A: Use public APIs or ask your Microsoft account representative for a list. Begin inventorying at least 7 days before the anchor start time and confirm that you have the permissions needed to hard-delete all Fabric artifacts. Complete deletion on trial capacities at least 48 hours before the anchor start time and on production capacities at least 24 hours before it, always before cancelling or deleting the associated capacity.
After completing the tenant-wide preparation above, delete all Fabric artifacts on trial capacities across your tenant, including shared and personal workspaces. This also includes FUAM - delete the Fabric artifacts in any trial-hosted FUAM workspace. Immediately before cancelling trial capacities, check for and delete any auto-created Fabric artifacts. If you cancel a trial capacity first, put the affected workspace back on a capacity in its original region, then hard-delete the Fabric artifacts. You can also give written permission to Microsoft to delete lingering Fabric artifacts that would block migration.
If you want to delete a workspace, you must first delete any Fabric artifacts in the workspace. Otherwise, the Fabric artifacts will end up in a soft-delete state for 30 days, which will block your migration. Work with Microsoft to identify those workspaces, reattach them to a dedicated capacity, and delete the Fabric artifacts. After that, you can delete those workspaces. The same applies if you migrate a workspace off an F-SKU capacity (trial or non-trial) - the Fabric artifacts will enter a soft-delete state for 30 days.
Stage 1.2 - Shrink and Convert Models That Will Change Capacity Region
⚠️ Models in large storage format will not function correctly if their workspace is assigned to a capacity in a different region from its original capacity region without first converting the models
⌛ Complete trial-model flips and shrinks before trial cancellation. Complete production-model flips and shrinks before Stage 3; no additional waiting period is required after completion.
🙍 Performed by customer, but customer can ask Microsoft for a list of impacted models
This step applies to models on trial or production capacities only if their workspace will be assigned to a capacity in a different region from its original capacity region after migration. It does not depend on the tenant's new home region. Complete this work while the original capacity is still available. Models returning to a capacity in their original region can remain in large storage format. For models that will change capacity region, shrink any models ≥ 10 GB to below 10 GB before converting them to small storage format. Here are some tips for shrinking:
- Remove unused columns, especially high-cardinality text/ID columns.
- Remove unnecessary rows, such as old historical data the business no longer needs.
- Reduce historical retention, for example retain 3 years instead of 10.
- Pre-aggregate data at the source rather than importing transaction-level detail where it isn't required.
- Optimize data types, such as replacing text keys with numeric keys and avoiding unnecessarily high precision.
- Reduce high-cardinality columns, particularly GUIDs, timestamps, free-form text, and unique identifiers.
- Remove unnecessary calculated columns/tables and prefer measures where appropriate.
- Disable Auto date/time, which can create hidden date tables.
- Disable load for staging/intermediate Power Query queries that don't need to exist in the model.
- Move appropriate tables to DirectQuery/composite storage so the data isn't all held in the Import model.
Next, convert (flip) all remaining models in large storage format in those workspaces to small storage format. This can be done via the UI or API, as described in section 6. API model-flipping requests are throttled: send no more than 10 flipping requests within any one-minute period. Complete the required flips and shrinks for each capacity before cancelling that trial capacity or deleting that production capacity. Once flips and shrinks are complete, there is no additional waiting period before Stage 3 at the agreed anchor start time, provided all other preparation requirements and their waiting periods are satisfied.
Stage 1.3 - Cancel Trial Capacities
🛑 Critical step - migration blocking if not done
⚠️ Order matters - record trial settings and workspace mappings, delete Fabric artifacts, and complete any required model conversion before cancelling trial capacities
⌛ Do this at least 48 hours before anchor start time
🙍 Performed by customer
Before you cancel your trial capacities, confirm that you have recorded their settings and workspace mappings, deleted all Fabric artifacts on them, and completed Stage 1.2 for any trial models that will change capacity region. Production-model preparation does not need to finish before trial cancellation. As Fabric admin, go to Fabric admin portal => Capacity Settings => Trial and "cancel" all your Fabric Trial capacities, which is equivalent to deleting them. When you cancel trial capacities, those workspaces will automatically move back to shared capacities. Power BI access may be slower and restricted. Specifically:
- For all semantic models ≥ 1 GB, the model and all reports dependent on it will be inaccessible for all users, and scheduled refreshes will not work, until the model is back on a dedicated capacity after migration.
- For all semantic models in large storage format, regardless of size, the model and dependent reports will be inaccessible for all users, and scheduled refreshes will not work, until the model is back on a dedicated capacity after migration. Furthermore, the newly provisioned dedicated capacity must be in the model's original capacity region.
- For all semantic models < 1 GB and in small storage format, users with Free licenses will lose access to those models and associated reports. Only users with Pro or PPU (Premium Per User) licenses will retain access. Users with Free licenses will regain access once the workspace is back on a dedicated capacity that supports Free-user access (F64 or higher, or equivalent). If you want users to retain access during this period, upgrade those users to Pro or PPU licenses.
Stage 2 - Delete production-hosted Fabric artifacts and prepare other resources
Complete Stage 2.1 through Stage 2.6 in sequence, where relevant, at least 24 hours before the anchor start time, which is the beginning of Stage 3. Begin the initial capture in Stage 2.7 well in advance; it can start before the other Stage 2 tasks. Allow enough time to finish a final capture before production-capacity deletion. Perform Stage 2.8 1–2 hours before the anchor start time.
Stage 2.1 - Delete Fabric artifacts on production capacities
🛑 Critical step - migration blocking if not done
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
Q: "What are Fabric artifacts?"
A: Power BI items are semantic models, reports, paginated reports, dashboards, and dataflows Gen1. These do not need to be deleted. Fabric artifacts are items other than Power BI items, such as Lakehouses, Data Warehouses, Notebooks, Kusto Eventhouses, DataExploration, and Dataflows Gen2. Fabric artifacts must be deleted before migration. Work with Microsoft to get a comprehensive list of Fabric artifacts in your tenant. Fabric artifacts only exist on F-SKUs (trial and non-trial) and P-SKUs.
Q: "How do I get an inventory of my Fabric artifacts?"
A: Use public APIs or ask your Microsoft account representative for a list. Begin inventorying at least 7 days before the anchor start time and confirm that you have the permissions needed to hard-delete all Fabric artifacts. Complete deletion on trial capacities at least 48 hours before the anchor start time and on production capacities at least 24 hours before it, always before cancelling or deleting the associated capacity.
If you want to delete a workspace, you must first delete any Fabric artifacts in the workspace. Otherwise, the Fabric artifacts will end up in a soft-delete state for 30 days, which will block your migration. Work with Microsoft to identify those workspaces, reattach them to a dedicated capacity, and delete the Fabric artifacts. After that, you can delete those workspaces. The same applies if you migrate a workspace off an F-SKU capacity (trial or non-trial) - the Fabric artifacts will enter a soft-delete state for 30 days.
Stage 2.2 - Delete Gateways in Target Region
🛑 Critical step - migration blocking if not done. Targeted gateways must be hard-deleted, not just soft-deleted.
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
Some on-premises data gateways in the target (desired) region may need to be deleted before migration. Please first confirm with your Microsoft account representative. On-premises data gateways in the target region can be used by Logic Apps, Azure Analysis Services, Power Apps, and Power Automate. They cannot be used by Fabric / Power BI, which supports on-premises data gateways only in the source region.
To delete the gateways, go to Power Platform admin center => Manage => Data (preview) => On-premise data gateways. Turn on Tenant administration toggle (top right). Select target (desired) region from the drop-down (top right). Hover on the gateway, select settings from the context menu, and confirm the gateway GUID which Microsoft provided. Then soft-delete the gateway. Do this for all gateways in the target region that Microsoft tells you to delete. All the soft-deleted gateways need to be hard-deleted. Go to Deleted gateways (Preview) (top right). For each gateway under Deleted clusters, select the trash can icon to permanently delete the gateway and all its members.
Stage 2.3 - Disable Tenant-Level Private Links
🛑 Critical step - migration blocking if not done
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
If you have private links, follow the steps below in sequence at least 24 hours before anchor start time.
- Enable public internet access:
Power BI => Admin portal => Tenant settings => Public Internet Access - In the Azure portal, delete all the associated private endpoints you created
- In the Azure portal, delete the corresponding private DNS zones
- In the Azure portal, delete the private link service (should be only one). Turn on "Show hidden types" when exploring Resource Groups.
- Disable the setting:
Power BI => Admin portal => Tenant settings => Tenant-level Private Link
Disabling tenant-level private links will restore public internet access - users can connect from any network, not just approved private endpoints. Data traffic to Power BI services no longer exclusively traverses Microsoft's backbone network; it can now go over public routes. After migration - you can re-enable the tenant-level private link setting and recreate private endpoints.
Note that three things are required for tenant-level private links to work:
- Tenant-level Private Link admin setting enabled
- Private Link Service (PLS) (
Microsoft.PowerBI/privateLinkServicesForPowerBI) - Private Endpoints (PEs) tied to the PLS
If you have the Fabric admin setting enabled only, or setting enabled with PLS, but no PEs, then before your migration, we will disable the setting, and delete the PLS. Since there were no PEs, there will be no degradation to your service when we disable this setting. If you have the setting enabled, with PLS, and PEs, then you, the customer, need to follow the above 5 steps and fully disable tenant-level private links before migration. Failure to do so will block your migration.
Stage 2.4 - Disable Workspace VNets
🛑 Critical step - migration blocking if not done
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
Disable any (Managed) Private Links & VNets on your workspaces. Microsoft will provide you with the list.
Stage 2.5 - Disable Pending AAS Migrations
🛑 Critical step - migration blocking if not done
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
As a Fabric administrator, go to Settings => Azure Analysis Service Migrations and look for any pending Azure Analysis Services (AAS) migrations. Delete these pending migrations before proceeding with the tenant migration; leaving them in place may cause tenant migration failure. See the AAS migration guidance for more information.
Stage 2.6 - Detach Workspaces from BYOLA & BYOS
⚠️ Not migration blocking, but Azure Log Analytics will not work after migration if the required detachment is skipped
⌛ Do this at least 24 hours before anchor start time
🙍 Performed by customer
If you are using Bring Your Own Log Analytics (BYOLA) or Bring Your Own Storage (BYOS), detach the affected workspaces from each service they use before migration. If BYOLA detachment is skipped, Azure Log Analytics will not work after migration for those workspaces. Reattach the workspaces to the applicable services in Stage 5.7.
Stage 2.7 - Capture Capacity Settings & Workspace Mapping
⚠️ Not migration blocking, but you need to know what workspaces need to go back on dedicated capacities after migration
⌛ Start an initial capture well in advance. Allow enough time to complete a final capture before deleting production capacities at the anchor start time.
Capture time depends on tenant size. Script 5.2 waits 75 seconds per workspace page of up to 1,000 workspaces; for 100,000 workspaces, the waiting time alone is approximately 126 minutes, excluding API calls and capacity enumeration. Measure the initial run, schedule the final run accordingly, and verify that the export is complete before deleting capacities. Keep the final mapping files separate from any older exports.
Use Script 5.1 to capture A-SKU capacity settings and Script 5.2 to capture non-trial capacity settings and workspace mappings. Trial-capacity settings and mappings must already have been recorded manually before trial cancellation in Stage 1; Script 5.2 excludes trials. Keep both inventories for the post-migration stage. Not all capacity settings can be captured through APIs: settings such as Contributor Permissions and Power BI workloads must be recorded manually before deletion and configured manually on the new capacities. PPU (Premium Per User) capacities (SKU = PP3) are not dedicated capacities and do not need to be deleted.
Stage 2.8 - Capture Logs & Usage
⚠️ Not migration blocking
⌛ Recommended 1–2 hours before anchor start time
Some usage data is not available after migration, so save the following before migration:
- Download Power BI Activity Logs before migration
- View count in Lineage view
- Data protection metrics report (Part of Purview)
- Workspace-level usage metrics will not retain data from before migration.
Stage 3 - Delete Production Capacities
There is no additional waiting period between completion of required model flips and shrinks and the start of Stage 3. Proceed at the agreed anchor start time once all other preparation requirements and their waiting periods are satisfied. The telemetry waiting period after capacity deletion in Stage 3 still applies.
🛑 Critical step - migration blocking if not done
⚠️ Order matters. Always delete all your Fabric artifacts before deleting your capacities
⌛ Do this at the anchor start time
🙍 Performed by customer
Before you do this, confirm that all Fabric artifacts have been deleted and any required model conversion in Stage 1.2 is complete. Delete all dedicated capacities (F-SKUs, A-SKUs, P-SKUs, and EM-SKUs) in active or paused states in any Azure region. Workspaces on Pro or PPU licenses can remain as they are. All dedicated capacities, in every region, must be deleted before migration. Do not detach workspaces from dedicated capacities first: do not manually move them to per-user license mode (Pro or Premium Per User (PPU)) before capacity deletion. Deleting a dedicated capacity does not delete the supported Power BI content in its workspaces; this does not restore Fabric artifacts deleted during preparation. The table below lists the four production capacity types and their deletion methods.
| SKU Type | Found in | Delete capacity from |
|---|---|---|
| A-SKU (Azure) | Fabric admin portal => Capacity Settings => Power BI Embedded | Azure admin portal, Azure CLI, PowerShell |
| F-SKU (Fabric) | Fabric admin portal => Capacity Settings => Fabric Capacity | Fabric admin portal (UI), Azure portal, Azure CLI, PowerShell |
| P-SKU (Premium) EM-SKU (Enterprise Embedding) |
Fabric admin portal => Capacity Settings => Power BI Premium | Fabric admin portal (UI) Power BI REST API (P-SKU only) The M365 billing subscription can remain - it does not need to be cancelled. |
Save capacity settings and workspace mappings before deleting capacities. Although capacity deletion preserves supported Power BI content, workspaces that move to shared capacity have the following access and functionality limitations.
- For all semantic models ≥ 1 GB, the model and dependent reports will be inaccessible, and scheduled refreshes will not work, until the model is back on a dedicated capacity after migration.
- For all semantic models in large storage format, regardless of size, the model and dependent reports will be inaccessible, and scheduled refreshes will not work, until the model is back on a dedicated capacity in its original capacity region.
- For all semantic models < 1 GB and in small storage format, users with Free licenses will lose access to those models and associated reports. Only users with Pro or PPU licenses will retain access. Free-user access returns when the workspace is back on a capacity that supports it (F64 or higher, or equivalent). Assign temporary Pro or PPU licenses if users need access during Stage 3, the No Capacities Stage. These licenses do not provide access during the Stage 4 outage.
- All semantic models on dedicated capacities with BYOK (Bring Your Own Key) will not work until they are back on dedicated capacities with BYOK, and with the same key.
When you delete an A-SKU, you stop paying upon deletion and you lose your dedicated vCores. When you reprovision an A-SKU, you start paying again and get reassigned dedicated vCores. When you delete an F-SKU (Fabric capacity), billing stops immediately and all Fabric Capacity Units (CUs) associated with that capacity are released. When you reprovision an F-SKU, billing resumes and a new set of CUs is allocated. Capacity IDs will change. Preserve capacity names or update the mapping file if you will use Scripts 5.5 or 5.6 for reassignment. When you delete a P-SKU, since these are licensing add-ons, your vCores go back to the pool that you're still paying for, and then will be reallocated when you reprovision new P-SKU capacities.
Run Script 5.3 - Confirm All Dedicated Capacities Have Been Deleted to confirm that all dedicated capacities have been deleted. Failure to delete all dedicated capacities will block migration.
Stage 4 - Actual Migration
⌛ Will commence approximately 6 hours after anchor start time. Check with Microsoft for a more accurate estimate for your tenant.
🙍 Performed by Microsoft
During actual migration, Fabric and Power BI will be inaccessible and will show as under maintenance when you log in - you will be greeted by Henry the Owl. This stage takes around 6 hours on average and can take longer, particularly for very large tenants. Confirm the estimate for your tenant with Microsoft.

Stage 5 - Post-Migration
After migration completion is confirmed by Microsoft or verified through Stage 5.1, perform the applicable Stage 5 steps in order. Stage 5 is estimated to start approximately 12 hours after the anchor start time, but elapsed time alone is not confirmation of migration completion. Each restoration step depends on completion of any preceding required steps; confirm the timing estimate for your tenant with Microsoft. Stage 5.11 is informational and requires no action.
Stage 5.1 - Confirm Target Region
⌛ Verify the new home region after migration completes, estimated at approximately 12 hours after the anchor start time. Confirm the estimate with Microsoft.
🙍 Performed by customer
After your migration, you can confirm you have been migrated by:
- Go to the Power BI web portal
- Click the "?" icon in the top-right corner
- Select About Power BI
- Check the "Your home region is" field
It should show your new region - West Central US in the example below.

Stage 5.2 - Reprovision Capacities
🛑 Critical step - full access and dedicated-capacity functionality will not be restored until capacities are reprovisioned and workspaces are reattached
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
After migration, reprovision dedicated capacities; they will not be reprovisioned automatically. Capacity IDs will change. Names may change if you reassign workspaces manually, but Scripts 5.5 and 5.6 require exactly one new capacity matching each name in the mapping file. Preserve those names or update the mapping file to use the intended new names. Use the settings captured with Script 5.1 - Save A-SKU Capacity Settings and Script 5.2 - Save Non-Trial Capacity Settings & Workspace Mappings, along with the manual trial-capacity inventory from Stage 1.
- A-SKU (Azure Embedding) capacities can be provisioned via Azure portal (or Azure CLI/ARM templates)
- F-SKU (Fabric) capacities can be provisioned via
Fabric admin portal => Capacity settings => Fabric Capacity - F-SKU (Fabric Trial) capacities can be provisioned via
Fabric admin portal => Capacity settings => Trial - P-SKU (Premium) capacities can be provisioned via
Fabric admin portal => Capacity settings => Power BI Premium - EM-SKU (Enterprise Embedding) capacities can be provisioned via
Fabric admin portal => Capacity settings => Power BI Premium
If you have only a small number of capacities, create them manually or use Script 5.4 - Reprovision A-SKU Capacities for A-SKUs.
Stage 5.3 - Reattach Workspaces to Capacities
🛑 Critical step - full access and dedicated-capacity functionality will not be restored until workspaces are reattached
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
After reprovisioning dedicated capacities, reattach workspaces to restore full functionality. Use the non-trial mapping captured with Script 5.2 - Save Non-Trial Capacity Settings & Workspace Mappings with Script 5.5 - Reassign Workspaces Back to Capacities (Batch). Each mapped name must match exactly one new capacity; preserve names or update the file. Reassign former trial workspaces manually using the Stage 1 inventory. Until workspaces are reattached:
- Semantic models ≥ 1 GB and their associated reports remain inaccessible for all users, and scheduled refreshes will not work, until the parent workspace is back on a dedicated capacity.
- Semantic models in large storage format, regardless of size, and their associated reports remain inaccessible for all users, and scheduled refreshes will not work, until the parent workspace is back on a dedicated capacity in its original capacity region.
- For semantic models < 1 GB and in small storage format, access to models and associated reports is limited to users with Pro or PPU licenses. Returning the workspace to a capacity that supports Free-user access (F64 or higher, or equivalent) restores access for users with Free licenses.
- Semantic models that were on dedicated capacities with BYOK (Bring Your Own Key) before migration, will not work until they are back on dedicated capacities with BYOK, and with the same key.
As part of home tenant migration, if you also want to move your workspaces to capacities in a different region read this section: 6. Tenant Migration & Workspace Migration.
Stage 5.4 - Gateways & VNets
🛑 Critical step for Power Apps that use Gateways in source region
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
After migration, all gateways with their relay endpoint in the old region will continue working - the same applies to VNets scoped to the old region. You can confirm the relay endpoint by checking your gateway logs. However, because there are additional configurations on the machine that may point to the old region, the gateway software will need to be uninstalled and reinstalled before all of its capabilities are available. Public documentation is available here. You can also install a gateway on a different machine and recover there. You do not need to delete and re-create the gateway clusters or reconfigure the data source connections in the Power BI service. However, from the Power Apps perspective, gateways in the source region will be "dropped" because Power Apps keeps an explicit reference to the Power BI region where the gateway is located. This reference becomes out of date when the gateway is migrated to a new region.
For Personal Gateways (PGWs) - uninstalling and reinstalling PGWs is required, along with re-entering of all credentials. PGWs do not have recovery keys, the keys are going to be autogenerated on the machine every time. That's why the PGW credentials will be invalidated after uninstall.
Stage 5.5 - Re-enable Tenant-Level Private Links
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
Follow these steps to re-enable tenant-level private links. If you do not re-enable this setting, you may not be able to sign into the gateway app. Also, re-enable inbound and outbound access protection on your workspaces as required.
Stage 5.6 - Recreate Azure Analysis Services Migration
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
If you deleted pending AAS migrations before the home tenant migration, you can create a new migration pairing. As a Fabric administrator, go to Settings => Azure Analysis Service Migrations. Select Setup migration and follow the steps.
Stage 5.7 - Reattach Workspaces to BYOLA & BYOS
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
If you use Bring Your Own Log Analytics (BYOLA) or Bring Your Own Storage (BYOS), reattach the affected workspaces to each applicable service after migration, for example Azure Log Analytics. They should have been detached before migration.
Stage 5.8 - Analyze in Excel - Update Connection String
📢 Low probability of needing to do this
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
For Excel workbooks that use the Analyze in Excel feature, if they fail to refresh after migration, you may need to update the connection string or re-download the Office Data Connection (ODC) file for that semantic model, since it could contain a reference to the old home region. See this tutorial for help if required. The chance of the connection string needing to be updated is very low.
Stage 5.9 - Embedded Links in SharePoint - Regenerate Links
📢 Low probability of needing to do this
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
Power BI Embedded Links in SharePoint may fail to connect when migration is complete - the link could contain a reference to the old home region and would need to be updated. To resolve this problem, after migration, regenerate the affected embedded link in Power BI and update each location where it is used. The chance of the link needing to be regenerated is very low.
Stage 5.10 - Restore Fabric artifact creation settings
⌛ After migration completion is confirmed and preceding required steps are complete; see the Stage 5 timing guidance above.
🙍 Performed by customer
Restore the original configuration of Admin portal => Tenant settings => Microsoft Fabric => Users can create Fabric artifacts that you recorded before Stage 1. Restore both the enabled/disabled state and the full group scope, including included and excluded groups. If creation was disabled before preparation, leave it disabled; do not enable it solely because migration has completed.
Stage 5.11 - Workspace-level usage metrics
📢 No action required, but workspace-level usage metrics from before migration will not be retained
After migration, workspace-level usage metrics automatically begin capturing data in your new region.
4. Frequently Asked Questions
Q: "What is ATM (Assisted Tenant Migration)?"
A: ATM is a Microsoft-led process used to move a customer's Fabric / Power BI tenant home region from one Azure region to another, most commonly to meet data residency or regulatory requirements. Microsoft handles the actual migration while customers complete the preparation and restoration steps in this document. The migration uses a copy-based approach that preserves supported Power BI content in the source region for rollback until migration succeeds. This does not preserve or restore Fabric artifacts, capacities, gateways, or other resources that customers delete during preparation. Customers must separately back up or plan to rebuild anything they delete and want to retain. ATM is generally reserved for customers with strong compliance or regulatory drivers. It is not generally available for all Fabric / Power BI customers.
Q: "What is Tenant Remap?"
A: Tenant Remap is a Microsoft-supported process that changes a Power BI / Microsoft Fabric tenant's home region by remapping the tenant metadata to a new Azure region. During a Tenant Remap, the tenant is recreated in the target region as a clean, empty tenant, and all existing Power BI data, Fabric artifacts, capacities, gateways, and associated metadata from the original tenant are removed as part of the process. Customers are responsible for backing up any content they wish to retain (such as reports, semantic models, or dataflows) before the remap and restoring that content after the tenant is live in the new region. The remap is executed with Microsoft Support and typically involves a short, planned downtime window while the tenant is switched to the new region. Tenant Remap is most suitable for customers with smaller or rebuildable estates, or as a foundation for backup-and-restore approaches, when full in-place tenant migration is not available or feasible. Tenant Remap is publicly available; you can read about it here.
Q: "What happens if migration fails?"
A: Your home region will roll back to the old region without loss of supported Power BI content preserved by ATM. Rollback is immediate because migration copies rather than moves the content and metadata, leaving the source copy available. Rollback does not restore Fabric artifacts, capacities, gateways, or other resources deleted during preparation. Regardless of whether migration fails or succeeds, you must reprovision capacities, reattach workspaces, and restore or rebuild any other deleted resources you still need, using your own backups and recovery plans. After a successful migration, the source-region copy is eventually deleted.
Q: "Why does the No Capacities Stage take 6 hours?"
A: We need to wait on capacity sync jobs that run every few hours to confirm that metadata is synced correctly and that we can start migration.
Q: "Do I need to wait after completing model flips and shrinks before moving to Stage 3?"
A: No. Once required flips and shrinks are complete, there is no additional waiting period before Stage 3 at the agreed anchor start time, provided all other preparation requirements and their waiting periods are satisfied. This does not remove the telemetry waiting period after capacity deletion in Stage 3.
Q: "Is there a request limit when using the API to flip models?"
A: Yes. API model-flipping requests are throttled: send no more than 10 flipping requests within any one-minute period. See section 6 for the conversion API example.
Q: "After migration, will IDs such as Tenant ID, Workspace ID, Dataset ID, Report ID, Group ID, Gateway Object ID, and Data Source Connection ID change?"
A: IDs remain unchanged for existing objects preserved and migrated by ATM. This guarantee does not apply to objects you delete and recreate during preparation or restoration, such as gateways and connections. Newly provisioned dedicated capacities also have new IDs.
Q: "Will Power BI dashboard or report URLs change after migration?"
A: No, they will remain the same as before migration.
Q: "During migration, will AnalysisServices connections remain under the personal gateways of the service principal (SPN) and service principal profile (SPN Profile)? These are the gateways Power BI creates automatically for a user, service principal, or service principal profile when a semantic model or paginated report is published, rather than gateway software installed by the user."
A: These automatically created personal gateways from the source region are transferred as part of tenant migration. They are distinct from the installed personal-mode gateway software discussed in Stage 5.4.
Q: "Will links change for externally shared Power BI dashboards and reports?"
A: No, they will remain the same as before migration.
Q: "Will gateway connections, data source connections, and credentials work after migration?"
A: Existing gateways can continue working with their relay endpoint in the old region, but installed gateway software must be reinstalled or recovered as described in Stage 5.4 to restore all capabilities. Installed personal-mode gateways require credentials to be re-entered after reinstallation. This is not a procedure for directly editing a registered gateway's region. See Stage 5.4 for the Power Apps limitations.
Q: "Will capacity IDs change after migration?"
A: Yes. New dedicated capacities must be provisioned after migration and will have new IDs. Names may change for manual workspace reassignment; Scripts 5.5 and 5.6 require exactly one capacity matching each name in the mapping file, so preserve the names or update the file.
Q: "Can I do my tenant migration in batches?"
A: No. A single tenant can only be migrated wholly.
Q: "Will scheduled refreshes work when I delete my capacities?"
A: While workspaces are on shared capacity, refreshes can continue only for semantic models in small storage format and < 1 GB. Refreshes cannot run during the actual migration outage in Stage 4.
Q: "Why do I have to delete my capacities in all regions?"
A: We need to delete dedicated capacities in all regions so the metadata flows back to shared capacities in the old region. Then, with everything in one place, we can migrate everything from the old region to the new region. Deleting the dedicated capacities in every region is absolutely a necessary step - failing to do so will block migration.
Q: "Why can't I detach my workspaces from capacities before deleting the capacities?"
A: After detachment, you could inadvertently delete your dedicated capacities before all workspaces and content have moved back to shared capacities - this would block migration. You can confirm everything has moved back via public APIs prior to deleting your capacities, but we strongly advise customers to simply delete capacities before migration, rather than detach workspaces, confirm, and then delete capacities.
Q: "After migration, I can't access content in my workspace."
A: Restore the workspace to a suitable dedicated capacity if its models or users require one, as described in Stage 5.3. If it contains semantic models in large storage format, the capacity must be in the workspace's original capacity region until those models have been converted to small storage format.
Q: "Do scheduled refreshes block migration?"
A: No. Scheduled refreshes do not need to be paused or deleted before migration.
Q: "Can users with Pro licenses still access reports and dashboards when the capacities are deleted?"
A: Yes, outside the Stage 4 outage, but only for semantic models in small storage format and < 1 GB. For models in large storage format or ≥ 1 GB, all users, including Pro and PPU users, must wait until the workspace is back on a suitable dedicated capacity. Models still in large storage format require a capacity in their original capacity region.
Q: "What is a dedicated capacity?"
A: Dedicated capacities include F-SKU (Fabric), F-SKU Trial (Fabric Trial), P-SKU (Premium), A-SKU (Azure Embedded), and EM-SKU (Enterprise Embedding). These are tenant-level resources that can host multiple workspaces and are centrally managed.
Q: "What is a premium workspace?"
A: A premium workspace is on a dedicated capacity (F-SKU, F-SKU Trial, P-SKU, A-SKU, or EM-SKU).
Q: "Is there a recovery key for VNet Gateways?"
A: No.
Q: "What is PP3?"
A: It's a capacity SKU for Premium Per User (PPU) licenses. If there are any PPU licenses for the Power BI tenant, there'll be one (and only one) PP3 SKU. It does not need to be deleted before migration.
Q: "Why might I need to delete gateways in the target region before migration?"
A: A gateway in the target region with the same display name as a gateway in the source region can block migration. Confirm the affected gateway IDs with Microsoft and hard-delete only the gateways Microsoft identifies, following Stage 2.2. Do not delete other target-region gateways unnecessarily; they may support other services.
Q: "Why do I need to delete all my Fabric artifacts before migration?"
A: ATM (Assisted Tenant Migration) is unable to cross-region migrate Fabric artifacts today. It is a known, documented limitation of ATM.
Q: "What are Power BI items?"
A: Power BI items are semantic models, reports, paginated reports, dashboards, and dataflows Gen1. These are preserved during ATM.
Q: "What are Fabric artifacts?"
A: Fabric artifacts are items that are not Power BI items and include Lakehouses, Data Warehouses, Notebooks, Pipelines, Environment, CopyJob, Kusto Eventhouse, DataExploration, Dataflows Gen2, etc. Fabric artifacts must be deleted before ATM. Fabric artifacts only exist on F-SKUs (Trial & non-Trial) and P-SKUs.
Q: "Does ATM work for workspaces with semantic models in large storage format?"
A: Yes. If the models remain in large storage format, their workspaces must return to capacities in their original capacity regions to restore access. If a workspace will change capacity region, shrink models ≥ 10 GB to below 10 GB and convert all of its models in large storage format to small storage format before deleting the original capacity. The tenant's new home region does not determine whether conversion is needed.
Q: "How do I get an inventory of my Fabric artifacts?"
A: Use public APIs or ask your Microsoft account representative for a list. Begin inventorying at least 7 days before the anchor start time and confirm that you have the permissions needed to hard-delete all Fabric artifacts. Complete deletion on trial capacities at least 48 hours before the anchor start time and on production capacities at least 24 hours before it, always before cancelling or deleting the associated capacity.
Q: "Post-migration, will there be any impact on scheduled refreshes? Do those need to be recreated after migration?"
A: Refresh schedules are preserved and do not need to be recreated. Successful refresh execution depends on restoring any required capacities, gateways, credentials, and connections. See Stages 5.2–5.4 for the restoration steps.
Q: "Can I reconfigure existing gateways to remove their dependency on the old region and associate them with the new region?"
A: No. You cannot change the region of an existing gateway. You can install a different gateway or reinstall your existing gateways.
Q: "When the actual migration of data/metadata is happening, does it traverse over the Microsoft backbone or are there parts that go over the public internet?"
A: Microsoft backbone only. Nothing traverses the public internet.
Q: "If there is failover from primary region to backup region, can ATM be carried out from the backup region?"
A: No. You will need to wait for restoration to primary region before ATM can be executed.
5. PowerShell Scripts
These PowerShell scripts will be run by you, the customer, before or after migration.
5.1 Save A-SKU Capacity Settings
Customer (Fabric Admin) runs this before migration. The script reports enumerated subscriptions, exported capacities, and failure counts. If an export is incomplete, any captured data is saved for inspection, but the script stops with an error. Resolve the failures and complete a new export before relying on it for restoration or deleting capacities. This may not capture all capacity metadata; review the generated JSON file.
# ============================================
# Export all Power BI Embedded Capacities, does not include F-SKU, P-SKU or EM-SKU Premium capacities
# Need Azure subscription contributor role
# Change $outputFile to your path
# Run "Install-Module -Name Az" first to install necessary modules
# Please use default PowerShell v5.1 to run the script, running with PowerShell v7.0 may fail
# ============================================
# Connect to Azure Cloud
Write-Host "Connecting to Azure Prod Cloud"
Connect-AzAccount -Environment AzureCloud -ErrorAction Stop
# Output file path, change to your path to save the exported data
$outputFile = "C:\Users\xxxxx\A_CapacityMap.json"
# Get all Azure subscriptions you can access
$subscriptions = @(Get-AzSubscription -ErrorAction Stop)
Write-Host "Found : $($subscriptions.Count) subscriptions"
$exportData = @()
$enumeratedSubscriptionCount = 0
$failedSubscriptionCount = 0
$failedCapacityCount = 0
foreach ($sub in $subscriptions) {
Write-Host "`n=============================="
Write-Host "Change to subscription: $($sub.Name) ($($sub.Id))"
Write-Host "=============================="
try {
Set-AzContext -SubscriptionId $sub.Id -ErrorAction Stop | Out-Null
} catch {
$failedSubscriptionCount++
Write-Warning "Cannot select subscription '$($sub.Name)' ($($sub.Id)): $($_.Exception.Message)"
continue
}
# Get resources with type Microsoft.PowerBIDedicated/capacities
try {
$capacities = Get-AzResource -ResourceType "Microsoft.PowerBIDedicated/capacities" -ErrorAction Stop
} catch {
$failedSubscriptionCount++
Write-Warning "Cannot list capacities in subscription '$($sub.Name)' ($($sub.Id)): $($_.Exception.Message)"
continue
}
$enumeratedSubscriptionCount++
# Get sku info
$aCapacities = $capacities | Where-Object {
# sku info might be under .Sku or .Sku.Name
$skuName = $null
if ($_.Sku -and ($_.Sku.Name)) { $skuName = $_.Sku.Name } elseif ($_.Sku) { $skuName = $_.Sku }
return $skuName #-and ($skuName -match '^A\d+')
}
if (-not $aCapacities -or $aCapacities.Count -eq 0) {
Write-Host "There's no A SKU capacity in this sub"
continue
}
foreach ($cap in $aCapacities) {
Write-Host "Processing capacity: $($cap.Name) (resource group: $($cap.ResourceGroupName))"
# Use Get-AzResource -ResourceId -ExpandProperties to read properties
$details = $null
try {
$details = Get-AzResource -ResourceId $cap.ResourceId -ExpandProperties -ErrorAction Stop
} catch {
Write-Warning "Can not get details (Get-AzResource -ExpandProperties) : $($_.Exception.Message)"
# Fallback to use backup Invoke-AzRest (if your module supports it)
try {
# build Path for Invoke-AzRest
$relativePath = $cap.ResourceId
$apiVersion = "2017-10-01"
$resp = Invoke-AzRest -Path $relativePath -Method GET -ApiVersion $apiVersion -ErrorAction Stop
$details = $resp.Content | ConvertFrom-Json -ErrorAction Stop
} catch {
$failedCapacityCount++
Write-Warning "Cannot export capacity '$($cap.Name)' in subscription '$($sub.Id)': $($_.Exception.Message)"
continue
}
}
# Use cap.Sku to get SKU name
$skuVal = if ($cap.Sku -and $cap.Sku.Name) { $cap.Sku.Name } elseif ($cap.Sku) { $cap.Sku } else { "" }
$exportData += [PSCustomObject]@{
SubscriptionId = $sub.Id
SubscriptionName = $sub.Name
CapacityName = $cap.Name
ResourceGroup = $cap.ResourceGroupName
Region = $cap.Location
Sku = $skuVal
ResourceId = $cap.ResourceId
}
}
}
ConvertTo-Json -InputObject @($exportData) -Depth 6 | Out-File -FilePath $outputFile -Encoding UTF8 -ErrorAction Stop
Write-Host "`nA-SKU export results: SubscriptionsEnumerated=$enumeratedSubscriptionCount/$($subscriptions.Count); Exported=$($exportData.Count); FailedSubscriptions=$failedSubscriptionCount; FailedCapacities=$failedCapacityCount"
Write-Host "Export saved to: $outputFile"
if ($failedSubscriptionCount -gt 0 -or $failedCapacityCount -gt 0) {
throw "A-SKU export incomplete. The saved file contains only the data captured successfully. Resolve the warnings above and rerun before relying on this inventory or deleting capacities."
}
if ($exportData.Count -eq 0) {
Write-Host "No A-SKU capacities found in the accessible subscriptions."
}
Write-Host "Export complete for all $($subscriptions.Count) accessible subscriptions."
5.2 Save Non-Trial Capacity Settings & Workspace Mappings
Customer (Fabric Admin) runs this before migration. This script excludes trial capacities and PPU capacities. Manually record trial-capacity settings and workspace mappings before cancelling trials in Stage 1.
# ============================================
# Run this script in Windows PowerShell 5.1 with the Az module to save non-trial capacity settings and workspace mappings to a local JSON file
# Running with PowerShell 7 may fail
# Need at least Fabric Administrator role
# Change $outputFile to your path
# Run "Get-InstalledModule -Name Az", if your Az version is not 15.0.0 or above, run "Update-Module -Name Az" to update
# If you do not have Az installed, run "Install-Module -Name Az" to install necessary modules,
# ============================================
# Connect to Azure Cloud
Connect-AzAccount -Environment AzureCloud
$accessToken = (Get-AzAccessToken -AsSecureString -ResourceUrl "https://analysis.windows.net/powerbi/api").Token
$ptr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($accessToken)
try {
$accessToken = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ptr)
} finally {
[System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ptr)
}
# Output file path, change to your path to save the exported data
$outputFile = "C:\Users\xxxxx\CapacityWorkspaceMap.json"
# Define headers
$headers = @{
"Authorization" = "Bearer $accessToken"
"Content-Type" = "application/json"
}
# Rate limit delay (200 calls/hour = 1 call every 18 seconds)
$rateLimitDelay1 = 20
$rateLimitDelay2 = 75
# Function to get all capacities with pagination and rate limiting
function Get-AllCapacities {
$capacities = @()
$url = 'https://api.powerbi.com/v1.0/myorg/admin/capacities'
do {
$response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get
$capacities += $response.value
$url = $response.'@odata.nextLink'
Start-Sleep -Seconds $rateLimitDelay1
} while ($url)
return $capacities
}
# Function to get all workspaces with pagination and rate limiting
function Get-AllWorkspaces {
$workspaces = @()
$top = 1000
$skip = 0
do {
$url = "https://api.powerbi.com/v1.0/myorg/admin/groups?`$top=$top&`$skip=$skip"
Write-Host "Calling: $url"
$response = Invoke-RestMethod -Uri $url -headers $Headers -Method Get
$batch = $response.value
$workspaces += $batch
$skip += $top
Start-Sleep -Seconds $rateLimitDelay2
}
while ($batch.Count -gt 0)
return $workspaces
}
# Exclude Premium Per User & Fabric Trial Capacities
$capacities = Get-AllCapacities | Where-Object { $_.sku -ne "PP3" -and $_.sku -notlike "FT*" }
$allWorkspaces = Get-AllWorkspaces
# Group workspaces by capacityId, saving only workspace IDs and full capacity metadata
$groupedData = @()
foreach ($capacity in $capacities) {
$capacityId = $capacity.id
$workspaceIds = ($allWorkspaces | Where-Object { $_.capacityId -eq $capacityId }).id
$groupedData += [PSCustomObject]@{
CapacityId = $capacityId
CapacityName = $capacity.displayName
Metadata = $capacity
WorkspaceIds = $workspaceIds
}
}
# Output to JSON
$groupedData | ConvertTo-Json -Depth 10 | Out-File -FilePath $outputFile -Encoding utf8
Write-Host "`nData exported to: $outputFile"
5.3 Confirm All Dedicated Capacities Have Been Deleted
Customer (Fabric Admin) runs this before migration. A successful check with no dedicated capacities reports No capacities found; PPU capacities are excluded. Authentication, API, or response-validation failures stop the script without confirming that capacities have been deleted. Resolve any error and rerun the check.
# ============================================
# Run this script in Azure PowerShell to check capacities in your tenant
# Need at least Fabric Administrator role
# Please use default PowerShell v5.1 to run the script, running with PowerShell v7.0 may fail
# Run "Install-Module -Name MicrosoftPowerBIMgmt" to install necessary modules
# ============================================
# SIGN INTO POWER BI PROD, WITH AT LEAST FABRIC ADMIN ROLE
# Connect-PowerBIServiceAccount -Environment Public (This should also work)
Connect-PowerBIServiceAccount -ErrorAction Stop
# Call ADMIN CAPACITIES API
$capacities = Invoke-PowerBIRestMethod -Url "admin/capacities" -Method GET -ErrorAction Stop | ConvertFrom-Json -ErrorAction Stop
if ($null -eq $capacities -or $capacities.value -isnot [System.Array]) {
throw "Capacity verification failed: the API response did not contain a valid capacity list. No deletion status has been confirmed."
}
# Exclude Premium Per User (PPU) capacities AKA PP3
$filteredCaps = @($capacities.value | Where-Object { $_.sku -ne "PP3" })
if ($filteredCaps.Count -eq 0) {
Write-Output "No capacities found"
}
else {
Write-Output "Capacities found:"
$filteredCaps | Select-Object displayName, sku
Write-Output "`nPlease back up configurations and delete them before migration"
}
5.4 Reprovision A-SKU Capacities
Customer (Fabric Admin) runs this after migration using A_CapacityMap.json captured with Script 5.1 - Save A-SKU Capacity Settings. The script reports created, existing, and failed capacity counts and reports an incomplete result if any subscription selection, resource lookup, or creation fails.
By default, the script recreates each capacity in the original region saved in its Region field; it does not automatically use the tenant's new home region. If you intend to change a capacity's region, update its Region value in the mapping file before running this script. Confirm that the intended workspace placements meet the model-conversion requirements in section 6.
# ============================================
# Create capacities based on A_CapacityMap.json
# Need to manually set at least one capacity administrator for each capacity
# Need Azure subscription contributor role
# Change $jsonFilePath
# Run "Install-Module -Name Az" first to install necessary modules
# Please use default PowerShell v5.1 to run the script, running with PowerShell v7.0 may fail
# ============================================
# Connect to Azure Cloud
Write-Host "Connecting to Azure Prod Cloud"
Connect-AzAccount -Environment AzureCloud
# Change jsonFilePath to your path
$jsonFilePath = "C:\Users\xxxxx\A_CapacityMap.json"
$capacityMap = Get-Content -Raw -Path $jsonFilePath | ConvertFrom-Json
$createdCount = 0
$existingCount = 0
$failedCount = 0
foreach ($item in $capacityMap) {
$subscriptionId = $item.SubscriptionId
$name = $item.CapacityName
$region = $item.Region
$sku = $item.Sku
$resourceGroup = $item.ResourceGroup
Write-Host "`n=============================="
Write-Host "Creating capacity $name ($sku, $region)"
Write-Host "Subscription: $subscriptionId"
Write-Host "Resource group: $resourceGroup"
Write-Host "=============================="
try {
Set-AzContext -SubscriptionId $subscriptionId -ErrorAction Stop | Out-Null
$existing = Get-AzResource -ResourceType "Microsoft.PowerBIDedicated/capacities" `
-ResourceGroupName $resourceGroup `
-ErrorAction Stop |
Where-Object { $_.Name -eq $name }
if ($existing) {
$existingCount++
Write-Host "Existing: $name"
continue
}
New-AzPowerBIEmbeddedCapacity -ResourceGroupName $resourceGroup `
-Name $name `
-Location $region `
-Sku $sku `
-ErrorAction Stop | Out-Null
$createdCount++
Write-Host "Created: $name"
} catch {
$failedCount++
Write-Warning "Provisioning failed for capacity '$name' in subscription '$subscriptionId': $($_.Exception.Message)"
continue
}
}
Write-Host "`nCapacity provisioning results: Created=$createdCount; Existing=$existingCount; Failed=$failedCount"
if ($failedCount -gt 0) {
throw "Capacity provisioning incomplete: $failedCount capacities failed. Resolve the warnings above and rerun the script."
}
5.5 Reassign Workspaces Back to Capacities (Batch)
Customer (Fabric Admin) runs this after migration using CapacityWorkspaceMap.json captured with Script 5.2 - Save Non-Trial Capacity Settings & Workspace Mappings. Each mapped name must match exactly one new capacity. Preserve names or update the mapping file; missing or duplicate matches are recorded as failures rather than assigned arbitrarily. This file excludes trials: use the manual Stage 1 inventory to reassign former trial workspaces manually. Failed or skipped assignments are saved under Logs beside the mapping file, and the script reports an incomplete result.
# ============================================
# Assign capacity back to workspaces based on CapacityWorkspaceMap.json
# Uses Admin API: POST /admin/capacities/AssignWorkspaces
# Batch size: 100 workspaces per request
# Rate limit: 200 requests per hour (per tenant)
# Adds: automatic retries for failed batches (exponential backoff + jitter)
# ============================================
# Connect to Power BI
# Connect-PowerBIServiceAccount -Environment Public (This should also work)
Connect-PowerBIServiceAccount
$jsonFilePath = "C:\Users\xxxxx\CapacityWorkspaceMap.json"
$capacityMap = Get-Content -Raw -Path $jsonFilePath | ConvertFrom-Json
$allCapacities = Get-PowerBICapacity -Scope Organization
# --- Controls ---
$batchSize = 100
# Admin endpoint limit: 200/hour for POST /admin/capacities/AssignWorkspaces
$maxRequestsPerHour = 200
$windowSeconds = 3600
$requestTimestamps = New-Object System.Collections.Generic.List[DateTime]
# Retry controls
$maxRetries = 5
$baseBackoffS = 5 # base delay seconds for retry backoff
# Track permanently failed batches for follow-up
$failedBatches = New-Object System.Collections.Generic.List[object]
function Enforce-RateLimit {
param(
[int]$MaxPerHour,
[int]$WindowSeconds,
[System.Collections.Generic.List[DateTime]]$Timestamps
)
$now = Get-Date
# prune timestamps outside rolling window
for ($i = $Timestamps.Count - 1; $i -ge 0; $i--) {
if (($now - $Timestamps[$i]).TotalSeconds -ge $WindowSeconds) {
$Timestamps.RemoveAt($i)
}
}
if ($Timestamps.Count -ge $MaxPerHour) {
$oldest = ($Timestamps | Sort-Object)[0]
$sleepFor = [Math]::Ceiling(($WindowSeconds - ($now - $oldest).TotalSeconds) + 1)
if ($sleepFor -gt 0) {
Write-Host "Rate limit hit ($($Timestamps.Count)/$MaxPerHour in last hour). Sleeping $sleepFor seconds..."
Start-Sleep -Seconds $sleepFor
}
}
}
function Invoke-AssignBatchWithRetry {
param(
[string]$CapacityName,
[string]$CapacityId,
[string[]]$WorkspaceBatch,
[int]$MaxRetries,
[int]$BaseBackoffSeconds,
[int]$MaxPerHour,
[int]$WindowSeconds,
[System.Collections.Generic.List[DateTime]]$Timestamps
)
$attempt = 0
$lastErr = $null
while ($attempt -le $MaxRetries) {
# Enforce hourly throttling before each attempt
Enforce-RateLimit -MaxPerHour $MaxPerHour -WindowSeconds $WindowSeconds -Timestamps $Timestamps
$bodyObj = @{
capacityMigrationAssignments = @(
@{
targetCapacityObjectId = $CapacityId
workspacesToAssign = @($WorkspaceBatch)
}
)
}
$bodyJson = $bodyObj | ConvertTo-Json -Depth 6
try {
Write-Host "AssignWorkspaces attempt $($attempt+1)/$($MaxRetries+1) | Capacity: $CapacityName | BatchSize: $($WorkspaceBatch.Count)"
Invoke-PowerBIRestMethod -Url "admin/capacities/AssignWorkspaces" -Method Post -Body $bodyJson | Out-Null
$Timestamps.Add((Get-Date)) # count the request (successful)
return $true
}
catch {
$lastErr = $_.Exception.Message
$Timestamps.Add((Get-Date)) # count the request (failed also consumes quota in practice)
Write-Warning "Batch failed (attempt $($attempt+1)): $lastErr"
}
$attempt++
if ($attempt -le $MaxRetries) {
# exponential backoff + jitter
$backoff = [Math]::Min(600, ($BaseBackoffSeconds * [Math]::Pow(2, ($attempt - 1))))
$jitter = Get-Random -Minimum 0 -Maximum 6
$sleepS = [int]($backoff + $jitter)
Write-Host "Retrying batch after $sleepS seconds..."
Start-Sleep -Seconds $sleepS
}
}
# Exhausted retries
$failedBatches.Add([pscustomobject]@{
CapacityName = $CapacityName
CapacityId = $CapacityId
WorkspaceIds = @($WorkspaceBatch)
Error = $lastErr
FailedAt = (Get-Date).ToString("s")
}) | Out-Null
return $false
}
foreach ($item in $capacityMap) {
$oldCapacityName = $item.CapacityName
$workspaceIds = $item.WorkspaceIds
if ($workspaceIds -is [string]) { $workspaceIds = @($workspaceIds) }
if (-not $workspaceIds -or $workspaceIds.Count -eq 0) { continue }
$matchingCapacities = @($allCapacities | Where-Object { $_.DisplayName -eq $oldCapacityName })
if ($matchingCapacities.Count -ne 1) {
$message = "Expected exactly one capacity named '$oldCapacityName'; found $($matchingCapacities.Count). Update capacity names or the mapping file before retrying."
Write-Warning $message
$failedBatches.Add([pscustomobject]@{
CapacityName = $oldCapacityName
CapacityId = $null
WorkspaceIds = @($workspaceIds)
Error = $message
FailedAt = (Get-Date).ToString("s")
}) | Out-Null
continue
}
$newCapacity = $matchingCapacities[0]
Write-Host "Processing Capacity: $oldCapacityName (New ID: $($newCapacity.Id))"
for ($i = 0; $i -lt $workspaceIds.Count; $i += $batchSize) {
$end = [Math]::Min($i + $batchSize - 1, $workspaceIds.Count - 1)
$batch = $workspaceIds[$i..$end]
$ok = Invoke-AssignBatchWithRetry `
-CapacityName $oldCapacityName `
-CapacityId "$($newCapacity.Id)" `
-WorkspaceBatch @($batch) `
-MaxRetries $maxRetries `
-BaseBackoffSeconds $baseBackoffS `
-MaxPerHour $maxRequestsPerHour `
-WindowSeconds $windowSeconds `
-Timestamps $requestTimestamps
if ($ok) {
Write-Host "Batch completed: $($i / $batchSize + 1)"
}
else {
Write-Warning "Batch permanently failed after retries: Capacity=$oldCapacityName | Index=$i..$end"
}
}
}
# Record failed batches and skipped mappings for follow-up
if ($failedBatches.Count -gt 0) {
$logDirectory = Join-Path (Split-Path -Parent $jsonFilePath) "Logs"
New-Item -ItemType Directory -Path $logDirectory -Force -ErrorAction Stop | Out-Null
$failedPath = Join-Path $logDirectory "AssignWorkspaces-FailedBatches-$(Get-Date -Format 'yyyyMMdd-HHmmss').json"
ConvertTo-Json -InputObject @($failedBatches.ToArray()) -Depth 6 | Out-File -FilePath $failedPath -Encoding UTF8 -ErrorAction Stop
throw "Workspace reassignment incomplete: $($failedBatches.Count) failed batches or skipped mappings. Saved details to: $failedPath"
} else {
Write-Host "All batches completed successfully."
}
5.6 Reassign Workspaces Back to Capacities (Single)
Customer (Fabric Admin) runs this after migration using CapacityWorkspaceMap.json captured with Script 5.2 - Save Non-Trial Capacity Settings & Workspace Mappings. Each mapped name must match exactly one new capacity. Preserve names or update the mapping file; missing or duplicate matches are skipped with a warning and must be resolved before retrying. Reassign former trial workspaces manually using the Stage 1 inventory. This assigns workspaces one by one; be aware of the API limit of 200 calls per hour.
# ============================================
# Assign capacity (excludes Fabric Trial) back to workspaces one-by-one based on CapacityWorkspaceMap.json
# Change $jsonFilePath
# Need at least Fabric Administrator role
# Run "Install-Module -Name MicrosoftPowerBIMgmt" to install necessary modules
# Please use default PowerShell v5.1 to run the script, running with PowerShell v7.0 may fail
# ============================================
# === Step 1: Sign in to Power BI as admin user and load capacity workspace mappings ===
# Connect-PowerBIServiceAccount -Environment Public (This should also work)
Connect-PowerBIServiceAccount
# Change jsonFilePath to your path
$jsonFilePath = "C:\Users\xxxxx\CapacityWorkspaceMap.json"
$capacityMap = Get-Content -Raw -Path $jsonFilePath | ConvertFrom-Json
# === Step 2: Get all capacities in tenant ===
$allCapacities = Get-PowerBICapacity -Scope Organization
# === Step 3: Get capacity workspace mappings ===
foreach ($item in $capacityMap) {
$oldCapacityName = $item.CapacityName
$workspaceIds = $item.WorkspaceIds
# Convert format
if ($workspaceIds -is [string]) {
$workspaceIds = @($workspaceIds)
}
# Find new capacity with same name
$matchingCapacities = @($allCapacities | Where-Object { $_.DisplayName -eq $oldCapacityName })
if ($matchingCapacities.Count -ne 1) {
Write-Warning "Expected exactly one capacity named '$oldCapacityName'; found $($matchingCapacities.Count). Update capacity names or the mapping file before retrying."
continue
}
$newCapacity = $matchingCapacities[0]
Write-Host "Processing Capacity: $oldCapacityName (New ID: $($newCapacity.Id))"
# === Step 4: assign workspace to capacity one by one ===
foreach ($wsId in $workspaceIds) {
try {
Write-Host "Assigning Workspace [$wsId] to Capacity [$oldCapacityName]..."
Set-PowerBIWorkspace -Id $wsId -CapacityId $newCapacity.Id -Scope Organization
Write-Host "Completed"
} catch {
Write-Warning "Failed:$($_.Exception.Message)"
}
}
}
6. Tenant Migration & Workspace Migration
This section applies when a workspace's destination capacity region differs from its original capacity region, regardless of the new tenant home region. Consider a workspace (WS1) on a capacity in Region1 before migration that you want to assign to a capacity in Region2 afterward. Convert all semantic models in WS1 that use large storage format to small storage format before deleting the original capacity. Models returning to their original capacity region do not require conversion for ATM. Conversion can be done via:
- UI: for each semantic model, toggle
Large semantic model storage formatoff. - API: for each semantic model, update
targetStorageModefromPremiumFilestoAbf. This API works only for shared workspaces, not personal workspaces.
API request throttling: If you use the API to flip models, send no more than 10 flipping requests within any one-minute period. Apply this limit across the model-flipping requests in your automation, not separately for each model.
# === Switch a single semantic model from large storage format (PremiumFiles) to small storage format (Abf) ===
# === Will not work on a personal workspace ===
# === Will not work if semantic model ≥ 10 GB ===
Connect-PowerBIServiceAccount
$workspaceID = "368da6e4-2366-4152-9d4b-4048d8d93da5"
$datasetID = "e3204660-3e98-4c54-810d-02cbe2d88f95"
$body = @{targetStorageMode = "Abf"} | ConvertTo-Json
Invoke-PowerBIRestMethod `
-Method Patch `
-Url "groups/$workspaceId/datasets/$datasetID" `
-Body $body `
-ContentType "application/json"
You cannot convert models ≥ 10 GB to small storage format. First reduce them to below 10 GB, or back them up, delete them, and plan to republish them after migration. Once all remaining models in WS1 use small storage format, delete the original capacity at the appropriate time in Stage 1 or Stage 3, complete tenant migration, provision a capacity in Region2, and reattach WS1. Completed flips and shrinks require no additional waiting period before Stage 3 at the agreed anchor start time, provided all other preparation requirements and their waiting periods are satisfied.
If any models remain in large storage format, regardless of size, WS1 must initially return to a capacity in Region1 after migration. Assigning it directly to Region2 will make content inaccessible. To recover, put WS1 on a suitable dedicated capacity in Region1, shrink models ≥ 10 GB to below 10 GB (or back them up and delete them for later republishing), convert all remaining models to small storage format, then reassign WS1 to a dedicated capacity in Region2. This does not require deleting the capacity in Region2.
7. Migration Risks ⚠️
Common pitfalls during ATM that customers should pay close attention to.

7.1 Workspace deletion before Fabric artifact deletion (before migration)
Workspace deletion is not required before tenant migration. However, if you choose to delete a workspace, you need to delete the Fabric artifacts in that workspace before deleting the workspace. If you delete the workspace first, the Fabric artifacts go into a soft-delete state for 30 days. Soft-deleted Fabric artifacts will block your tenant migration. To remedy this issue, you will need Microsoft's assistance to resurrect those workspaces. You must then reattach those workspaces to a dedicated capacity and delete the Fabric artifacts, after which you are free to delete the workspaces.
7.2 Fabric artifacts not deleted before capacity deletion (before migration)
Before capacity deletion, which triggers workspace migration back to shared capacity, all Fabric artifacts need to be deleted. Failure to first delete the Fabric artifacts results in those Fabric artifacts going into a soft-delete state for 30 days. Soft-deleted Fabric artifacts will block your tenant migration. Even with the tenant setting disabled, some Fabric artifacts can be auto-created under the hood. Ensure all Fabric artifacts are deleted before you delete your capacities. Otherwise, put the parent workspace back on a capacity (in the same region it was before) then hard-delete all Fabric artifacts. You can also give permission to Microsoft to delete any lingering Fabric artifacts that would otherwise block your tenant migration.
7.3 Workspace Migration Before Capacity Deletion (Before Migration)
Before tenant migration, delete dedicated capacities rather than manually detaching their workspaces. Moving workspaces to per-user license mode and deleting capacities before that move completes can leave workspaces and semantic models orphaned, blocking migration. Microsoft must repair any affected workspaces and semantic models. Cancel trials at least 48 hours before the anchor start time, after deleting trial-hosted Fabric artifacts and completing required trial-model preparation, and delete non-trial capacities at the anchor start time. Required production-model flips and shrinks can finish immediately before Stage 3; once complete, they add no waiting period, provided all other prerequisites are satisfied.
7.4 Workspaces Back on Capacities in a Different Region (After Migration)
If a workspace still contains semantic models in large storage format after migration, assign it to a dedicated capacity in its original capacity region to restore access. Use an existing suitable capacity there or provision one if needed; you do not need to delete the incorrectly located capacity, which may host other workspaces. To subsequently move the affected workspace to a different capacity region, shrink models ≥ 10 GB to below 10 GB and convert all models in large storage format to small storage format while the workspace is on the original-region capacity, then reassign the workspace. See section 6.
7.5 Forgetting to Delete Capacities (Before Migration)
Before migration, customers can forget to delete their dedicated capacities. If this happens, the customer will miss their scheduled migration window, and we will need to reschedule the migration. You can also request that Microsoft delete your dedicated capacities before migration. Please note that Microsoft cannot reprovision new capacities after migration - the customer must do that. If you ask Microsoft to delete your capacities, ensure you have a Fabric admin ready to reprovision them after your migration is complete.
Back to Top