Microsoft Applied Skills: Configure and migrate to Azure Database for PostgreSQL
Hi,
I just tried to take the 'Microsoft Applied Skills: Configure and migrate to Azure Database for PostgreSQL' assessment and failed. The first step in the assessment is to create an Azure PostgreSQL Flexible Server - I couldn't complete this task because the supplied credentials I was given to use did not have sufficient permissions to register the Resource Provider (Microsoft.DBforPostgreSQL) so I could not proceed beyond this point.
I waited a few minutes and tried to re-register the resource provider but no go.
Please fix this Microsoft.
Thanks
Azure Database for PostgreSQL
-
Mahin Ahmad • 10 Reputation points
2025-10-01T15:04:06.6733333+00:00 Screenshot 2025-10-01 204900.png
I have the same problem. I followed the condition, stayed in the same resource group RG1 as per instruction.
Also did you manage to login to the local postgres server? I found the database name but not the login info...
-
Mahin Ahmad • 10 Reputation points
2025-10-01T15:05:16.5633333+00:00 I have the same problem. I followed the instructions, stayed in the same resource group RG1.
...Also did you manage to login to the local postgres server? I found the database name but not the login info.
-
Paul Lynch • 16 Reputation points
2025-10-01T18:18:11.4233333+00:00 No, I gave up when the PostgreSQL Database deployment failed. I didn't see any point in continuing after that point.
-
Swapnesh Panchal • 740 Reputation points • Microsoft External Staff • Moderator
2025-10-02T20:59:25.74+00:00 Hi Paul Lynch,
Welcome to the Microsoft Q&A Platform.
What you’re hitting is a permission boundary in the Applied Skills sandbox. The lab subscription gives you Contributor on a temporary subscription, but registering a resource provider (Microsoft.DBforPostgreSQL) requires Owner or a subscription-level role you don’t get in the sandbox. That’s whyRegisterkeeps failing and you can’t proceed with creating a Flexible Server.Quick things to try (sometimes fixes a mis-provisioned sandbox):
End the sandbox and start a fresh one (wait ~2–3 minutes before re-starting).
After it comes up, run (read-only) to confirm state:
az account show --query id -o tsvaz provider show -n Microsoft.DBforPostgreSQL --query "registrationState"If it isn’t “Registered”, you won’t be able to proceed. If a fresh sandbox still isn’t pre-registered, that’s on the lab setup and needs a fix. in this case, please provide required details in private message. -
Paul Lynch • 16 Reputation points
2025-10-04T14:36:59.87+00:00 Hi,
I tried to re-register the resource provider but it is still failing. The problem with your advice to end the sandbox is that you have to wait 72 hours to try again. That's not really a viable solution I'm afraid.
-
Paul Lynch • 16 Reputation points
2025-10-04T14:37:47.1833333+00:00 -
Masood Ahmad Mohammed Ishaq • 11 Reputation points2025-10-06T11:43:14.44+00:00 I have the same problem, tried twice once on 3rd and one today the issues is same "AuthorizationFailed" and it still exists. Can we please get this fixed and ensure the users have enough rights to perform the tasks
-
Curtis Kan • 5 Reputation points
2025-10-09T06:05:03.19+00:00 I also ran into a similar issue, and have attempted the assessment twice in the span of 4 days (after waiting for the 72 hour cooldown). I have tried reregistering, reloading the VM, running different CLI commands. None of it works.
I am trying to complete this before Oct. 13 for the sweepstakes entry, so if there can be a solution before then that would be great. Private messages take a business day or two between communications.
-
Mahin Ahmad • 10 Reputation points
2025-10-09T06:22:53.7333333+00:00 @Paul Lynch Hey man,
Can you please convert your answer to a comment? So that more people can know that this is unresolved? Look for a 3-dot button under your answer...
-
Paul Lynch • 16 Reputation points
2025-10-11T12:52:11.0966667+00:00 I just tried the assessment again and it is still failing for the same reason.
-
Paul Lynch • 16 Reputation points
2025-10-14T12:54:04.16+00:00 Tried again - quit after waiting over 50 minutes for the Resource Provider to finish registering. This Applied Skill lab is truly broken.
-
Swapnesh Panchal • 740 Reputation points • Microsoft External Staff • Moderator
2025-10-16T22:32:14.21+00:00 Hi Paul Lynch,
Thanks for all the screenshots and for sticking with it.What’s happening
The Applied Skills sandbox gives you Contributor on a temporary subscription. Creating an Azure Database for PostgreSQL (Flexible Server) forces the platform to register the providerMicrosoft.DBforPostgreSQLat the subscription scope. That action needs Owner (or a custom role with*/register/action). Because the lab subscription isn’t pre-registered and you don’t have that permission, the implicit register call fails withAuthorizationFailed, exactly as your toasts show.What you can verify quickly
- In the portal: Subscription → Resource providers → search “postgres”.
Microsoft.DBforPostgreSQL(and sometimesNeon.Postgres) must show Registered. If it’s NotRegistered or stuck on Registering and pops the same error, it’s a permission boundary, not something you can fix inside the lab. - CLI check (read-only):
az provider show -n Microsoft.DBforPostgreSQL --query registrationState -o tsvAnything other thanRegisteredin this sandbox means the same issue.
Practical ways forward
- End the sandbox and start a fresh one. Wait ~2–3 minutes after the portal loads, then check Resource providers first. Only proceed if you see Registered.
- If you hit the 72-hour cooldown or it keeps failing, share these in the thread so we can route it to the Applied Skills team: • Sandbox subscription ID • Time of your attempt (UTC) • Screenshot of the Resource providers page showing the status • The exact lab name (“Microsoft Applied Skills: Configure and migrate to Azure Database for PostgreSQL”)
Why this isn’t an analytics/DB issue
The failure occurs before the server deployment. It’s the subscription’s ability to register the provider, not anything you set on the resource group, network, or the PostgreSQL parameters.I know this is frustrating—this one needs a fix in the lab provisioning (pre-register the provider on the sandbox subscription). Once the provider shows Registered, the create step should go through without needing any special rights from your side.
- In the portal: Subscription → Resource providers → search “postgres”.
-
Paul Lynch • 16 Reputation points
2025-10-17T16:07:10.85+00:00 Hi Swapnesh Panchal,
My Lab ID was : 55620188 and the time of the attempt was 15:00 UTC
The exact lab name is "Microsoft Applied Skills: Configure and migrate to Azure Database for PostgreSQL"
This time the resource provider for Postgresql registered successfully but unfortunately I hit another issue with the lab.
The primary task is to complete the migration of a PostgreSQL database from the VM to an Azure PostgreSQL Flexible Server.
The problem with this is that whilst we are given the credentials for the Azure PostgreSQL Flexible Server, we are not provided with the credentials to login to the PostgreSQL server running on the local VM.
I tried using the same password as the Azure PostgreSQL Database but that didn't work and then I tried to reset the password for the local PostgreSQL instance but I didn't have the necessary Admin privileges needed to do this.
So, I had no choice but to exit the lab once again.
-
Swapnesh Panchal • 740 Reputation points • Microsoft External Staff • Moderator
2025-10-17T19:07:46.47+00:00 If credentials for the local PostgreSQL instance are not provided, migration cannot proceed because admin rights are required to reset passwords or export data.
Other Possible Options
- Check Lab Guide for Hidden Credentials
- Sometimes the local PostgreSQL VM credentials are listed in the lab instructions or in the “Resources” section of the lab environment.
- Ask the customer to carefully review the lab guide or any pop-up messages when the VM starts.
- Use
psqlwith Default Credentials- Many Microsoft Learn labs use default PostgreSQL credentials like: Username: postgres Password: Pass@word1
- Suggest trying these defaults if not explicitly provided.
- Verify VM Access
- Confirm that the VM is fully provisioned and accessible via RDP or SSH.
- If the VM is stuck or inaccessible, restarting the lab might help.
- Check for Role Privileges
- If the customer can log in but lacks admin privileges, they can:
- Use
ALTER USERif they have superuser rights.
- Alternative Practice
- If the lab repeatedly fails, suggest using Azure free tier or their own VM for migration practice:
- Deploy a PostgreSQL instance locally.
- Use pg_dump and pg_restore or Azure Database Migration Service for migration.
- Check Lab Guide for Hidden Credentials
-
Swapnesh Panchal • 740 Reputation points • Microsoft External Staff • Moderator
2025-10-18T06:22:44.48+00:00 Just checking in, if you have any questions or need clarification, feel free to let us know. We’d be happy to continue the conversation
-
Paul Lynch • 16 Reputation points
2025-10-20T09:29:43.23+00:00 Hi - I read through all of the instructions, scenarios, emails, etc and I couldn't find any credentials for the local instance of PostgreSQL.
Could I ask you to do something ? If you are in touch with the team responsible for this Applied Skills lab, could you ask them if there have been any successful completions so far ? I can't imagine anyone has been able to complete this lab successfully without being able to access the local PostgreSQL database.
-
Mahin Ahmad • 10 Reputation points
2025-10-20T11:34:34.4+00:00 @Swapnesh Panchal bro,
I think you are not approaching this the right way. You are telling us to do this and that, try commands share outputs. But not once did you say that "huh, hello Paul, I just tried to open the lab myself, it works from my end. And I also found the password hidden between the lines :) "
I could not get myself to finish another learning path and applied skill; and missed the sweepstakes offer 50%, thats why a bit irritated :)
-
Paul Lynch • 16 Reputation points
2025-10-24T10:19:00.56+00:00 Ok, so I tried it again this morning. The resource provider not being registered issue has been resolved. The issue of not being able to actually access the local postgresql instance has now also been resolved (previously you couldn't even log in because it was asking you for a password that you didn't have !)
Now, when you try to run the migration from the 'on-premises' VM to the Azure PostgreSQL database you are not able to connect because the VM you are logged in to does not have a routable public IP address. This means that there is no possible route from the Azure PostgreSQL migration service to the PostgreSQL server hosted on the VM.
This lab is still broken and to add insult to injury they have now included a banner message when you start which says :
"This assessment is intentionally designed to reflect real-world, problem-solving scenarios where all necessary information might not be explicitly provided. While we understand the desire for step-by-step instructions, offering such guidance would compromise the authenticity and evaluative purpose of this summative assessment. Your ability to navigate ambiguity, make informed decisions, and apply critical thinking is a key part of what is being assessed."
No, Microsoft - having a PostgreSQL server install where the login credentials are hidden from the user (and where the user has no permission to re-set those credentials !) is not 'real world problem solving' it is just poor implementation.
-
Paul Lynch • 16 Reputation points
2025-10-27T18:15:57.3866667+00:00 This just goes from bad to worse. I just re-took this Applied Skill and actually passed it. I could see the congratulations message and my score (18/24) in the background whilst the dialog box in the foreground just spun indefinitely. After about 25 minutes I clicked close on the dialog box and I was taken back to the start and told that I am eligible to re-take the assessment in 72 hours.
I don't think I'll bother. I've had enough of this.
Also, there is yet ANOTHER bug in this lab. This one relates to the user account not having the necessary permissions to create a private endpoint or DNS zone in the subscription.
I've wasted a lot of time on this assessment for nothing.
-
Paul Lynch • 16 Reputation points
2025-10-27T20:00:49.9033333+00:00 Ok, so weirdly, after about an hour an e-mail comes through telling me that I've actually passed this Applied Skill assessment. The Microsoft Learn portal, which was telling me to wait 60 hours before trying again, has now updated to reflect that I passed.
This was much harder than it needed to be and I still maintain that there is a bug in the lab which prevents the creation of Private Endpoints.
I'm glad to have finally got through it though.
Sign in to comment