Can't create a database in Azure

RogerSchlueter-7899 1,486 Reputation points
2025-08-25T07:00:28.3766667+00:00

The Azure portal accepts my login but when I try to create a database it indicates a problem arose when "attempting to retrieve access tokens". Trying to sign in again yields the same error. What can I do to resolve this problem?

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 23,931 Reputation points Volunteer Moderator
    2025-08-25T19:25:46.5+00:00

    Hello RogerSchlueter-7899,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you can't create a database in Azure due to error.

    This is a checklist to resolve the issues one after the order:

    1. Reproduce error and copy trace/correlation id + timestamp.
    2. Incognito / clear site data for portal & login endpoints.
    3. Temporarily allow third-party cookies for login.microsoftonline.com / portal.azure.com or use az login --use-device-code. - https://learn.microsoft.com/en-us/entra/identity-platform/reference-third-party-cookies-spas
    4. If on corp network, check firewall/proxy allowlist for Azure portal/AAD endpoints. - https://learn.microsoft.com/en-us/azure/azure-portal/azure-portal-safelist-urls
    5. Admin: check Entra sign-in logs and Conditional Access ‘What-If’. - https://learn.microsoft.com/en-us/entra/identity/conditional-access/troubleshoot-conditional-access
    6. If urgent, create DB via CLI/PowerShell (see commands above). - https://learn.microsoft.com/en-us/azure/azure-sql/database/scripts/create-and-configure-database-cli
    7. If unresolved, gather artifacts and open Microsoft support ticket via your Portal.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.