Skip to content

Commit e68a741

Browse files
authored
Merge pull request #2862 from nachoalonsoportillo/Query-is-not-supported-while-copying-data-to-blob-storage
Update troubleshooting errors for Azure Storage extension
2 parents 1371ca1 + c275f5c commit e68a741

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

articles/postgresql/flexible-server/troubleshoot-azure-storage-extension.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Troubleshoot the Azure Storage extension in Azure Database for PostgreSQL flexible server
33
description: Learn how to troubleshoot the Azure Storage extension in Azure Database for PostgreSQL flexible server to import and export data.
4-
author: akashraokm
5-
ms.author: akashrao
4+
author: nachoalonsoportillo
5+
ms.author: ialonso
66
ms.reviewer: maghan
77
ms.date: 06/26/2025
88
ms.service: azure-database-postgresql
@@ -17,33 +17,33 @@ ms.custom:
1717

1818
[!INCLUDE [applies-to-postgresql-flexible-server](~/reusable-content/ce-skilling/azure/includes/postgresql/includes/applies-to-postgresql-flexible-server.md)]
1919

20-
Following is the list of errors that the Azure Storage extension can return, and the reasons why, or the circumstances in which, they can be seen.
20+
Following is the list of errors that the Azure Storage extension can return, and the reasons why, or the circumstances in which, they can be raised.
2121

2222
### ERROR: azure_storage: Permission is not sufficient to perform requested operation
2323

24-
When executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) and the System Assigned Managed Identity isn't granted the adequate data plane roles or permissions (typically a minimum of **Storage Blob Data Contributor** for azure_storage.blob_put, and a minimum of **Storage Blob Data Reader** for the other two functions).
24+
Is raised when executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) and the System Assigned Managed Identity isn't granted the adequate data plane roles or permissions (typically a minimum of **Storage Blob Data Contributor** for azure_storage.blob_put, and a minimum of **Storage Blob Data Reader** for the other two functions).
2525

26-
It may also be the case that you have already granted the minimum required permissions but they aren't yet in effect. It can take a few minutes until those permissions get propagated.
26+
It may be the case that you already granted the minimum required permissions, but they aren't yet in effect. It can take a few minutes until those permissions propagate.
2727

2828
### ERROR: azure_storage: missing storage credentials
2929

30-
When executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) and the credentials with which you want the extension to authenticate with the storage account aren't registered using `azure_storage.account_add`.
30+
I raised when executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) and the credentials with which you want the extension to authenticate with the storage account aren't registered using `azure_storage.account_add`.
3131

3232
### ERROR: azure_storage: internal error while connecting
3333

34-
When the instance of flexible server can't reach the target storage account. That could happen in the following cases:
34+
Is raised when the instance of flexible server can't reach the target storage account. This situation can happen in the following cases:
3535
- The storage account doesn't exist.
3636
- Networking configuration doesn't allow traffic originated from the instance of flexible server to reach the storage account. For example, when the instance of flexible server is deployed with public access networking, and the storage account is only accessible via private endpoints.
3737

38-
When the System Assigned Managed Identity isn't enabled in the instance of flexible server.
38+
It can also be raised when the System Assigned Managed Identity isn't enabled in the instance of flexible server.
3939

40-
### ERROR: azure_storage: storage credentials invalid format
40+
### ERROR: azure_storage: current user <user_or_role> isn't allowed to use storage account <account_name>
4141

42-
When the System Assigned Managed Identity is enabled on the instance of flexible server, but the server hasn't been restarted after enabling it.
42+
Is raised when executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) with a user or role that isn't member of `azure_storage_admin` and isn't granted permissions, using `azure_storage.account_user_add`, to use the referred storage account.
4343

44-
### ERROR: azure_storage: current user <user_or_role> isn't allowed to use storage account <account_name>
44+
### ERROR: azure_storage: Query is not supported while copying data to blob storage
4545

46-
When executing any of the functions that interact with Azure Storage (`azure_storage.blob_list`, `azure_storage.blob_get` or `azure_storage.blob_put`) with a user or role that isn't member of `azure_storage_admin` and isn't granted permissions, using `azure_storage.account_user_add`, to use the referred storage account.
46+
Is raised when executing a COPY TO statement for which the source is a query. Azure Storage extension doesn't support this syntax. It only supports the syntax on which the source of the COPY TO be a relation. As a workaround, you can implement a view with the query as its definition, and rewrite the COPY TO statement to be sourced on the view.
4747

4848
## Related content
4949

0 commit comments

Comments
 (0)