An Azure relational database service.
Hello tashi-04,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your Microsoft.DataMigration Resource Provider Stuck in "Registering" State Across Multiple Subscriptions.
It is failing because the Azure pre-upgrade validation detected one or more blocking conditions, most commonly unsupported extensions, incompatible entries in shared_preload_libraries, read replicas, pending restart-required parameter changes, logical replication objects, or authentication requirements for certain source versions. . - https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-major-version-upgrade
What you can do is to remove or remediate every blocker reported by the upgrade validation log before retrying the upgrade. Do not retry the upgrade repeatedly without fixing the validation errors. First run upgrade validation, review the failed checks, remove unsupported preload libraries such as blocked extension modules, drop or upgrade incompatible extensions, delete read replicas if present, complete pending maintenance or restart-required operations, verify sufficient free storage, and then rerun validation. When validation passes, perform the in-place major version upgrade from the Azure portal or Azure CLI. - https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-major-version-upgrade, https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/how-to-perform-major-version-upgrade You can remediate upgrade-readiness issue, this is not a backend-only issue.
I hope this is helpful. Please! Do not hesitate to let me know if you have any other questions, steps or clarifications.
Please do not close the thread by upvoting and accepting the answer if any part of it is helpful.