Skip to content

Commit 0c4b7da

Browse files
Merge pull request #290050 from jojohpm/docs-editor/tutorial-improved-exports-1730942414
Update tutorial-improved-exports.md
2 parents 93d39b9 + 7410ee5 commit 0c4b7da

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

articles/cost-management-billing/costs/tutorial-improved-exports.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ For Azure Storage accounts:
4040
- Your Azure storage account must be configured for blob or file storage.
4141
- Don't configure exports to a storage container that is configured as a destination in an [object replication rule](../../storage/blobs/object-replication-overview.md#object-replication-policies-and-rules).
4242
- To export to storage accounts with configured firewalls, you need other privileges on the storage account. The other privileges are only required during export creation or modification. They are:
43-
- Owner role on the storage account.
44-
Or
45-
- Any custom role with `Microsoft.Authorization/roleAssignments/write` and `Microsoft.Authorization/permissions/read` permissions.
46-
Additionally, ensure that you enable [Allow trusted Azure service access](../../storage/common/storage-network-security.md#grant-access-to-trusted-azure-services) to the storage account when you configure the firewall.
43+
- **Owner** role or any custom role with `Microsoft.Authorization/roleAssignments/write` and `Microsoft.Authorization/permissions/read` permissions.
44+
45+
- Additionally, ensure that you enable [Allow trusted Azure service access](../../storage/common/storage-network-security.md#grant-access-to-trusted-azure-services) to the storage account when you configure the firewall.
4746
- The storage account configuration must have the **Permitted scope for copy operations (preview)** option set to **From any storage account**.
4847
:::image type="content" source="./media/tutorial-export-acm-data/permitted-scope-copy-operations.png" alt-text="Screenshot showing From any storage account option set." lightbox="./media/tutorial-export-acm-data/permitted-scope-copy-operations.png" :::
4948

@@ -211,9 +210,25 @@ You can retrieve up to 13 months of historical data through the portal UI for al
211210
- All available prices:
212211

213212
- MCA/MPA: Up to 13 months.
214-
213+
215214
- EA: Up to 25 months (starting from December 2022).
216-
215+
216+
#### Why do I get the 'Unauthorized' error while trying to create an Export?
217+
218+
When attempting to create an Export to a storage account with a firewall, the user must have the Owner role or a custom role with `Microsoft.Authorization/roleAssignments/write` and `Microsoft.Authorization/permissions/read` permissions. If these permissions are missing, you will encounter an error like:
219+
220+
221+
```json
222+
{
223+
"error":{
224+
"code":"Unauthorized",
225+
"message":"The user does not have authorization to perform 'Microsoft.Authorization/roleAssignments/write' action on specified storage account, please use a storage account with sufficient permissions. If the permissions have changed recently then retry after some time."
226+
}
227+
}
228+
```
229+
230+
You can check for the permissions on the storage account by referring to the steps in [Check access for a user to a single Azure resource](../../role-based-access-control/check-access.md).
231+
217232
## Next steps
218233

219234
- Learn more about exports at [Tutorial: Create and manage exported data](tutorial-export-acm-data.md).

0 commit comments

Comments
 (0)