I have a B1MS Postgresql server which I have had for a few years on my subscription, I am being billed, but it is not visible on my Azure dashboard or in the CLI, but I can see it in usage and of course billing.

Charles Hunt 20 Reputation points
2026-08-25T11:34:28.9066667+00:00

I have had a B1MS postgresql server for about 3 years and the project it was assigned to has been on hold for a while. I have been getting reminders from MS that the version of the database will soon be EOL and will need extended support to continue using it. However, I am unsable to see it on the Azure control surface or see it on the CLI.

I can see usage entries for the most recent period:

az consumption usage list --start-date 2026-08-01 --end-date 2026-08-31 -o table --query "[?product != null && starts_with(product, 'Azure Database for PostgreSQL Flexible Server Burstable BS Series Compute - B1MS - UK South')]"

But if I try and see it using az resource I get nothing.

az resource list --all --query "[?type=='Microsoft.DBforPostgreSQL/flexibleServers'].[name,resourceGroup,location,id]" -o table

The resource is also no where to be found on the azure web based console. Since extra charges are coming and I no longer need it, I would like to upgrade it or perhaps even remove it. I have tried all morning to try and get to the bottom of this but I cannot seem to get a handle on it. Although I did manage to download an XLSX from the billing feature, and I do have the ResourceId.

The resourceId looks like this (redacted):

/subscriptions/b11a4084-XXX-XXX-XXX-XXXXX67/resourcegroups/rg_XXXXXXXXXXXX_cloud/providers/microsoft.dbforpostgresql/flexibleservers/XXXpostgresql02

Update: I managed to find a link to the resource, but I get a Resource not found : 404.

I need a way to remove it from the billing system ASAP!

I would really appreciate any help, I have tried raising a ticket but get sent in a circular path because I only have a basic Azure subscription.

Azure Database for PostgreSQL

Answer accepted by question author
TP 163.1K Reputation points Volunteer Moderator
2026-08-25T15:22:45.28+00:00

Hi Charles,

1. Have you checked Activity log to see if you previously deleted your server, but for some reason billing is "stuck"? Please keep in mind Activity Log only goes back 90 days by default.

2. Does the resource group "rg_XXXXXXXXXXXX_cloud" still exist?

To check Activity log, please navigate to below link:

https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/activityLog

At the top, click Add filter, select Resource type, click on dropdown to choose types, wait for it to populate, then enter postgre in filter box. Select Azure Database for PostgreSQL flexible servers

User's image

At the top, click on TImespan, select Custom, click on Start time and change it to 90 days in the past (e.g. 2026-05-28), click Apply

User's image

In the results, look for Delete PostgreSQL server operation, similar to below:

User's image

If you find entry where you deleted the server, take screenshots of details and download activity log to csv file so that you can provide these to billing support engineer. Open .csv file in Notepad and make sure it has entries you expect so that you keep them for your records.

I can provide you with instructions for creating billing support case to avoid endless loop if necessary. First I want to see if we can delete your server or if it was already deleted.

Please reply back with answer to my question and whether or not you found evidence that the server was deleted in the past.

Thanks.

-TP

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Newest
  1. Himaja Y 375 Reputation points Microsoft External Staff Moderator
    2026-08-26T15:27:03.21+00:00

    Hi @Charles Hunt ,

    Thank you for the update.

    To help narrow down the cause, could you please check the following:

    1. Does the resource group referenced in the Resource ID (rg_XXXXXXXXXXXX_cloud) still exist?
    2. Have you reviewed the Azure Activity Log for any Delete PostgreSQL Server operations within the last 90 days?

    You can filter the Activity Log by Azure Database for PostgreSQL Flexible Server and review any delete events. If a deletion is found, please save the activity details, as they will be helpful when working with Azure Billing Support.

    If no deletion record exists and the resource still generates charges while returning a 404 Resource Not Found error, this may indicate a backend resource or billing inconsistency that requires investigation by Microsoft Support.

    Please let us know what you find, and we'll be happy to assist further.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

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