Added a note re CSP subs.

This commit is contained in:
Alexander (Sasha) Nosov
2025-04-01 18:22:45 -07:00
committed by GitHub
parent 87d68d8cae
commit 4aaa18f7f9
@@ -39,6 +39,8 @@ The script accepts the following command line parameters:
```PowerShell
Get-AzSubscription | Export-Csv .\mysubscriptions.csv -NoTypeInformation
```
> [!IMPORTANT]
> If you are setting License type to PAYG in the CSP subscription(s), the subscription resource must have a consent tag enabling perperual pay-as-you-go billing. Without the tag, the command will fail. The consent tag is `SQLPerpetualPaygBilling`:`Enabled` and can be adding using [Azure portal](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources-portal), [PowerShell](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources-powershell) or [CLI](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources-cli).
## Example 1